Question, SD card detection on i.MX8M mini-EVK

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

Question, SD card detection on i.MX8M mini-EVK

1,095 Views
SLICE
Contributor IV

Dear team,

I would like to ask about SD Card detection on i.MX8M Mini-EVK.

At i.MX8M mini-EVK(i.MX 8M Mini LPDDR4 EVK),
It seems that overvoltage monitoring (?) Of USB2 is performed by setting SD2_CD_B to GPIO2_IO12.
On the other hand, it looks as if the SD card insertion detection is performed by GPIO1_IO15 (set to GPIO1_IO15).
The SD2_CD_B (SD card insertion detection) function can be assigned as it is, but why dare you use another GPIO?

Best Regards,

Miyamoto

Labels (1)
0 Kudos
3 Replies

940 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

 

Early board revision didn't have this feature enabled (sd slot card detect pin), once this feature was added (EVK Rev B) to avoid further modification to hardware it was patched using another gpio (gpio1_io15).

 

For reference you may take a look here:

MLK-19117 ARM64: dts: imx8mm-evk: add usdhc2 cd support

 

Hope this helps,

Best regards,

Aldo.

0 Kudos

940 Views
SLICE
Contributor IV

Hello nxf46838

Thanks for your support!

I understand your situation. But the customer wants to know the followings.

Are there any restrictions between using SD2_CD_B and GPIO1_IO15?

They want to know whether if the same SD-Card detection feature can be obtained by using SD2_CD_B or using GPIO1_IO15.

 Could you show me that?

Best Regards,

Miyamoto

0 Kudos

940 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

 

If using EVK REV B or latest, customer needs to change resistors R216, R217, R218 and R219 changes to device tree are also needed.
If customer is planning to make their own design they may use any of those two they find more convenient. Also, customer could take a look to the i.MX_Porting_Guide.pdf chapter 10 Adding SDHC.

 

Hope this helps,

Best regards,

Aldo.

0 Kudos