SD Express Design Guide
SD Express Design Guide
x)
Host Implementation Guideline
Trademarks Notice:
SD and related marks and logos are trademarks of SD-3C LLC.
Table of Tables
Table 1 Voltage Ranges and Max Currents Allowed in SD Express card at PCIe mode . . . . . . . . . 12
Table 2 NVMe Drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Table 3 Existing SD Drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Table 4 Pros and Cons of Initialization options: SD-First or PCIe-First . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Table 5 PCIe Power Substates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Table 6 Card’s Maximum Card Case Temperature (Tc) allowed at each Power State . . . . . . . . . . . 17
SD Express (SD7.x) Host Implementation Guideline
3 www.sdcard.org | ©2020 SD Association. All rights reserved
1. Purpose And Scope
The SD Association (SDA) introduced SD Express via the 1.1 Referenced Documents
SD7.0 and microSD SD7.1 specifications in anticipation of
new market demands for high performance applications 1.1.1 SDA Specifications:
such as mobile computing, gaming and Internet of • Part 1 Physical Layer Specification Ver 7.0 (SD Express
Things (IoT) as well as opening new opportunities for full size introduced) referred hereafter as SD7.0 and its
removable memory cards usage. SD Express integrates Standard Size Mechanical Addendum Ver7.0.
PCIe/NVMe interface to the legacy SD interface for SD and • Part 1 Physical Layer Specification Ver 7.1 (microSD
microSD memory cards while maintaining full backward Express added) referred hereafter as SD7.1 and the
compatibility. microSD Card Addendum Ver 7.0. Note: When SD7.x
specification is mentioned, it relates to both SD7.0
The SDA prepared this document to provide
and SD7.1.
recommendations on how to implement SD Express into
• Part A2 Standard Host Controller Ver 6.0 – Referred
host products to maximize the specification’s capabilities
also as SHC. Note that SHC Ver 7 that will include
of the new PCIe/NVMe interface and maintain backwards
SD Express interface is under release process and is
compatibility.
expected to be available by mid-2020.
Note that only SDA members and host or card licensees may
get an access to the official SDA specifications. In order to
become a member – please refer to this link.
SD Express and microSD Express memory cards are based The functional interface:
on SD Physical spec version 7.0 and 7.1, respectively. For • In PCIe mode of operation, the card introduces itself
simplicity sake, we will refer to them both as SD Express to the host as a standard “NVM Express Device” (PCIe
hereafter. Both have the same general block diagram, as Class ID: 01h->08h->02h; as shown in PCI Code ID
shown in Figure 2. spec). This is the same as other NVMe devices like SSD
or M.2 devices, so standard PCI/NVMe drivers can be
To simplify the concept, an SD Express card can be
used to access the card in PCIe mode.
considered a traditional UHS-I memory card with the PCIe
• SD Express card may be initialized either through
interface and NVMe protocol.
the SD interface or through the PCIe interface. The
SD Express Card Block Diagram card may automatically recognize the PCIe mode of
VDD1 3.3v
SD/PCIe Mode indication CPU operation upon VDD2 supply from the host.
VDD2 1.8v
CLK
SD_CLK
SD_CMD
SD Host • If a host operates in PCIe mode, it may either:
CMD Interface
PCIe/SD
Module A. SD-First: Initialize the SD Express card through SD
Mode SD_DAT3
interface first after power up of VDD1, check if card
Memory management
SD_DAT2
Mux/De-Mux
Bi-directional
SD_DAT1
Memory device
SD_DAT3/PCIe_PERST#
DAT3
SD_DAT2/PCIe_CLKREQ# SD_DAT0
supports PCIe, if it support PCIe it will switch to
DAT2
DAT1
SD_DAT1/PCIe_REFCLK_N PCIe mode by supplying VDD2.
SD_DAT0/PCIe_REFCLK_P PCIe_PERST#
DAT0 PCIe/NVMe
PCIe_CLKREQ#
Interface
B. PCIe-First: Access the card directly in PCIe mode
PCIe_REFCLK_N
PCIe_REFCLK_P right after power up of VDD1 followed by VDD2.
PCIe_TX+ PCIe_RX_P • Starting with SD interface initialization is recommended
PCIe_TX- PCIe_RX_N
PCIe_RX+ PCIe_TX_P because it allows faster initialization if a legacy
PCIe_RX- PCIe_TX_N
SD memory card is inserted. It is also the most
Figure 2 SD Express Card Block Diagram straightforward implementation without changing PCIe
or NVMe drivers and has minimal effect on the overall
The physical interface: initialization time versus initializing through PCIe
• The PCIe physical interface is as defined by PCI-SIG: interface (as further explained in section 5.4 below).
PCIe 3.1 specification, single lane.
Bottom line:
• The SD Express adopted the PCIe 3.1 spec using the
Implementation of SD Express host is simple, because:
following side band signals: PERST# and CLKREQ#.
1. Existing PCIe interface may be used as is and existing
• Power Supply of VDD2 = 1.8v (in addition to
SD interface with minimal addition may be used.
VDD1=3.3v) is mandatory for the PCIe interface to
2. A relatively simple hardware mux/de-mux unit needs
operate.
to be added at the front end allowing the separation
• Due to the limitation of space, the two side band
of the PCIe side band and REFCLK+/- signals from the
signals and the REFCLK+/- signals are muxed with the
SD DAT lines. There are readily available off-the-shelf
SD DATA lines.
dedicated units designed to perform mux/de-mux in
the market today, making implementation easy.
System IO Registers
SD_CLK
• Differential interfaces SD_CMD CLK
CMD
- PCIe_TX_P and PCIe_TX_N – Inputs to the card SD Host SD_DAT3
PCIe/SD
Mode
- PCIe_RX_P and PCIe_RX_N – Outputs from the card Controller SD_DAT2
Analog Switch
Bi-directional
(At least 3.0) SD_DAT1 SD_DAT3/PCIe_PERST#
DAT3
• Differential CLK Interface SD_DAT0 SD_DAT2/PCIe_CLKREQ#
DAT2
SD_DAT1/PCIe_REFCLK_N
- PCIe_REFCLK_P and PCIe_REFCLK_N – Inputs PRSNT#
PCIe_PERST# SD_DAT0/PCIe_REFCLK_P
DAT1
DAT0
to the card PCIe_CLKREQ#
PCIe/NVMe Sys IO
PCIe/NVMe PCIe_REFCLK_N
These lines are muxed in the card with DAT0 Interface PCIe_REFCLK_P
New
and DAT1 of the SD interface (legacy with PCIe_TX_P PCIe_TX+
hot plugin PCIe_TX_N PCIe_TX-
PCIe_RX_P
• Sideband Signals support) PCIe_RX+
PCIe_RX_N PCIe_RX-
- PERST# – logic output from host to the card,
muxed in the card with DAT3 of the SD interface Figure 6 SD Express Host – Block Diagram
- CLKREQ# – Open drain I/O for both card and host
with pullup on host side, muxed in the card with The block diagram example of an SD Express host in Figure
DAT2 of the SD interface 6 shows a case in which host vendor, or chip-set vendor,
utilizes the existing PCIe host IP that supports hot plugin with
In addition, there is a VDD2 (1.8v) supply to the card that
card presence detect PRSNT# input and SD Host Controller
is required only for the PCIe mode. A possible solution is
with at least SD Host Controller (SHC) V3 specification
to use an existing PCIe host module and existing PCIe/
interface with minimal addition of two new control registers
NVMe drivers along with minimum changes in the SD host
to implement a unified SD Express card interface.
controller with an added analog switch for the front end, is
recommended by SDA and described in the next paragraph. The Bi-Directional Analog Switch shown is a functional
Note that there are other solutions allowing use of existing representation of various possible practical solutions that
circuitry of PCIe interface from different vendors available may be implemented. Its functionality is to do the switching
in the marketplace today. An example of such off-the-shelf between SD_DAT(3:0) lines and the side band signals + PCIe
solution is provided in Appendix B. REFCLK, allowing a single functionality, at a single time,
The SD Express interface was defined in a way that existing towards the SD Express card – either as PCIe or as SD. It is
PCIe IP (supporting hot plugin) and SD host controller V3 assumed that the PCIe/SD functionality is selected through a
may be used to implement the SD Express interface with control line.
minimal additions. The only challenge on the host side
SD Express (SD7.x) Host Implementation Guideline
9 www.sdcard.org | ©2020 SD Association. All rights reserved
The VDD2 line supplied to the SD Express only for PCIe Figure 8 shows a straightforward example of usage of
operation mode may be used to switch the Analog Switch external discrete component serving as Bi-Directional Analog
to PCIe mode. Note that the PCIe/SD Mode control signal, Switch. Any type of solution that will meet the SD Express
used for the Switch, and VDD2 may be implemented as interface requirements is acceptable.
separate control lines; however, it may be Card Detect Card Detect SW
GPIO2
VDD2_ON
simplified if VDD2 is used for the front end
SD_CLK 5 SD_CLK
PCIe/SD mode selection (see example as SD_CMD 3 SD_CMD
SD Host
well as the initialization flow charts shown in SD_DATA0 7 SD_DATA0/PCIe_REFCLK_P
8 SD_DATA1/PCIe_REFCLK_N
Chapter 5). SD_DATA1
EN
SD_DATA2 1.8V
DC-DC 9 VDD2 ( 1.8V)
Regulator 22uF
The Card Detection Mechanism in Figure SD_DATA3
Off-the-shelf analog switch
PCIe/NVMe_Interface_Enable#
GPIO1
6 shows an existing SD socket card detect
switch connected to an existing SHC and the PRSNT# 1 SD_DATA2/PCIe_CLKREQ#
2 SD_DATA3/PCIe_PERST#
REFCLK_P
Note that in any case, the card is not allowed to consume 4.6 PCIe Sideband signals CLKREQ# and PERST#
more than 1.80W in total. Guidelines
Refer to Section 8.2.4 of SD 7.0 Specification for CLKREQ#
Peak Current [Max Normal Current [Max
Power Rail Voltage Range Avg at 25usec (mA)] Avg at 1sec (mA)] and PERST# electrical specification.
VDD1 (3.3) 2.7 - 3.6V 600 400
4.7 PCIe AC Coupling Capacitors
VDD2 (1.8) 1.7 – 1.95V 600 400
Refer to Section 8.2.5 of SD 7.0 Specification for A.C.
Table 1 Voltage Ranges and Max Currents coupling capacitors placement guidelines.
Allowed in SD Express card at PCIe mode
4.8 PCIe TX/RX PHY Protection
4.3 Hot Plug-in/Removal and Card Detection Refer to Section 8.2.6 of SD 7.0 Specification for 3.3v IO tolerance
The PCIe host should support Hot plug-in and removal. on PCIe TX/RX PHY.
It is highly recommended to turn off the power supplies
before card removal. An SD Express host should use the 4.9 ESD Recommendations
card detection switch of the connector as the SD Express Refer to Section 6.8 of SD 7.0 Specification ESD Guidelines.
card presence detection mechanism, which is the same as
used by the existing SD Host Controller. The card presence 4.10 SD Express and microSD Express
detection of the PCIe interface (PRSNT#) is connected to the Connectors Suppliers
output of SHC, allowing the SD drivers to inform the PCIe 4.10.1 SD Express Full Size Card Connector
interface about card insertion/removal. The SD Express pads layout/location is identical to UHS-II;
therefore, any existing full-size SD UHS-II connectors that
VDD2 shall be OFF while card is inserted. VDD2 should operate in the desired speeds will work. It is recommended to
be turned on only if PCIe interface is to be initiated and check with the connector vendors for availability and supported
always only after VDD1 was turned ON. VDD2 is used to frequencies.
switch the front-end Analog Switch of the host to PCIe
mode as well as is one of the factors that will trigger card SDA members offering UHS-II connectors suppliers include:
to switch into PCIe mode. • Yamaichi - Link1 Link2
• Amphenol ICC - Link
4.4 PCIe Differential Voltage Swing • Others1
Refer to Section 8.2.2 of SD 7.0 Specification for differential
4.10.2 microSD Express Connector
voltage swing details.
The microSD Express Card requires new connectors to be used
_____________ because the location and size of the second row is different from
(1) The listed sources are the companies known to the author at the publication the microSD UHS-II cards.
date. Any other SDA member that supply such connectors are welcome to microSD Express (SD7.1) connector suppliers:
contact SDA office to be added in the given list.
• Amphenol ICC - www.amphenol-icc.com/micro-sd-express
(2) The listed sources are the companies known to the author at the publication
• Others2
date. Any other SDA member that supply such connectors are welcome to
contact SDA office to be added in the given list.
SD Express (SD7.x) Host Implementation Guideline
12 www.sdcard.org | ©2020 SD Association. All rights reserved
5. SW Drivers
5.4 The New SD Drivers Functionality Note that fallback option (switch PCIe mode to SD mode) in
both cases is not shown because it requires, for example, a
As mentioned earlier, in order to support the SD Express special OS Sys application that tracks the PCIe initialization
Host example shown in Figure 7 only the SD drivers need failure and provides the information to the SD drivers, and
to be updated, in comparison to the SD-mode-only SHC such information may not be provided directly from the
v3 drivers. Standard PCIe drivers that support hot plugin standard PCIe drivers. This application is not defined because
and standard NVMe drivers may be used as-is. Figure 13 the fallback method relies on host system implementation.
below shows more detail of the init flow of the SD Express
supported SD driver for SD-First case. The green blocks Table 4 describes the advantages of one initialization process
relate to the SD driver and the blue to the PCIe drivers. over the other.
- De-assert PCIe_PRSNT#
- Turn Off VDD2
Start SD CLK and Init up to CMD8
Host vendors should be aware that this interface supports prevents SD Cards without the PCIe interface to go through
either legacy SD cards or SD Express cards. But for SD the trial of PCIe and the subsequent time consuming
Express cards, there is no fallback to SD option proposed re-tries. As long as standard PCIe drivers are used – the
in the rare chance of a malfunctioning PCIe interface. option of SD-First (without fallback option) is both the
safest and fastest solution.
SDA recommends implementation of the SD-First option
using an updated SD driver that can handle the switch
between either SD mode or PCIe/NVMe mode. This
Power consumption affects two main aspects: Consumed by the card. SD Express specification defined three power
Energy, or power over time, which impacts battery life; and levels supported by any SD Express card as following: 1.8W
thermal issues arising from high power generating heat (default), 1.44W and 0.72W (Refer to Section 8.1.8 in SD7.x
that needs to be controlled and kept under the maximum specification for further information).
allowed temperatures.
The detailed description of the Power States structure and
Following are the main two PCIe/NVMe features that should usage by NVMe is provided in the NVMe Specification, Section 8.4.
be used by the host to take control over the above two issues. For SD Express card operates in SD mode the same power
levels (1.8W, 1.44W and 0.72W) are supported and controlled
6.1 PCIe Power Management
through the existing SD power modes control mechanism.
PCIe interface supports several Power Modes (PM) that
A SD Express host will use the NVMe power states for thermal
control the consumed power in idle state by setting internal
management assuming that limiting the card’s power
various configurations of the differential interface as shown
consumption should reduce the card’s case temperature.
in Table 5. Each state might have different power vs. wake-
Refer to the thermal management feature in NVMe Protocol
up time characteristics.
Section 8.4.5 for more information.
For longer battery life host should support L1.0 and its
substates (L1.1 and L1.2) along with the control of CLKREQ#
signal (as introduced by PCIe 3.1) for maximum power
saving during idle mode.
Table 6 Card’s Maximum Card Case Temperature (Tc)
allowed at each Power State
Reference: https://www.researchgate.net/publication/271551161_Characterization_for_
graphene_as_heat_spreader_using_thermal_imaging_method
There are existing off-the-shelf SD Express host solutions available in the market that product
manufacturers may choose to adopt in case it fits their needs.
BayHub Technology provides a solution for SD Express (SD7.x) Host Controller implementation
as described in the following here: http://www.bayhubtech.com/upload/Image/20200414/202
00414013403_92715.jpg
_____________
(3) The listed resources are companies known to the author at the publication date. Any other SDA
member that supply such solutions are welcome to contact SDA office to be added in the given list.