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,
已解决! 转到解答。
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
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