AnsweredAssumed Answered

STM32F051K4T6 usart only can receive one byte data

Question asked by bao.jason on Jul 3, 2014
Latest reply on Jul 3, 2014 by bao.jason
HI 
   I am using STM32F051K4T6 to test usart function. 
which i can receive only one byte data from my PC serial tool  when debugging in CooCox IDE 

when  send only one byte from pc  its ok  i can enter the interrupt 
but when i send two or more bytes one time . program enter the interrupt one time and after that  i can not enter interrupt any more even i send one byte. it seems that the program has gone.

following is my code . any one can help me ? thanks


1.jpg2.jpg

Outcomes