AnsweredAssumed Answered

About UART of STM32F411RET6/STM32F030R8 Nucleo board using STM32CubeMX 4.8.0 and keil 5.14

Question asked by se.hong on Jul 12, 2015
Latest reply on Jul 12, 2015 by Clive One
Dear

I have two Nucleo board,  STM32F411RET6 and STM32F030R8.

so I tested two board, and got some interesting(?) results.

two board was good for sending.
when UART using HAL_UART_Transmit_IT(HAL_UART_TxCpltCallback) is good.

but receiving is not good.

firstly 

I checked the usb2serial module and test serial program also, these are ok.

for STM32F030R8

if the size of the received data is 90Bytes,
(012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789) 

then HAL_UART_RxCpltCallback gets signal but just one time.

for STM32F411RET6

if the size of the received data is 200Bytes,
(01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789) 

then HAL_UART_RxCpltCallback gets signal

and if I send next 200Bytes, then HAL_UART_RxCpltCallback  also gets the signal repeatly.

What's the reason for these results?

Would you help me?


Outcomes