This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[DM814x] SD Card detection

Other Parts Discussed in Thread: DM385

With DM814x, Linux (latest PSP), there is a question about SD Card detection.


[Q1] Without using SDCD (SD0_SDCD, SD1_SDCD, SD2_SDCD) pin connection, is it possible to implement the SD Card insertion auto detection, with using other pin, for example one of data lines?

[Q2] If it is possible, can you guide how to implement it?


Thanks and regards,

Hayden

  • Hi Hayden,

    I think this should be possible, using the polling mode. Refer to the below wiki page for more info:

    http://processors.wiki.ti.com/index.php/TI81xx_PSP_Porting_Guide#Using_polling_functionality

    The polling functionality is used as a work around to detect the insertion/removal of the MMC/SD card when the card detect pin is not connected.

    The example provided is for DM385 device, but should be similar for DM814x device. You can reuse the board-dm385evm.c file with linux-src/arch/arm/mach-omap2/board-ti8148evm.c file.

    Regards,
    Pavel

  • Hey Hayden,
    I also want to point it out here that please make sure your SDx_SDCD card pin must be pull down enable.If you are not using this pin.
    If not please make it done during pin muxing.


    Regards
    Nitish Mehta