SPRUIM2H May 2020 – October 2023 AM2431 , AM2432 , AM2434 , AM6411 , AM6412 , AM6421 , AM6422 , AM6441 , AM6442
The FSS0_OSPI0 module is hereinafter referred to as OSPI module.
This section describes the OSPI external connections (environment).
The OSPI module is primarily intended for fast booting from Octal- and Quad-SPI flash memories. Figure 12-1539 shows a typical connection of the OSPI module to an external Octal-SPI flash memory.
Table 12-3067 lists and describes the FSS0_OSPI I/O signals.
Module Pin | Device Level Signal | I/O(1) | Description | Module Pin Reset Value(2) |
---|---|---|---|---|
FSS0_OSPI0 | ||||
DQ0 | OSPI0_D0 | IO | FSS0_OSPI0 data input/output 0 | HiZ |
DQ1 | OSPI0_D1 | IO | FSS0_OSPI0 data input/output 1 | HiZ |
DQ2 | OSPI0_D2 | IO | FSS0_OSPI0 data input/output 2 | HiZ |
DQ3 | OSPI0_D3 | IO | FSS0_OSPI0 data input/output 3 | HiZ |
DQ4 | OSPI0_D4 | IO | FSS0_OSPI0 data input/output 4 | HiZ |
DQ5 | OSPI0_D5 | IO | FSS0_OSPI0 data input/output 5 | HiZ |
DQ6 | OSPI0_D6 | IO | FSS0_OSPI0 data input/output 6 | HiZ |
DQ7 | OSPI0_D7 | IO | FSS0_OSPI0 data input/output 7 | HiZ |
N_SS_OUT0 | OSPI0_CSn0 | O | FSS0_OSPI0 external flash device chip select 0 | 0x1 |
N_SS_OUT1 | OSPI0_CSn1 | O | FSS0_OSPI0 external flash device chip select 1 | 0x1 |
N_SS_OUT2 | OSPI0_CSn2 | O | FSS0_OSPI0 external flash device chip select 2 | 0x1 |
N_SS_OUT3 | OSPI0_CSn3 | O | FSS0_OSPI0 external flash device chip select 3 | 0x1 |
OCLK | OSPI0_CLK | O | FSS0_OSPI0 clock output for the external flash device | 0x0 |
OSPI0_LBCLKO | O | FSS0_OSPI0 external loopback output | 0x0 | |
DQS | OSPI0_DQS | I(3) | FSS0_OSPI0 data strobe / external loopback input | Don't care |
RESET_OUT0 | OSPI0_RESET_OUT0 | O(4) | FSS0_OSPI0 reset output 0 for the external flash device. Pin is active low. | 0x1 |
RESET_OUT1 | OSPI0_RESET_OUT1 | O(4) | FSS0_OSPI0 reset output 1 for the external flash device. Pin is active low. | 0x1 |
ECC_FAIL | OSPI0_ECC_FAIL | I | FSS0_OSPI0 ECC status from the external flash device | 0x1 |
Table 12-3068 describes the OSPI I/O connectivity to external SPI devices.
Module Pin | I/O(1) | Description | |||
---|---|---|---|---|---|
4-pin(1) SPI - Single Read/Write (SIO) (DATA_XFER_TYPE_EXT_MODE_FLD=0x0) | 4-pin(1) SPI - Dual Read/Write (DATA_XFER_TYPE_EXT_MODE_FLD=0x1) | 6-pin(1) SPI - Quad Read/Write (DATA_XFER_TYPE_EXT_MODE_FLD=0x2) | 11-pin(1) SPI - Octal Read/Write (DATA_XFER_TYPE_EXT_MODE_FLD=0x3) | ||
DQ0 | IO | Used as SPI data output | Used as SPI data input 0 Used as SPI data output 0 | Used as SPI data input 0 Used as SPI data output 0 | Used as SPI data input 0 Used as SPI data output 0 |
DQ1 | IO | Used as SPI data input | Used as SPI data input 1 Used as SPI data output 1 | Used as SPI data input 1 Used as SPI data output 1 | Used as SPI data input 1 Used as SPI data output 1 |
DQ2 | IO | Not used | Not used | Used as SPI data input 2 Used as SPI data output 2 | Used as SPI data input 2 Used as SPI data output 2 |
DQ3 | IO | Not used | Not used | Used as SPI data input 3 Used as SPI data output 3 | Used as SPI data input 3 Used as SPI data output 3 |
DQ4 | IO | Not used | Not used | Not used | Used as SPI data input 4 Used as SPI data output 4 |
DQ5 | IO | Not used | Not used | Not used | Used as SPI data input 5 Used as SPI data output 5 |
DQ6 | IO | Not used | Not used | Not used | Used as SPI data input 6 Used as SPI data output 6 |
DQ7 | IO | Not used | Not used | Not used | Used as SPI data input 7 Used as SPI data output 7 |
DQS | I(2) | Not used | Not used | Not used | Data strobe or loopback clock input |
OCLK | O | Output clock or loopback clock output. For more information, see Table 12-3067. | |||
N_SS_OUT0 | O | External SPI device chip-select 0 | |||
N_SS_OUT1 | O | External SPI device chip-select 1 | |||
N_SS_OUT2 | O | External SPI device chip-select 2 | |||
N_SS_OUT3 | O | External SPI device chip-select 3 | |||
RESET_OUT0 | O | External SPI device reset 0. Pin is active low. | |||
RESET_OUT1 | O | External SPI device reset 1. Pin is active low. | |||
ECC_FAIL | I | External SPI device ECC failure indication |
For OSPI0_CLK, OSPI0_LBCLKO, and OSPI0_DQS signals to work properly, the RXACTIVE bit of the appropriate CTRLMMR_PADCONFIGx registers should be set to 0x1 because of retiming purposes.
For more information about device level signals (pull-up/down resistors, buffer type, multiplexing and others), see tables Pin Attributes and Pin Multiplexing in the device-specific Datasheet.