Skip to main content
Associate II
Question

Receiving UART Data disordered

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  

This topic has been closed for replies.

7 replies

Andrew Neil
Super User

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

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

 

TDK

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

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 Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
mƎALLEm
ST Technical Moderator
To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.