2020-05-16 11:39 PM
I am currently coding on a board developed with STM32F030, and I ran into a stupid problem.
Currently, there is usart (A: serial communication) to communicate with the module.
To test this, we connected to usart (B: serial communication) set as the debugging port.
Both A and B are connected to the PC's terminal,
I connected A's TX to B's RX, and B's RX to A's TX.
B TX-> A RX works without problem.
A TX-> B RX read only a certain length as if it had a fixed number, and it could not be read after that.
Interrupt method is used for communication, and other interrupts are disabled for testing.