Hi,
I cannot find any information for detecting the presence of an SD card for T3.6's built-in Sdio card slot. I'm aware this can be done with may of the spi card reader modules but I need the additional speed provided by the builtin sd card.
Does anybody know if this is directly wired to any pins on the T3.6 processor, and if so could you give some guidelines on whether I can include an ISR to implement code when the card is detected vs. not detected.
I am using this with a TFT screen so in the absence of a card detect pin the only option I see is to have the Teensy read the card and if an error is returned when reading, then assume the card is removed and enter a reset type screen waiting for a user to touch a button on TFT screen to say it has been inserted. Then I can get it to go through initialization of the SDFat library again and resume operation. However a Card Detect pin on an ISR would be simpler and more reliable in my opinion.
Hopefully, someone can help.
Regards,
Pat
I cannot find any information for detecting the presence of an SD card for T3.6's built-in Sdio card slot. I'm aware this can be done with may of the spi card reader modules but I need the additional speed provided by the builtin sd card.
Does anybody know if this is directly wired to any pins on the T3.6 processor, and if so could you give some guidelines on whether I can include an ISR to implement code when the card is detected vs. not detected.
I am using this with a TFT screen so in the absence of a card detect pin the only option I see is to have the Teensy read the card and if an error is returned when reading, then assume the card is removed and enter a reset type screen waiting for a user to touch a button on TFT screen to say it has been inserted. Then I can get it to go through initialization of the SDFat library again and resume operation. However a Card Detect pin on an ISR would be simpler and more reliable in my opinion.
Hopefully, someone can help.
Regards,
Pat