feat(F051): ARK4IN1 bootloader holds DRV8328 nSLEEP low - #4
Merged
Conversation
Add board product AM32_F051_BOOTLOADER_ARK4IN1: same PB4 signal pin as the generic F051 PB4 build, plus PA15 driven low so the DRV8328 stays asleep for the whole bootloader stay (lower idle power). - bl_gate_driver_off() on F051 (optional GATE_DRIVER_OFF_PORT/PIN_NUM) - main() calls it after GPIO init when those defines are set - Makefile CREATE_BOARD_BOOTLOADER_TARGET for named board products Generic PB4 / other pins unchanged. G431 ENABLE-off stays on the stacked gate-driver-off branch for a follow-up PR.
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Mergeable F051-only slice of the gate-driver-off work so ARK 4IN1 can ship nSLEEP-low in the bootloader without waiting on the G431 dual-protocol stack.
AM32_F051_BOOTLOADER_ARK4IN1…_PB4)Generic
AM32_F051_BOOTLOADER_PB4is unchanged (other boards use PA15 as the signal pin).Bench (one of four 4IN1 channels, DC supply, disarmed)
Companion app PR: ARK32
feat/f051-nsleep-idle(sleep nSLEEP when not driving). App must embed this BL blob or first boot will rewrite stock PB4 over it.Build
make AM32_F051_BOOTLOADER_ARK4IN1 # -> obj/AM32_F051_BOOTLOADER_ARK4IN1_V18.bin (~3996 B / 4064)Follow-up
G431 DRV8350 ENABLE-low remains on
feat/gate-driver-off(stacked on dual-protocol).Test plan
make AM32_F051_BOOTLOADER_ARK4IN1builds and fits 4kmake AM32_F051_BOOTLOADER_PB4still builds; bin differs