About Asynchronous Write access of EIM of i.MX6

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

About Asynchronous Write access of EIM of i.MX6

Jump to solution
856 Views
yuuki
Senior Contributor II

Dear all,

Our customer connects external device to EIM_CS0 of i.MX6.
They would like to access external device by asynchronous access.

They try to write 0xFFFF value into 0x80000000 address.
However, the value isn't output on a data bus(DATA[31:16]).

I'm checking their register setting.
However, I can't find a problem.

May I have some advice?


They set registers as follows.

[setting]
Non-Multiplex Mode/16bit_bus(DATA[31:16])

EIM_CS0GCR1=0x0002_0001
(MUM=0 / DSZ=010 / SRD=0 / SWR=0)

CCM_CCGR6   : 0x20C_4080 : 0xFFFF_0C03
EIM_CS0GCR1 : 0x21B_8000 : 0x0002_0001
EIM_CS0GCR2 : 0x21B_8004 : 0x0000_0000
EIM_CS0RCR1 : 0x21B_8008 : 0x2800_0203
EIM_CS0RCR2 : 0x21B_800C : 0x0000_0002
EIM_CS0WCR1 : 0x21B_8010 : 0x2800_2083
EIM_CS0WCR2 : 0x21B_8014 : 0x0000_0000
EIM_WCR     : 0x21B_8090 : 0x0000_0020
EIM_WIAR    : 0x21B_8094 : 0x0000_0010


Best Regards,
Yuuki

Labels (1)
0 Kudos
1 Solution
584 Views
yuuki
Senior Contributor II

Dear Yuri-san,

Thank you for your support.

We checked IOMUX of EIM_D16-EIM_D31.

These defaults were GPIO mode.

When we set these in EIM_Dxx, our problem was settled.

Best Regards,

Yuuki

View solution in original post

0 Kudos
3 Replies
584 Views
Yuri
NXP Employee
NXP Employee

   You wrote : “write 0xFFFF value into 0x80000000” ;

perhaps the problem concerns with the fact, that EIM CS0 address range
starts from 0x0800_0000.


~Yuri.

584 Views
yuuki
Senior Contributor II

Dear Yuri-san,

Thank you very much for your support.

I'm sorry, 0x8000_0000 is a mistake.

0x0800_0000 is right.

Anything else I should consider?
May I have advice?

Best Regards,
Yuuki

0 Kudos
585 Views
yuuki
Senior Contributor II

Dear Yuri-san,

Thank you for your support.

We checked IOMUX of EIM_D16-EIM_D31.

These defaults were GPIO mode.

When we set these in EIM_Dxx, our problem was settled.

Best Regards,

Yuuki

0 Kudos