SPRUJ17H March 2022 – October 2024 AM2631 , AM2631-Q1 , AM2632 , AM2632-Q1 , AM2634 , AM2634-Q1
The MMCSD interface pins are summarized in Table 13-237.
Pin | Type | Description |
---|---|---|
MMCx_CLK | I/O(1) | MMC/SD serial clock output |
MMCx_CMD | I/O | MMC/SD command signal |
MMCx_DAT0 | I/O | MMC/SD data signal |
MMCx_DAT1 | I/O | MMC/SD data signal, SDIO interrupt input |
MMCx_DAT2 | I/O | MMC/SD data signal, SDIO read wait output |
MMCx_DAT[7:3] | I/O | MMC/SD data signals |
MMCx_POW | O | MMC/SD power supply control (MMCSD0 only) |
MMCx_SDCD | I | SD card detect (from connector) |
MMCx_SDWP | I | SD write protect (from connector) |
MMCx_OBI | I | MMC out of band interrupt |
The direction of the data lines depends on the selected data transfer mode as summarized in Table 13-238.
MMC/SD 1-bit mode | MMC/SD 4-bit mode | MMC/SD 8-bit mode | SDIO 1-bit mode | SDIO 4-bit mode | |
---|---|---|---|---|---|
DAT[0] | I/O | I/O | I/O | I/O | I/O |
DAT[1] | I(1) | I/O | I/O | I(2) | I/O or I(2) |
DAT[2] | I(1) | I/O | I/O | I/O(3) | I/O or O(3) |
DAT[3] | I(1) | I/O | I/O | I(1) | I/O |
DAT[4] | I(1) | I(1) | I/O | I(1) | I(1) |
DAT[5] | I(1) | I(1) | I/O | I(1) | I(1) |
DAT[6] | I(1) | I(1) | I/O | I(1) | I(1) |
DAT[7] | I(1) | I(1) | I/O | I(1) | I(1) |
The direction of the MMCSD data buffers are controlled by ADPDATDIROQ signals. ADPDATDIROQ[i] = 1 sets the corresponding DAT signal(s) in read position (input) and ADPDATDIROQ[i] = 0 sets the corresponding DAT signal(s) in write position (output). Additionally, the ADPDATDIRLS signals are provided (with opposite polarity) to control the direction of external level shifters. The value of these control signals for the various data modes are summarized in Table 13-239.
MMC/SD 1-bit mode | MMC/SD 4-bit mode | MMC/SD 8-bit mode | SDIO 1-bit mode | SDIO 4-bit mode | |
---|---|---|---|---|---|
DAT[0] | ADPDATDIRLS[0] = 0 / 1 ADPDATDIROQ[0] = 1 / 0 | ADPDATDIRLS[0] = 0 / 1 ADPDATDIROQ[0] = 1 / 0 | ADPDATDIRLS[0] = 0 / 1 ADPDATDIROQ[0] = 1 / 0 | ADPDATDIRLS[0] = 0 / 1 | ADPDATDIRLS[0] = 0 / 1 ADPDATDIROQ[0] = 1 / 0 |
DAT[2] | ADPDATDIRLS[2] = 0 ADPDATDIROQ[2] = 1 | ADPDATDIRLS[2] = 0 / 1 ADPDATDIROQ[2] = 1 / 0 | ADPDATDIRLS[2] = 0 / 1 ADPDATDIROQ[2] = 1 / 0 | ADPDATDIRLS[2] = 0 / 1 ADPDATDIROQ[2] = 1 / 0 | ADPDATDIRLS[2] = 0 / 1 ADPDATDIROQ[2] = 1 / 0 |
DAT[1] | ADPDATDIRLS[1] = 0 ADPDATDIROQ[1] = 1 | ADPDATDIRLS[1] = 0 / 1 ADPDATDIROQ[1] = 1 / 0 | ADPDATDIRLS[1] = 0 / 1 ADPDATDIROQ[1] = 1 / 0 | ADPDATDIRLS[1] = 0 ADPDATDIROQ[1] = 1 | ADPDATDIRLS[1] = 0 / 1 ADPDATDIROQ[1] = 1 / 0 |
DAT[3] | |||||
DAT[4] | ADPDATDIRLS[3] = 0 ADPDATDIROQ[3] = 1 | ADPDATDIRLS[3] = 0 ADPDATDIROQ[3] = 1 | ADPDATDIRLS[3] = 0 / 1 ADPDATDIROQ[3] = 1 / 0 | ADPDATDIRLS[3] = 0 ADPDATDIROQ[3] = 1 | ADPDATDIRLS[3] = 0 ADPDATDIROQ[3] = 1 |
DAT[5] | |||||
DAT[6] | |||||
DAT[7] |
ADPDATIRLSx = 0 for input and 1 for output — these signals are not pinned out on this device.
ADPDATIROQx = 1 for output and 1 for input.
Grayed cells indicate that the data line is not used in the selected transfer mode.