How to set i.MX6 EIM endian.

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to set i.MX6 EIM endian.

ソリューションへジャンプ
1,440件の閲覧回数
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,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 件の賞賛
返信
1 返信
1,097件の閲覧回数
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 件の賞賛
返信