Hello everyone,
I would be very gratefull if you help me with this or give me some idea. I have problem with STM32100RbB USART module. It uses Cortex M3.
The USART uses hardware flow control (RTS/CTS). When I start debugging and try to read data in USART registers it is always different scenario. Data deepends on where I put breakpoints!
For example, if I put breakpoint just before function that reads data register and after that press RUN to instruction for reading register the data is correct, but if I press RUN just after reset and go directly to this instruction data is corrupted....
Did anyone had similar problems and can give me some ideas? I tought it is timing problem so I put delays everywhere I could, but it didn't help.
Thank you, Nikola