According to the Datasheet you shared the CardDetect has to be realized on Hardware. We recommend you to use a separate GPIO for CardDetect. We never tested this multiplexed version of DAT3/CD on our carrier boards but you can test this on the Toradex Verdin Evaluation Board.
I also found this NXP Thread, where a solution was discussed for iMX6.
Hi @jaski.tx ,
Thanks for your reply. I know that the recommended implementation of CardDetect is via a mechanical switch, but our cardholder doesn’t provide one, due to mechanical constraints.
I was already aware of the s NXP Thread, however, it’s from 2013 and I was hoping that the driver is now capable of handling the DAT3/CD mechanism. Anyway I will dig deeper and post my results here.
Best Regards, Klaus