2024-09-03 04:40 AM
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
2024-09-03 04:46 AM - edited 2024-09-03 04:47 AM
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 ?
2024-09-03 05:11 AM
You'd need to make an effort to synchronize a byte stream. And identify the first byte in a sequence or packet.
2024-09-03 05:13 AM
the data i received are not int the same order of sending
2024-09-03 05:53 AM
You have a bug in your software. You should debug your code to find the source of the error and correct it.
2024-09-03 06:23 AM
So how, exactly, are you connecting the two units?
The more details you share, the quicker and easier it is to get to a solution:
Again, the data cannot possible get reordered on a simple wired connection - so either you're not just using a simple wired connection, or the problem has to be in your (receiving) software.
You didn't say how you've confirmed that the transmission is fine.
Nor whether your UART comms work well without TouchGFX ?
What investigation/testing/debugging have you done to find what's going wrong?
Is there any pattern the "reordering"?
2024-09-03 06:40 AM
You'll need to make a much more effective presentation of your issue, showing code and each end, and scope traces proving in-order dispatch.
2024-09-03 07:48 AM
Related thread: https://community.st.com/t5/stm32-mcus-touchgfx-and-gui/problem-while-sending-a-lin-frame-from-touchgfx/td-p/711283