Skip to main content
DPark.2
Associate III
May 17, 2020
Question

(UART) If receive a certain length as if the maximum number is set, it will no longer be received.

  • May 17, 2020
  • 0 replies
  • 419 views

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.​

This topic has been closed for replies.