Fixed, found that mbed does the clock initialize from within the target. Found in “mbed-os/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407xE/system_clock.c” just changed to select external crystal and do no other clock setup in main.cpp. Clock setup is done from there when calling HAL_Init(). Going to test the UART tomorrow to see if the same frame error persists now that we are at 168MHz. Thanks for the feedback.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| "SetSysClock failed" on STM32L432 custom board | 8 | 1201 | March 29, 2021 | |
| How to port Mbed on custom exact replica board? | 3 | 534 | August 14, 2020 | |
| Try mbed OS on STM32F4DISCOVERY board | 10 | 11850 | August 1, 2018 | |
| Custom board based on NUCLEO_L432KC | 3 | 3525 | December 10, 2019 | |
| Problem going from development board to custom board | 14 | 1648 | May 23, 2022 |