-
Notifications
You must be signed in to change notification settings - Fork 19.6k
ChibiOS: add CIPHERWINGF4 (STM32F405) hwdef and bootloader #31408
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
The provided images really do not have a good enough silkscreen for each pads function to review, however a quick scan of the readme and hwdef, indicates that SBUS is notr supported...on an F4 it needs an timer interrupt input OR a separate pad that inverts SBUS before application to a UART setup with protocol 23 (and it should have full DMA to accommodate CRSF/ELRS RC in also). FYI, the UART protocol for SBUS is OUTPUT only, not input so cant be used for SBUS RCin. |
Added SBUS input support using a BSS138 inverter circuit connected to UART5_RX (PD2). The hardware schematic now includes an onboard BSS138 inverter between the SBUS pad and PD2. |
f3e57fe to
2be1eec
Compare
|
✅ All checks have passed (56 successful). I’ve addressed the previous SBUS inversion feedback by routing SBUS input through UART5_RX via BSS138 inverter, and confirmed successful ChibiOS and bootloader builds. and i will update all the silkscreenlayer notation for pad and pins to be easier to understand The board definition (CIPHERWINGF4) is stable and ready for final review. @Hwurzburg @peterbarker — kindly review and approve when possible. Thank you for your guidance throughout this process! |
|
@jeevesh326 when the new images are uploaded, I can review....ping me |
86948a6 to
7d69dc2
Compare
@Hwurzburg Please verify the pcb |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the new silkscreen has not BAT- pads, only BAT+
the vtx and cam rows have no labels for pads
the LED row has + and - pads...what are they? + should have its voltage labeled, and what is -? gnd?
once these are answered I can review...thanks
Hi @Hwurzburg Thanks for the feedback — this should make it easier to identify everything now. |
|
you can check the user manual @Hwurzburg |
|
add and use that pinout image from the user manual to this PR, please.... |




Summary
Add CIPHERWINGF4 (STM32F405) ChibiOS hardware definition — a customized OmnibusF4-style flight controller supporting INAV, PX4, and ArduPilot firmware.
This board features optimized UART mapping, onboard OSD (MAX7456), and optional BMI270/ICM20689 IMU support.
Hardware Overview
Notes
Files Added
libraries/AP_HAL_ChibiOS/hwdef/CIPHERWINGF4/hwdef.datlibraries/AP_HAL_ChibiOS/hwdef/CIPHERWINGF4/hwdef-bl.datlibraries/AP_HAL_ChibiOS/hwdef/CIPHERWINGF4/README.mdTools/bootloaders/CIPHERWINGF4_bl.binVerification
✅ Bootloader built via
Tools/scripts/build_bootloaders.py CIPHERWINGF4✅ Firmware compiles successfully:
Waf: Leaving directory '/home/jeevesh18/ardupilot/build/CIPHERWINGF4'
'copter' finished successfully
✅ Tested with INAV & PX4 builds (non-official)
Future
This hardware is currently in student-stage development.






Planned for official CipherWing Labs release after validation.