About CD pin of MCIMX6DL-SDP at SD Bootting

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

About CD pin of MCIMX6DL-SDP at SD Bootting

Jump to solution
662 Views
yuuki
Senior Contributor II

In MCIMX6DL-SDP,
Is CD signal used when it boots from SD2 port?

According to the reference manual and Datasheet, for USDHC-2 boot, GPIO_4 (R6 pin) is used as a CD signal.

ReferenceManual: (IMX6DLRM.pdf Rev1)
- Table 8-18. SD/MMC IOMUX Pin Configuration(P.425)
- Table 67-2. USDHC2 External Signals(P.5540)

DataSheet: (IMX6DLIEC.pdf Rev2.1)
- Table 89. Interface Allocation During Boot(P.133)

However, in MCIMX6DL-SDP, GPIO2_2 (F16 pin) is used.

These have inconsistency.

Should GPIO2_2 (F16 pin) be used in order to boot from SD2 port?

Best regards,

Labels (1)
0 Kudos
1 Solution
531 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello,Yuuki,

      CD pin means Card Dectection, in USDHC IP module, this signal is supported. But acctually on board, we used a GPIO pin to be Card Detection , you can also any GPIO pin for you uSDHC port. But you should add this CPIO pin to uSDHC data structure in BSP file.

      During booting from uSDHC port, ROM code doesn't check this pin , Only read data from card directly to internal RAM or DDR. The CD pin will be valid when system normally boot.

Regards,

Weidong

View solution in original post

0 Kudos
1 Reply
532 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello,Yuuki,

      CD pin means Card Dectection, in USDHC IP module, this signal is supported. But acctually on board, we used a GPIO pin to be Card Detection , you can also any GPIO pin for you uSDHC port. But you should add this CPIO pin to uSDHC data structure in BSP file.

      During booting from uSDHC port, ROM code doesn't check this pin , Only read data from card directly to internal RAM or DDR. The CD pin will be valid when system normally boot.

Regards,

Weidong

0 Kudos