UART RX bytes in wrong order | Cypress Semiconductor
UART RX bytes in wrong order
New to PSoC, just testing different components to see if PSoC fit our needs.
One of the tasks is to communicate with a Master over RS485 using MODBUS protocol. Baudrate is 921600.
Master send a request packet to Slave (PSoC) twice every second and expect updated values as reply.
Master request send 0x02, 0x04, 0x01, 0x13.
After some testing I've concluded that PSoC save the bytes in wrong order:0x04, 0x01, 0x13, 0x02.
That is so weird that it took some time to even believe.
Tried to read documents, examples and forum posts without finding a reason for this to happen.
Missing something essential?
We're using CY8CKIT-043.
I'll attach minimal bundle .zip file.