iMX7 external Bus CS1

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

iMX7 external Bus CS1

1,798件の閲覧回数
mahaep
Contributor I

Hello,

we use a iMX7-Colibri modul.

Currently we have a SRAM mapped in the external EIM-Bus (0x28000000-0x2FFFFFFF) - CS0 area 128MB.

It works well.
Now we like to split the area in 2 regions with CS0 and CS1 with 2 * 64 MB

CS0 (0x28000000-0x2BFFFFFF)   CS1 (0x2C000000-0x2FFFFF)  
I used CS0 Registers and values as a template,  but I had done something wrong.
If I read from CS1 area I got the data form CS0 area. I guess there is a register value not defined.
Please can you assist me, to find the error.

I can see CS0, WR, OE,.. signals, but no CS1 signal.

I read back the register settings and the values are:


IOMUXC_GPR_GPR1: 4f40202d  <-- Change  to 2 * 64MB


pWEIM->CS0GCR1: 00610089
pWEIM->CS0GCR2: 00001002
pWEIM->CS0WR1: 1f6fffd3

pWEIM->CS1GCR1: 00010089
pWEIM->CS1GCR2: 00001002
pWEIM->CS1WR1: 1f6fffd3

//CS1_B mux port of EIM

 pSW_PADEPDC_DATA15 = (DWORD*)Map_OALPAtoVA(IOMUXC_SW_MUX_CTL_PAD_EPDC_DATA15, 1);
 *pSW_PADEPDC_DATA15 = *pSW_PADEPDC_DATA15 | 0x04;       //CS1_B mux port of EIM

Can you help me.

best regards

ラベル(2)
タグ(1)
0 件の賞賛
返信
2 返答(返信)

1,670件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Manfred

according to description IOMUXC_GPR_GPR1 in Reference Manual

ADDRS[10]= 01  - 64 MByte size so for 2 * 64MB settings seems would be:
IOMUXC_GPR_GPR1: 4f40202d  ==> 4f40201b

pastedImage_1.jpg

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

1,670件の閲覧回数
mahaep
Contributor I

Thank you Igor, now it works fine.

0 件の賞賛
返信