Skip to main content
Associate II
September 3, 2024
Question

Receiving UART Data disordered

  • September 3, 2024
  • 3 replies
  • 1346 views

i'm using touchgfx h750DK to send a frame to an f446re st board then receive data from the board to the touchgfx 
the data sent are good but the data received are disordered although i have the same configuration in both sides  

3 replies

Andrew Neil
Super User
September 3, 2024

What, exactly, do you mean by, "disordered" ?

How do you verify that, "the data sent are good" ?

There's no way that UART frames can change their order on the wire, so it must be in your software.

 

Do your UART comms work well without TouchGFX ?

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Associate II
September 3, 2024

the data i received are not int the same order of sending 

 

TDK
Super User
September 3, 2024

You have a bug in your software. You should debug your code to find the source of the error and correct it.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Tesla DeLorean
Guru
September 3, 2024

You'd need to make an effort to synchronize a byte stream. And identify the first byte in a sequence or packet.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
mƎALLEm
Technical Moderator
September 3, 2024
"To give better visibility on the answered topics, please click on ""Accept as Solution"" on the reply which solved your issue or answered your question."