Home > other >  STM32 USART serial port communication problems
STM32 USART serial port communication problems

Time:10-01

Why I send 8 bits of data array will appear the following questions:
If the first data is 0 XBB, XBB is lost 0 and 0 x22 as a result, become 0 x3f, other data yes
If the first data is 0 x11 sure
Below are the results to send function and upper machine debugging, please grant instruction!

CodePudding user response:

USART_SendData and while (==the REST) change, decide whether to send the cache is empty, can in the data and waiting behind you sent doesn't have to, in addition, you should put the initialization configuration code

CodePudding user response:

reference 1st floor forget345 response:
USART_SendData and while (==the REST) change, decide whether to send the cache is empty, can in the data and waiting behind you sent doesn't have to, in addition, you should put the initialization configuration code are sent to

I didn't expect unexpectedly because wildfire serial debugging assistant itself caused by a bug problem, actually program yes
  • Related