app: boards: add WeAct STM32F446 Core board configuration#182
Conversation
|
Thanks! Looks good. Please add a signed-off-by line to the Git commit log. |
99c7be5 to
2c39c8f
Compare
done! I assumed signed off by you. |
No, it should be signed off by you. Please see https://en.wikipedia.org/wiki/Developer_Certificate_of_Origin I have an action for documenting the process for contributing to CANnectivity, apologies for not having this in place already. |
Add CANnectivity application overlay and Kconfig fragment for the WeAct Studio STM32F446 Core Board (weact_stm32f446_core). The overlay wires CAN1 (PB8 RX, PB9 TX, intended for an external SN65HVD230 transceiver) to a single CANnectivity channel and exposes TIM2 as the 1 MHz hardware timestamp counter (TIM2 input clock 84 MHz at the new SYSCLK, prescaler 83). The board's default main PLL configuration produces PLL_Q = 180 MHz, which is incompatible with USB OTG FS (requires exactly 48 MHz). The overlay reconfigures the main PLL (N=336, Q=7) so PLL_Q = 48 MHz while keeping a 168 MHz SYSCLK; this avoids enabling clk48/PLLSAI which would trip an upstream Zephyr build issue on STM32F446 (LL_RCC_PLLSAI_GetMainSource is not provided by the STM32F4 HAL). Signed-off-by: Chris Chatelain <voiditswarranty@digiex.ca>
2c39c8f to
99ab313
Compare
Ah, thanks. I've changed it to be signed off by me. |
Add CANnectivity application overlay and Kconfig fragment for the WeAct Studio STM32F446 Core Board (weact_stm32f446_core).
The overlay wires CAN1 (PB8 RX, PB9 TX, intended for an external SN65HVD230 transceiver) to a single CANnectivity channel and exposes TIM2 as the 1 MHz hardware timestamp counter (TIM2 input clock 84 MHz at the new SYSCLK, prescaler 83).
The board's default main PLL configuration produces PLL_Q = 180 MHz, which is incompatible with USB OTG FS (requires exactly 48 MHz). The overlay reconfigures the main PLL (N=336, Q=7) so PLL_Q = 48 MHz while keeping a 168 MHz SYSCLK; this avoids enabling clk48/PLLSAI which would trip an upstream Zephyr build issue on STM32F446
(LL_RCC_PLLSAI_GetMainSource is not provided by the STM32F4 HAL).