AnsweredAssumed Answered

P1012: HDLC: How to configure the byte order of HDLC on the TX line?

Question asked by carl peng on Oct 21, 2016
Latest reply on Oct 24, 2016 by Serguei Podiatchev



When debug HDLC, I find that its data on the TX is big-endia order, for example, if I want to send 4 bytes: data[4] = {0x01, 0x02, 0x03, 0x04}, I find that the data send onto TX line is: {0x04, 0x03, 0x02, 0x01}, it seems that HDLC send data in the unit of 32-bit word, and moreover, it is big-endia.

Now, if I want to send it in a little-endia, how should I do?

Could you please help to give some suggestions?


Thank you,