In Nano, cd-gpios must be active low, but in NX, it must be active high. I want to know why.
This does not really matter… could be pinmux issue or your board design problem. If it can work, then it is okay…
Or try to remove “cd-inverted” and see if that makes any difference.
I mean it’s working properly if the SD card inserted before booting-up However, the SD card is still recognized even when it is removed after the boot is completed. Also, if you don’t insert it before booting, but after booting is complete, it won’t recognize it.
As a result of checking the GPIO state with the command you told me, Nano changes well :
Nano Message
If SD card is inserted
gpio-194 (GPIO12 | cd) in hi IRQ
and SD card is removed
gpio-194 (GPIO12 | cd )in lo IRQ
But In the case of XavierNX, the message is consistent.
XavierNX Message
gpio-268 (GPIO12 | cd )in lo
Now I think Active Low is right
However, I still use the same GPIO pin on the same board as Nano, so I don’t know why Xavier NX doesn’t detect Low signal. In this case, I would appreciate it if you could tell me in detail which part of pimmux and board design should be checked.
Even if I remove cd-inverted, it doesn’t work properly like the reply I wrote above
Many thanks
could you please refer to Jetson Xavier NX Product Design Guide, you may see-also [Figure 10-1.SD Card Connection Example] to review your hardware connections.
besides…
as you can see in the device tree. there’s PWM fan that’s using GPIO12.
since you’re having your product design, please review your hardware connections.