SLAU723A October 2017 – October 2018 MSP432E401Y , MSP432E411Y
The main three strobes are Address Latch Enable (ALE), Write (WRn), and Read (RDn, sometimes called OEn).The polarity of the read and write strobes can be active-high or active-low by clearing or setting the RDHIGH and WRHIGH bits in the EPI Host-Bus n Configuration (EPIHBnCFGn) register.
The ALE can be changed to an active-low chip select signal, CSn, through the EPIHBnCFGn register. The ALE is best used for Host-Bus muxed mode in which EPI address and data pins are shared. All Host-Bus accesses have an address phase followed by a data phase. The ALE indicates to an external latch to capture the address then hold it until the data phase. The polarity of the ALE can be active High or Low by clearing or setting the ALEHIGH bit in the EPI Host-Bus n Configuration (EPIHBnCFGn) register. CSn is best used for Host-Bus unmuxed mode in which EPI address and data pins are separate. The CSn indicates when the address and data phases of a read or write access are occurring. Both the ALE and the CSn modes can be enhanced to access four external devices using settings in the EPIHBnCFGn register. PSRAM accesses must use both ALE and CSn. Wait states can be added to the data phase of the access using the WRWS and RDWS bits in the EPIHBnCFGn register. Additionally, within these wait state options, the WRWSM and RDWSM bit of the EPIHBnTIMEn register can be set to reduce the given wait states by 1 EPI clock cycle for finer granularity.
For FIFO mode, the ALE is not used, and two input holds are optionally supported to gate input and output to what the XFIFO can handle. FIFO mode is only applicable in EPI asynchronous mode.
Host-bus 8 and host-bus 16 modes are very configurable. The user has the ability to connect 1, 2, or 4 external devices to the EPI signals, as well as control whether byte select signals are provided in HB16 mode. These capabilities depend on the configuration of the MODE field in the EPIHBnCFG register, the CSCFG field and the CSCFGEXT bit in the EPIHBnCFGn register, and the BSEL bit in the EPIHB16CFG register. The CSCFGEXT bit extends the chip select configuration possibilities by providing the most significant bit of the CSCFGEXT field. For the possible ALE and chip select options that can be programmed by the combination of the CSCFGEXT and CSCFGEXT bits, see Table 16-3. CSCFGEXT is the most significant bit.
Value | Description |
---|---|
0x0 | ALE configuration
EPI0S30 is used as an address latch (ALE). The ALE signal is generally used when the address and data are muxed (MODE field in the EPIHB8CFG register is 0x0). The ALE signal is used by an external latch to hold the address through the bus cycle. |
0x1 | CSn Configuration
EPI0S30 is used as a chip select (CSn). When using this mode, the address and data are generally not muxed (MODE field in the EPIHB8CFG register is 0x1). However, if address and data muxing is needed, the WR signal (EPI0S29) and the RD signal (EPI0S28) can be used to latch the address when CSn is low. |
0x2 | Dual CSn configuration
EPI0S30 is used as CS0n and EPI0S27 is used as CS1n. Whether CS0n or CS1n is asserted is determined by the most significant address bit for a respective external address map. This configuration can be used for a RAM bank split between 2 devices and when using both an external RAM and an external peripheral. |
0x3 | ALE with dual CSn configuration
EPI0S30 is used as address latch (ALE), EPI0S27 is used as CS1n, and EPI0S26 is used as CS0n. Whether CS0n or CS1n is asserted is determined by the most significant address bit for a respective external address map. |
0x4 | ALE with single CSn configuration
EPI0S30 is used as address latch (ALE) and EPI0S27 is used as CSn. |
0x5 | Quad CSn configuration
EPI0S30 is used as CS0n, EPI0S27 is used as CS1n, EPI0S34 is used as CS2n, and EPI0S33 is used as CS3n. |
0x6 | ALE with quad CSn configuration
EPI0S30 is used as ALE, EPI0S26 is used as CS0n, EPI0S27 is used as CS1n, EPI0S34 is used as CS2n,and EPI0S33 is used as CS3n. |
0x7 | Reserved |
If one of the dual-chip-select modes is selected (CSCFGEXT is 0x0 and CSCFG is 0x2 or 0x3 in the EPIHBnCFGn register), both chip selects can share the peripheral, code, or the memory space, or one chip select can use the peripheral space and the other can use the memory or code space. In the EPIADDRMAP register, if the EPADR field is not 0x0, the ECADR field is 0x0, and the ERADR field is 0x0, then the address specified by EPADR is used for both chip selects, with CS0n being asserted when the MSB of the address range is 0 and CS1n being asserted when the MSB of the address range is 1. If the ERADR field is not 0x0, the ECADR field is 0x0, and the EPADR field is 0x0, then the address specified by ERADR is used for both chip selects, with the MSB performing the same delineation. If both the EPADR and the ERADR are not 0x0, and the ECADR field is 0x0 and the EPI is configured for dual-chip selects, then CS0n is asserted for either address range defined by EPADR and CS1n is asserted for either address range defined by ERADR. The two chip selects can also be shared between the code space and memory or peripheral space. If the ECADR field is 0x1, ERADR field is 0x0, and the EPADR field is not 0x0, then CS0n is asserted for the address range defined by ECADR and CS1n is asserted for either address range defined by EPADR. If the ECADR field is 0x1, EPADR field is 0x0, and the ERADR field is not 0x0, then CS0n is asserted for the address range defined by ECADR and CS1n is asserted for either address range defined by ERADR.
In quad chip select mode (CSCFGEXT is 0x1 and CSCFG is 0x1 or 0x2 in the EPIHBnCFG2 register), both the peripheral and the memory space must be enabled. In the EPIADDRMAP register, the EPADR field is 0x3, the ERADR field is 0x3, and the ECADR field is 0x0. With this configuration, CS0n asserts for the address range beginning at 0x6000.0000, CS1n asserts for 0x8000.0000, CS2n for 0xA000.0000, and CS3n for 0xC000.0000. Table 16-4 gives a detailed explanation of chip select address range mappings based on combinations of enabled peripheral and memory space.
NOTE
Only one memory area can be mapped to a single chip select. Enabling multiple memory areas for one chip select may produce unexpected results.
Chip Select Mode | ERADR | EPADR | ECADR | CS0 (1) | CS1 | CS2 | CS3 |
---|---|---|---|---|---|---|---|
Dual-chip select | 0x0 | 0x1 or 0x2 | 0x0 | EPADR defined address range (0xA000.000 or 0xC000.0000) | EPADR defined address range (0xA000.000 or 0xC000.0000) | N/A | N/A |
Dual-chip select | 0x1 or 0x2 | 0x0 | 0x0 | ERADR defined address range (0x6000.000 or 0x8000.000) | ERADR defined address range (0x6000.000 or 0x8000.000) | N/A | N/A |
Dual-chip select | 0x1 or 0x2 | 0x1 or 0x2 | 0x0 | EPADR defined address range (0xA000.000 or 0xC000.0000) | ERADR defined address range (0x6000.000 or 0x8000.000) | N/A | N/A |
Dual-chip select | 0x0 | 0x1 or 0x2 | 0x1 | ECADR defined address range (0x1000.000) | EPADR defined address range (0xA000.0000 or 0xC000.0000) | N/A | N/A |
Dual-chip select | 0x1 or 0x2 | 0x0 | 0x1 | ECADR defined address range (0x1000.000) | ERADR defined address range (0x6000.000 or 0x8000.000) | N/A | N/A |
Quad-chip select | 0x3 | 0x3 | 0x0 | 0x6000.0000 | 0x8000.0000 | 0xA000.0000 | 0xC000.0000 |
The MODE field of the EPIHBnCFGn registers configure the interface for the chip selects, which support ADMUX or ADNOMUX. See Table 16-5 for details on which configuration register controls each chip select. If the CSBAUD bit is clear, all chip selects are configured by the MODE bit field of the EPIHBnCFG register.
If the CSBAUD bit in the EPIHBnCFG2 register is set in Dual-chip select mode, the 2 chip selects can use different clock frequencies, wait states and strobe polarity. If the CSBAUD bit is clear, both chip selects use the clock frequency, wait states, and strobe polarity defined for CS0n. Additionally, if the CSBAUD bit is set, the two chip selects can use different interface modes. If any interface modes are programmed to ADMUX, then dual chip select mode must include the ALE capability. In quad chip select mode, if the CSBAUD bit in the EPIHBnCFG2 register is set, the 4 chip selects can use different clock frequencies, wait states and strobe polarity. If the CSBAUD bit is clear, all chip selects use the clock frequency, wait states, and strobe polarity defined for CS0n. If the CSBAUD bit is set, the four chip selects can use different interface modes.
Configuration Register (1) | Corresponding Chip Select |
---|---|
EPIHBnCFG | CS0n |
EPIHBnCFG2 | CS1n |
EPIHBnCFG3 | CS2n |
EPIHBnCFG4 | CS3n |
Multiple chip select modes do not allow the intermixing of Host-Bus 8 and Host-Bus16 modes.
When BSEL = 1 in the EPIHB16CFG register, byte select signals are provided, so byte-sized data can be read and written at any address, however these signals reduce the available address width by 2 pins. The byte select signals are active Low. BSEL0n corresponds to the LSB of the halfword, and BSEL1n corresponds to the MSB of the halfword.
When BSEL = 0, byte reads and writes at odd addresses only act on the even byte, and byte writes at even addresses write invalid values into the odd byte. As a result, accesses should be made as halfwords (16-bits) or words (32-bits). In C/C++, programmers should use only short int and long int for accesses. Also, because data accesses in HB16 mode with no byte selects are on 2-byte boundaries, the available address space is doubled. For example, 28 bits of address accesses 512MB in this mode.Table 16-6 shows the capabilities of the HB8 and HB16 modes as well as the available address bits with the possible combinations of these bits.
Although the EPI0S31 signal can be configured for the EPI clock signal in Host-Bus mode, it is not required and should be configured as a GPIO to reduce EMI in the system.
Host Bus Type | MODE | CSCFGEXT | CSCFG | Maximum No. of External Devices | BSEL | Byte Access | Available Address | Addressable Memory |
---|---|---|---|---|---|---|---|---|
HB8 | 0x0 | 0 | 0x0, 0x1 | 1 | N/A | Always | 28 bits | 256MB |
HB8 | 0x0 | 0 | 0x2 | 2 | N/A | Always | 27 bits | 128MB |
HB8 | 0x0 | 0 | 0x3 | 2 | N/A | Always | 26 bits | 64MB |
HB8 | 0x0 | 1 | 0x0 | 1 | N/A | Always | 27 bits | 128MB |
HB8 | 0x0 | 1 | 0x1 | 4 | N/A | Always | 27 bits | 128MB |
HB8 | 0x0 | 1 | 0x2 | 4 | N/A | Always | 26 bits | 64MB |
HB8 | 0x1 | 0 | 0x0, 0x1 | 1 | N/A | Always | 20 bits | 1MB |
HB8 | 0x1 | 0 | 0x2 | 2 | N/A | Always | 19 bits | 512KB |
HB8 | 0x1 | 0 | 0x3 | 2 | N/A | Always | 18 bits | 256KB |
HB8 | 0x1 | 1 | 0x0 | 1 | N/A | Always | 19 bits | 512KB |
HB8 | 0x1 | 1 | 0x1 | 4 | N/A | Always | 19 bits | 512MB |
HB8 | 0x1 | 1 | 0x2 | 4 | N/A | Always | 18 bits | 256KB |
HB8 | 0x2 | 0 | 0x1 | 1 | N/A | Always | 20 bits | 1MB |
HB8 | 0x3 | 0 | 0x1 | 1 | N/A | Always | none | – |
HB8 | 0x3 | 0 | 0x3 | 2 | N/A | Always | none | – |
HB8 | 0x3 | 1 | 0x0 | 1 | N/A | Always | none | – |
HB8 | 0x3 | 1 | 0x1 | 4 | N/A | Always | none | – |
HB8 | 0x3 | 1 | 0x2 | 4 | N/A | Always | none | – |
HB16 | 0x0 | 0 | 0x0, 0x1 | 1 | 0 | No | 28 bits (1) | 512MB |
HB16 | 0x0 | 0 | 0x0, 0x1 | 1 | 1 | Yes | 26 bits (2) | 128MB |
HB16 | 0x0 | 0 | 0x2 | 2 | 0 | No | 27 bits (1) | 256MB |
HB16 | 0x0 | 0 | 0x2 | 2 | 1 | Yes | 25 bits (2) | 64MB |
HB16 | 0x0 | 0 | 0x3 | 2 | 0 | No | 26 bits (1) | 128MB |
HB16 | 0x0 | 0 | 0x3 | 2 | 1 | Yes | 24 bits (2) | 32MB |
HB16 | 0x0 | 1 | 0x0 | 1 | 0 | No | 27 bits (1) | 256MB |
HB16 | 0x0 | 1 | 0x0 | 1 | 1 | Yes | 25 bits (2) | 128MB |
HB16 | 0x0 | 1 | 0x1 | 4 | 0 | No | 27 bits (1) | 256MB |
HB16 | 0x0 | 1 | 0x1 | 4 | 1 | Yes | 25 bits (2) | 64MB |
HB16 | 0x0 | 1 | 0x2 | 4 | 0 | No | 26 bits (1) | 128MB |
HB16 | 0x0 | 1 | 0x2 | 4 | 1 | Yes | 24 bits (2) | 32MB |
HB16 | 0x1 | 0 | 0x0, 0x1 | 1 | 0 | No | 12 bits (1) | 8KB |
HB16 | 0x1 | 0 | 0x0, 0x1 | 1 | 1 | Yes | 10 bits (2) | 2KB |
HB16 | 0x1 | 0 | 0x2 | 2 | 0 | No | 11 bits (1) | 4KB |
HB16 | 0x1 | 0 | 0x2 | 2 | 1 | Yes | 9 bits (2) | 1KB |
HB16 | 0x1 | 0 | 0x3 | 2 | 0 | No | 10 bits (1) | 2KB |
HB16 | 0x1 | 0 | 0x3 | 2 | 1 | Yes | 8 bits (2) | 512 B |
HB16 | 0x1 | 1 | 0x0 | 1 | 0 | No | 11 bits (1) | 4KB |
HB16 | 0x1 | 1 | 0x0 | 1 | 1 | Yes | 9 bits (2) | 1KB |
HB16 | 0x1 | 1 | 0x1 | 4 | 0 | No | 11 bits (1) | 4KB |
HB16 | 0x1 | 1 | 0x1 | 4 | 1 | Yes | 9 bits (2) | 1KB |
HB16 | 0x1 | 1 | 0x2 | 4 | 0 | No | 10 bits (1) | 2KB |
HB16 | 0x1 | 1 | 0x2 | 4 | 1 | Yes | 8 bits (2) | 512 B |
HB16 | 0x3 | 0 | 0x1 | 1 | 0 | No | none | – |
HB16 | 0x3 | 0 | 0x1 | 1 | 1 | Yes | none | – |
HB16 | 0x3 | 0 | 0x3 | 2 | 0 | No | none | – |
HB16 | 0x3 | 0 | 0x3 | 2 | 1 | Yes | none | – |
HB16 | 0x3 | 1 | 0x0 | 1 | 0 | No | none | – |
HB16 | 0x3 | 1 | 0x0 | 1 | 1 | Yes | none | – |
HB16 | 0x3 | 1 | 0x1 | 4 | 0 | No | none | – |
HB16 | 0x3 | 1 | 0x1 | 4 | 1 | Yes | none | – |
HB16 | 0x3 | 1 | 0x2 | 4 | 0 | No | none | – |
HB16 | 0x3 | 1 | 0x2 | 4 | 1 | Yes | none | – |
Table 16-7 shows how the EPI[31:0] signals function while in Host-Bus 8 mode. Notice that the signal configuration changes based on the address/data mode selected by the MODE field in the EPIHB8CFGn register and on the chip select configuration selected by the CSCFG and CSCFGEXT field in the EPIHB8CFG2 register.
Although the EPI0S31 signal can be configured for the EPI clock signal in Host-Bus mode, it is not required and should be configured as a GPIO to reduce EMI in the system. Any unused EPI controller signals can be used as GPIOs or another alternate function.
EPI Signal | CSCFG | HB8 Signal (MODE = ADMUX) | HB8 Signal (MODE = ADNOMUX (Cont. Read)) | HB8 Signal (MODE = XFIFO) |
---|---|---|---|---|
EPI0S0 | X (1) | AD0 | D0 | D0 |
EPI0S1 | X | AD1 | D1 | D1 |
EPI0S2 | X | AD2 | D2 | D2 |
EPI0S3 | X | AD3 | D3 | D3 |
EPI0S4 | X | AD4 | D4 | D4 |
EPI0S5 | X | AD5 | D5 | D5 |
EPI0S6 | X | AD6 | D6 | D6 |
EPI0S7 | X | AD7 | D7 | D7 |
EPI0S8 | X | A8 | A0 | – |
EPI0S9 | X | A9 | A1 | – |
EPI0S10 | X | A10 | A2 | – |
EPI0S11 | X | A11 | A3 | – |
EPI0S12 | X | A12 | A4 | – |
EPI0S13 | X | A13 | A5 | – |
EPI0S14 | X | A14 | A6 | – |
EPI0S15 | X | A15 | A7 | – |
EPI0S16 | X | A16 | A8 | – |
EPI0S17 | X | A17 | A9 | – |
EPI0S18 | X | A18 | A10 | – |
EPI0S19 | X | A19 | A11 | – |
EPI0S20 | X | A20 | A12 | – |
EPI0S21 | X | A21 | A13 | – |
EPI0S22 | X | A22 | A14 | – |
EPI0S23 | X | A23 | A15 | – |
EPI0S24 | X | A24 | A16 | – |
EPI0S25 | 0x0 | A25 (2) | A17 | – |
0x1 | ||||
0x2 | CS1n | |||
0x3 | – | |||
0x4 | – | |||
0x5 | – | |||
0x6 | – | |||
EPI0S26 | 0x0 | A26 | A18 | FEMPTY |
0x1 | ||||
0x2 | ||||
0x3 | CS0n | CS0n | ||
0x4 | A26 | A18 | ||
0x5 | ||||
0x6 | CS0n | CS0n | ||
EPI0S27 | 0x0 | A27 | A19 | FFULL |
0x1 | ||||
0x2 | CS1n | CS1n | ||
0x3 | ||||
0x4 | CS0n | CS0n | ||
0x5 | CS1n | CS1n | ||
0x6 | ||||
EPI0S28 | X | RDn/OEn | RDn/OEn | RDn |
EPI0S29 | X | WRn | WRn | WRn |
EPI0S30 | 0x0 | ALE | ALE | – |
0x1 | CSn | CSn | CSn | |
0x2 | CS0n | CS0n | CS0n | |
0x3 | ALE | ALE | – | |
0x4 | – | |||
0x5 | CS0n | CS0n | – | |
0x6 | ALE | ALE | – | |
EPI0S31 | X | Clock (3) | Clock (3) | Clock (3) |
EPI0S32 | X | iRDY | iRDY | iRDY |
EPI0S33 | 0x0 | X | X | X |
0x1 | X | X | X | |
0x2 | X | X | X | |
0x3 | X | X | X | |
0x4 | X | X | X | |
0x5 | CS3n | CS3n | X | |
0x6 | X | |||
EPI0S34 | 0x0 | X | X | X |
0x1 | X | X | X | |
0x2 | X | X | X | |
0x3 | X | X | X | |
0x4 | X | X | X | |
0x5 | CS2n | CS2n | X | |
0x6 | X | |||
EPI0S35 | 0x0 | X | X | X |
0x1 | X | X | X | |
0x2 | X | X | X | |
0x3 | X | X | X | |
0x4 | X | X | X | |
0x5 | CRE | CRE | X | |
0x6 | X |
Table 16-8 shows how the EPI[31:0] signals function while in host-bus 16 mode. The signal configuration changes based on the address/data mode selected by the MODE field in the EPIHB16CFGn register, on the chip select configuration selected by the CSCFG and CSCFGEXT field in the same register, and on whether byte selects are used as configured by the BSEL bit in the EPIHB16CFG register.
Although the EPI0S31 signal can be configured for the EPI clock signal in host-bus mode, it is not required and should be configured as a GPIO to reduce EMI in the system. Any unused EPI controller signals can be used as GPIOs or another alternate function.
EPI Signal | CSCFG | BSEL | HB16 Signal (MODE = ADMUX) | HB16 Signal (MODE = ADNOMUX (Cont. Read)) | HB16 Signal (MODE = XFIFO) |
---|---|---|---|---|---|
EPI0S0 | X (1) | X | AD0 (2) | D0 | D0 |
EPI0S1 | X | X | AD1 | D1 | D1 |
EPI0S2 | X | X | AD2 | D2 | D2 |
EPI0S3 | X | X | AD3 | D3 | D3 |
EPI0S4 | X | X | AD4 | D4 | D4 |
EPI0S5 | X | X | AD5 | D5 | D5 |
EPI0S6 | X | X | AD6 | D6 | D6 |
EPI0S7 | X | X | AD7 | D7 | D7 |
EPI0S8 | X | X | AD8 | D8 | D8 |
EPI0S9 | X | X | AD9 | D9 | D9 |
EPI0S10 | X | X | AD10 | D10 | D10 |
EPI0S11 | X | X | AD11 | D11 | D11 |
EPI0S12 | X | X | AD12 | D12 | D12 |
EPI0S13 | X | X | AD13 | D13 | D13 |
EPI0S14 | X | X | AD14 | D14 | D14 |
EPI0S15 | X | X | AD15 | D15 | D15 |
EPI0S16 | X | X | A16 | A0 (2) | – |
EPI0S17 | X | X | A17 | A1 | – |
EPI0S18 | X | X | A18 | A2 | – |
EPI0S19 | X | X | A19 | A3 | – |
EPI0S20 | X | X | A20 | A4 | – |
EPI0S21 | X | X | A21 | A5 | – |
EPI0S22 | X | X | A22 | A6 | – |
EPI0S23 | X (3) | 0 | A23 | A7 | – |
1 | |||||
EPI0S24 | 0x0 | 0 | A24 | A8 | – |
1 | |||||
0x1 | 0 | ||||
1 | |||||
0x2 | 0 | ||||
1 | |||||
0x3 | 0 | ||||
1 | BSEL0n | BSEL0n | |||
0x4 | 0 | A24 | A8 | – | |
1 | |||||
0x5 | 0 | – | |||
1 | |||||
0x6 | 0 | – | |||
1 | BSEL0n | BSEL0n | |||
EPI0S25 | 0x0 | X | A25 | A9 | – |
0x1 | |||||
0x2 | 0 | A25 | A9 | CS1n | |
1 | BSEL0n | BSEL0n | |||
0x3 | 0 | A25 | A9 | – | |
1 | BSEL1n | BSEL1n | |||
0x4 | 0 | A25 | A9 | – | |
1 | BSEL0n | BSEL0n | |||
0x5 | 0 | A25 | A9 | – | |
1 | BSEL0n | BSEL0n | |||
0x6 | 0 | A25 | A9 | – | |
1 | BSEL1n | BSEL1n | |||
EPI0S26 | 0x0 | 0 | A26 | A10 | FEMPTY |
1 | BSEL0n | BSEL0n | |||
0x1 | 0 | A26 | A10 | ||
1 | BSEL0n | BSEL0n | |||
0x2 | 0 | A26 | A10 | ||
1 | BSEL1n | BSEL1n | |||
0x3 | X | CS0n | CS0n | ||
0x4 | 0 | A26 | A10 | – | |
1 | BSEL1n | BSEL1n | |||
0x5 | 0 | A26 | A10 | – | |
1 | BSEL1n | BSEL1n | |||
0x6 | 0 | CS0n | CS0n | – | |
1 | |||||
EPI0S27 | 0x0 | 0 | A27 | A11 | FFULL |
1 | BSEL1n | BSEL1n | |||
0x1 | 0 | A27 | A11 | ||
1 | BSEL1n | BSEL1n | |||
0x2 | X | CS1n | CS1n | ||
0x3 | X | CS1n | CS1n | ||
0x4 | X | CS0n | CS0n | – | |
0x5 | X | CS1n | CS1n | – | |
0x6 | X | CS1n | CS1n | – | |
EPI0S28 | X | X | RDn/OEn | RDn/OEn | RDn |
EPI0S29 | X | X | WRn | WRn | WRn |
EPI0S30 | 0x0 | X | ALE | ALE | – |
0x1 | X | CSn | CSn | CSn | |
0x2 | X | CS0n | CS0n | CS0n | |
0x3 | X | ALE | ALE | – | |
0x4 | X | ALE | ALE | – | |
0x5 | X | CS0n | CS0n | – | |
0x6 | X | ALE | ALE | – | |
EPI0S31 | X | X | Clock (4) | Clock (4) | Clock (4) |
EPI0S32 | X | X | iRDY | iRDY | iRDY |
EPI0S33 | X | X | CS3n | CS3n | X |
EPI0S34 | X | X | CS2n | CS2n | X |
EPI0S35 | X | X | CRE | CRE | X |
The RDYEN in the EPIHBnCFG enables the monitoring of the external iRDY pin to stall accesses. On the rising edge of EPI clock, if iRDY is low, access is stalled. The IRDYDLY can program the number of EPI clock cycles in advance to the stall (1, 2, or 3) (see Figure 16-5). This is a conceptual timing diagram of how the iRDY signal works with different IRDYDLY configurations. When enabled, the iRDY stalls the internal states of the EPI, while IRDYDLY controls the delay pipeline when this stall takes affect. The iRDY signal can be connected to multiple devices with a pullup resistor (see Figure 16-6). When multiple PSRAMs are connected to iRDY, the EPIHPnCFG registers must be programmed to the same iRDY signal polarity through the IRDYINV bit. When connected to a PSRAM, iRDY is used to control the address to data latency.