STM32 HAL rx interrupt can't get bytes correctly
问题 Hi guys I am trying to make serial rx interrupt using stm32 HAL library and I got error what I dont know. It is really simple program. PC gives bytes to stm32 board and stm32 will take those bytes using rx interrupt routine. Problem is when i send over 4 bytes ,such as "12345", stm32 board only got 4 bytes and last one byte(5) is gone somewhere. Here is picture for better understanding. Here is my code in HAL_UART_RxCpltCallback routine: HAL_UART_Transmit(&huart4, &receive1, 1, 1000); HAL