EIM-Bus (Trizeps VII)
This describes the registry-settings which can be made for the address-/databus of the i.MX6 Trizeps VII -module.
Registry Keys
| ||
---|---|---|
Key | Type | Description |
DataPins | DWORD | Set which datapins to use. 0xFFFF for all 16 pins. Bit 0x1 = D0, Bit 0x2 = D1, Bit 0x4 = D2, … |
DataPad | DWORD | Set IOMUXC_SW_PAD_CTL_PAD_xxx-registers of all used datapins to this value. This controls the physical pad-setting. |
AddressPins | DWORD | Set which addresspins to use. 0x3ffffff for all address-pins. Bit 0x1 = A0, Bit 0x2 = A1, Bit 0x4 = A2, … |
AddressPad | DWORD | Set IOMUXC_SW_PAD_CTL_PAD_xxx-registers of all used address-pins to this value. This controls the physical pad-settings. |
BusCtrlPins | DWORD | Each bit corresponds to a address/databus-controlpin.
0x001 nWE
0x002 nOE
0x004 nCS0 (nCS3 on SODIMM)
0x008 nCS1 (nCS1,nCS4 on SODIMM)
0x010 nBE0
0x020 nBE1
0x040 nBE2
0x080 nBE3
0x100 nWAIT/nRDY |
BusCtrlPad | DWORD | Set IOMUXC_SW_PAD_CTL_PAD_xxx-registers of all used control-pins to this value. This controls the physical pad-settings. |
CS0GCR1 | DWORD | Set Chip Select 0 General Configuration Register 1 (EIM_CS0GCR1) |
CS0GCR2 | DWORD | Set Chip Select 0 General Configuration Register 2 (EIM_CS0GCR2) |
CS0RD1 | DWORD | Set Chip Select 0 Read Configuration Register 1 (EIM_CS0RCR1) |
CS0RD2 | DWORD | Set Chip Select 0 Read Configuration Register 2 (EIM_CS0RCR2) |
CS0WR1 | DWORD | Set Chip Select 0 Write Configuration Register 1 (EIM_CS0WCR1) |
CS0WR2 | DWORD | Set Chip Select 0 Write Configuration Register 1 (EIM_CS0WCR2) |
See Chapter 22: External Interface Module (EIM)
of the i.MX6 Reference Manual for details.
The i.MX6 Chip Select 0 is connected to nCS3 (SODIMM-Pin 107).
The i.MX6 Chip Select 1 is connected to a decoder which generates nCS1 (SODIMM-Pin 105) and nCS4 (SODIMM-Pin 106) depending on the level of A25. If A25 = 0, than nCS1 is selected, otherwise nCS4.
D[15..0] are connected to EIM_D[31..16].
Please note that you have several configuration option which may lead to address shifts or might not enable you to use nCS4. In the standard-configuration A0 is typically not used, because the bus is configured to use 16bit access.
Download Sample Register for AddressPad Setting: imx6sdlrm-adresspad.pdf
See Also