Sterling
DIIDevHeads IoT Integration Server
•Created by Sterling on 7/11/2024 in #code-review
How can I resolve UART transmission errors on my STM32F407VGT6 MCU during rapid string transmission?
Good day everyone @Middleware & OS , I have an objective to transmit a string ("test123") 10 times as fast as possible through UART in interrupt mode utilizing an STM32F407VGT6 MCU on STM32CubeIDE, but I am facing problems.
Despite the initial successful transmission, the code eventually encounters an unacceptable scenario where it falls into the
Error_Handler()
. Though implementing delays between each transmission guarantees that all strings are transferred successfully, I desire to comprehend why this accomplishment cannot be attained without incorporating any delay.
What might be causing the issue with transmitting the strings without delays, and how can I fix it?
Here's an attachment of my code.7 replies