2020-12-03 09:42 AM
The problem that I am facing is that I implemented HAL_UART_Receive_IT function in a while(1) loop and then I check for the elements of buffer for \n or \r. After I type the first message it prints "String Received". But after that it continuously prints "Error". I read a few articles and i enabled the IRQ for the interrupt but i am confused about its implementation. I wish to know how exactly is it done.
Solved! Go to Solution.
2020-12-03 09:58 AM
There are 1700+ different STM32 chips. Which one are you using?
There are plenty of examples in CubeMX for you to follow.
2020-12-03 09:58 AM
There are 1700+ different STM32 chips. Which one are you using?
There are plenty of examples in CubeMX for you to follow.
2020-12-03 10:20 AM
I apologize for not mentioning the chip name STM32F205 is the chip that i am using
2020-12-03 11:06 AM
Here is one example from the repository that does about what you're looking for. You'll probably need to adapt it to your exact case: