How to set i.MX6 EIM endian.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

How to set i.MX6 EIM endian.

跳至解决方案
1,439 次查看
satoshishimoda
Senior Contributor I

Hi community,

Our partner have a question about i.MX6 EIM.

Actually, they want to access to a 8 bit external "big endian" device via EIM.

I found i.MX6 EIM supports it and chapter 22.5.19 in IMX6DQRM (Rev.1) seems explanation of this support.

However, I did not find how to set the endianness in EIM registers.

So would you let me know how to set EIM endianness to big endian?

Best Regards,

Satoshi Shimoda

标签 (4)
标记 (2)
0 项奖励
回复
1 解答
1,095 次查看
Yuri
NXP Employee
NXP Employee

  According to section 1.5.3 (Endianness Support) of the i.MX6 DQ Reference Manual :

"i.MX 6Dual/6Quad supports Little Endian mode only".

For i.MX6 S / DL : from section 1.5.3 (Endianness Support) of the RM :

"i.MX 6Solo/6DualLite supports Little Endian mode only".

   The problem relates to internal peripheral modules / controllers of the i.MX6.

The ARM core in itself can be configured for Little or Big endian (please refer to ARM docs),

but this means all data, passing through the ARM core will be affected. Users often need to

use different endian modes for different (internal) peripheral modules of the SOC. The EIM
as separate IP can support Big /Little Endian, as stated in features section, but being

embedded to i.MX6 - does not.

Have a great day,
Yuri

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

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,096 次查看
Yuri
NXP Employee
NXP Employee

  According to section 1.5.3 (Endianness Support) of the i.MX6 DQ Reference Manual :

"i.MX 6Dual/6Quad supports Little Endian mode only".

For i.MX6 S / DL : from section 1.5.3 (Endianness Support) of the RM :

"i.MX 6Solo/6DualLite supports Little Endian mode only".

   The problem relates to internal peripheral modules / controllers of the i.MX6.

The ARM core in itself can be configured for Little or Big endian (please refer to ARM docs),

but this means all data, passing through the ARM core will be affected. Users often need to

use different endian modes for different (internal) peripheral modules of the SOC. The EIM
as separate IP can support Big /Little Endian, as stated in features section, but being

embedded to i.MX6 - does not.

Have a great day,
Yuri

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

0 项奖励
回复