General
Review and verify the following for
the custom schematic design:
- Reviewed above "Common
checklist for all sections" section of the user's guide
- Verify the MMC port used for
SD card interface. The recommendation is to use MMC1 for SD card
interface.
- Implementation of series
resistor and pulldown for MMC1_CLK
- MMC1 CMD and DAT[3:0] signals
interface
- IO supply for IO group supply
connection
- Pull values used for the
data, command and clock signals
- Implementation of MMC1 SDCD
and SDWP signals connection
- Circuit implementation to
support UHS-I card
- Supply rail connected to the
SD card power switch input
- Implementation of SD Card
Power Supply Switch EN Reset logic
- ESD protection provision for
the SD interface signals
Schematic Review
Follow the below list for the custom
schematic design:
- Required bulk and decoupling
capacitors are provided for the supply rails. The recommendation is to
follow the processor-specific EVM or SK implementation for bulk and
decoupling capacitors when recommendations are not available.
- Supply rails connected to
processor IO supply for IO groups VDDSHVx (VDDSHV5 and VDDSHV0) follow the
ROC.
- The MMC1 CLK, CMD, and
DAT[3:0] signals interfaces are implemented using SDIO buffers referenced to
(powered by) IO supply for IO group VDDSHV5 (SDIO buffer type IOs support
dynamic voltage switching 3.3V or 1.8V to support UHS-I SD card).
- 47kΩ pullup is recommended
for data and command signals to meet the SD card specification (in case
internal pullups are unexpectedly enabled the resulting pullup (47kΩ
parallel to the internal pullup) value is still within the specified range).
- Series resistor (0Ω) for
MMC1_CLK is placed close to processor clock output pin to control possible
signal reflections (which can cause false clock transitions). A pulldown
(10KΩ) is placed near to the attached device clock input.
- MMC1 SDCD and SDWP signals
are implemented using LVCMOS buffers referenced to (powered by) IO supply
for IO group VDDSHV0, which operate at fixed 1.8V or 3.3V.
- The recommendation is to add
a series resistor 100Ω on the SDCD pin since the processor IO connects
directly to the ground when the SD card is inserted.
- Verify the internal LDO
configuration and connection.
- To support UHS-I SD card,
while the IO voltage for SD card interface can be 1.8V or 3.3V, the SD card
VDD supply is a fixed 3.3V supply (3.3V_SYS, IO supply for IO group 3.3V
supply).
- The recommendation is to
provide provision for a software-enabled (controlled) power switch (load
switch) that sources the power supply (VDD) to the SD card. A fixed 3.3V
supply (processor IO supply) is connected as the input to the power switch.
The output of the power switch is connected toVDDA_3P3_SDIO (SDIO 3.3V
analog supply, input to the internal SDIO LDO).
- The recommendation is to
implement the SD card power switch enable and reset logic using a 3-input
ANDing logic. Processor GPIO is connected as one of the inputs to the AND
gate with provision for pullup (10kΩ or 47kΩ) (to support SD card boot) near
to the ANDing logic AND gate and provision for 0Ω to isolate the GPIO output
for testing or debug. The other two inputs to the AND gate is the MAIN
domain POR (cold reset) status output (PORz_OUT) and MAIN domain warm reset
status output (RESETSTATz). The external power switch sourcing the SD card
power supply is recommended to default to ON (powered state) to support SD
card boot.
Additional
- The logic state of the MMC1_SDCD
and MMC1_SDWP inputs to the host must not change when a UHS-I SD card changes
the IO operating voltage. Maintaining a valid logic state is not possible if the
signals propagate through an input buffer of a dual-voltage SDIO cell that
changes voltage. The signal functions are assigned to IOs that do not change
voltage dynamically. Signals only connect to switches in the SD card connector,
so there is no reason for the signals to change voltage when the SD card signals
change operating voltage. The MMC1_SDCD and MMC1_SDWP signals are required to
connect to the SD card connector switches and pull high with external pull
resistors connected to the VDDSHV0. The other MMC1 SD card signals with pullups
are required to have pulls powered by the VDDSHV5 source that dynamically
changes voltage
- An SD card power switch (with the
power switch supply EN pin reset logic) and the host IO power supply circuit is
required to support UHS-I SD cards which begins communication using 3.3V IO
level and later change to 1.8V IO level when changing to one of the faster data
transfer speeds. Cycling power to the SD card is the only way to cycle back into
3.3V mode since SD cards do not have a reset pin. The host IO power supply must
power off and on and change voltage at the same time as the SD card. The
circuits and the software driver operating the signals sourcing the circuits
verifies that both devices are off, or on and operating at the same IO voltage
at the same time.
- UHS-I implementation and internal
LDO use case: There is no requirement for VDDA_3P3_SDIO power rail to ramp along
with the other 3.3V power rails. There is no issue with VDDA_3P3_SDIO being off
until after reset is released. This is updated in the next revision of the AM64x
data sheet. The SDIO_LDO only controls the operating voltage of the AM64x
VDDSHV5 IOs it does not control the operating voltage of the SD card. The SD
card features a SDIO_LDO equivalent circuit that changes its IO operating
voltage from 3.3V to 1.8V via a command, but the only way to change the SD card
IO operating voltage back to 3.3V is to cycle power (reset). The AND gate and
load switch applies power to the AM64x SDIO_LDO and the SD card (after reset)
and the ROM code provides enough delay to verify the SD card is ready.
- To optimize the ANDing logic, use
a dual input AND gate with RESETSTATz and the processor IO as inputs.
- Add a 100Ω series resistor to the
SDCD pin since processor IO connects directly to the ground when the SD card is
inserted.