Closed nsiatras closed 8 years ago
It is probably related to the clock and baud rate setup, but I don't have a board with a 401 so I can't easily debug it
Do you use an external oscilator on your board? I dont...
I don't have an external oscillator, I use the 8MHz from the debugger. try changing the line
to
in the file CMSIS/device/stm32f4xx.h
I tried it but still garbage data comes out from the serial...
did you define the compiler settings to 401 instead of 411?
Hello,
I imported the code to a new project, using the System Workbench,targeted to Nucleo -F401RE. The code builds perfectly fine but as I try to connect to the serial com port I get garbage data. I am thinking that this is something that has to do with the clock (HSE_VALUE, HSI_VALUE etc..)
Do you have any idea on what this error might be ?
Thank you