Skip to content

Storage and General-Purpose Interface Circuits

Storage and General-Purpose Interfaces

1. TF Card (microSD) Circuit

The RV1126B core board integrates one SDMMC controller and one SDIO controller. Both support the SDIO 3.0 and MMC V4.51 protocols. The 4-bit data bus width supports SDR104 mode and can reach a maximum speed of 200MHz. After a TF card is inserted, the system automatically performs protocol conversion and voltage adjustment according to the corresponding mode (SD2.0 or SD3.0).

MicroSD Card Circuit

MicroSD Card Circuit

Signal NameConnection MethodDescription
SDMMC0_D[3:0]22Ω resistor in series / use the internal pull-up resistor of the corresponding IOSD data transmission and reception
SDMMC0_CLK22Ω resistor in series / pull-downSD clock transmission
SDMMC0_CMD22Ω resistor in series / use the internal pull-up resistor of the corresponding IOSD command transmission and reception
SDMMC0_DET100Ω resistor in series / use the internal pull-up resistor of the corresponding IOSD card insertion detection

💡 Schematic Design Notes

  • SDMMC_CLK already has a 22Ω resistor connected in series on the core board (SoM), so it does not need to be added again on the baseboard (carrier board).
  • The SDMMC_D[3:0], SDMMC_CMD, SDMMC_CLK, and SDMMC_DET signals must have ESD protection devices placed near the TF card interface. If SD3.0 mode is supported, the junction capacitance of the ESD device must be less than 1pF. If only SD2.0 mode is supported, the junction capacitance requirement can be relaxed to 9pF.
  • Because the SDMMC and JTAG functions are multiplexed (shared pins), adjustment through the SDMMC_DET_L pin is required when using the SDMMC function. This switching is determined during boot, and after the system has booted, it is handled by system control. This pin is internally pulled up by default and is pulled down to Low level when a TF card is inserted.

1.1 PCB Design Recommendations

All protection devices should be placed as close as possible to the TF card interface.

SDIO routing requirements:

ParameterSDIO Requirement
Trace impedanceSingle-ended 50Ω ±10%
Length matching between clock and data< 120mil
Trace length< 4 inches
Clearance between SDIO signal tracesAt least 2 times the SDIO trace width

2. USB3.0 Host Circuit

The RV1126B provides a total of two sets of USB 2.0 signals and one set of USB 3.0 signals. The current development board uses a solution in which USB 2.0 DRD is used as the firmware flashing interface, while USB 2.0 HOST and USB 3.0 DRD are combined to form one USB 3.0 HOST interface.

USB Multiplexer

USB Multiplexer

2.1 Schematic Design Recommendations

In this development design, a USB3.0 hub chip (HUB IC) is used to expand the USB3.0 ports.

Refer to the following schematic (or wiring diagram).

USB3.0 Hub Circuit

USB3.0 Hub Circuit

SignalDefault Pull-up/Pull-downConnection MethodDescription
USB_HOST_DM / USB_HOST_DPNone0Ω resistor in seriesData input/output in USB HS/FS/LS modes
USB3_HOST_SSRX1N / USB3_HOST_SSRX1PNone0Ω resistor in seriesData input in USB SS mode
USB3_HOST_SSTX1N / USB3_HOST_SSTX1PNone100nF capacitor in seriesData output in USB SS mode

💡 Schematic Design Suggestions

  • To improve anti-static and surge capability, make sure to reserve footprints for ESD protection devices on the signal lines. The ESD parasitic capacitance of USB 2.0 signals must not exceed 3pF.
  • To suppress electromagnetic radiation (EMI), consider placing common-mode choke coils on the signal lines. During debugging, install either resistors or common-mode choke coils according to the actual situation.
  • It is recommended to add a current-limit switch to the 5V power supply. The current-limit value can be adjusted according to application requirements.

2.2 PCB Design Recommendations

All ESD protection devices should be placed as close as possible to the USB interface. The routing requirements for USB 2.0 and USB 3.0 are as follows.

Table: USB 2.0 Routing Requirements

ParameterUSB 2.0 Routing Requirement
Trace impedanceDifferential 90Ω ±10%
Maximum delay difference (skew) within a differential pair< 20mil
Trace length< 6 inches
Number of vias allowed for each signalRecommended within 4 vias (maximum 6 vias)

Table: USB 3.0 Routing Requirements

ParameterUSB 3.0 Routing Requirement
Trace impedanceDifferential 90Ω ±10%
Maximum delay difference (skew) within a differential pair< 6mil
Trace length< 6 inches
Capacitor requirement100nF ±20% (0201 package recommended)
Clearance between differential pairsRecommended to be at least 4 times the USB trace width
Clearance between USB and other signal tracesRecommended to be at least 4 times the USB trace width
Number of vias allowed for each signalRecommended within 2 vias
ESD device I/O-to-ground capacitance0.2pF or less