flexio 数据大小端问题

cancel
Showing results for 
Search instead for 
Did you mean: 

flexio 数据大小端问题

53 Views
Contributor I

使用flexio 8bit 传输16bit的像素数据,传输的数据是 0x6789   传输的顺序是0x89 0x67, 

现在用的是4个移位器,4*4=16节拍,

不知如何这是才能让flexio 传输的顺序变成0x67 0x89,

我使用   SHIFTBUFBYS 之类的寄存器好像办不到,

例如0x12346789 变成 0x89673412 但是我想要的是0x34128967

 

Labels (1)
0 Kudos
1 Reply

30 Views
NXP TechSupport
NXP TechSupport

Hi ,

非常感谢使用NXP产品,很高兴为你提供技术支持!
你可以利用这些Shifter buffer来选择不同的数据的顺序。

pastedImage_1.png

Have a great day,
TIC

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos