2019-05-19 01:46 AM
Hello,
I have donwloaded the STM32CUBE FW pack for F1 modules.
I tested 2 of them: a UART_PRINTF example and a PWR example, for the F100 Discovery board.
Both examples work well, and I want to add UART capability to the PWR example.
How does one do it?
I tries to copy all relevant files and relevant code to the PWR example, and it builds and runs without errors, but upon printing, nothing happens.
Solved! Go to Solution.
2019-05-19 03:33 AM
Thanks!
Found out the .project files were different. I made them similar and it started working.
2019-05-19 02:15 AM
Typically you need the clock enable for uart (and dma if used), the init of uart, the gpio configuration and create the interrupt isr irq function. Check all these points first.
2019-05-19 03:33 AM
Thanks!
Found out the .project files were different. I made them similar and it started working.