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.

SD card detect function

Other Parts Discussed in Thread: TMS320DM365

Hello,

I looked at the mmc/sd linux driver, and there are some function named or related to sd card detect. So it seems that the card detect function is supported.

The SD specifications, say that when detecting the card detect signal, the host can enable the power.

I haven't seen a SD Card Detect signal on the SD/MMC block on DM365 specification

I haven't seen a SD Enable nor a SD Write Protect signal neither.

On DVEVM365 the WP and CD signal from the SD connector are wired to the CPLD in read mode.

I have 2 questions:

1/ How the card detect is done in the driver in term of relation to the hardware ? In general ? In DVEVM ?

2/ Are there some GPIOs dedicated to this role or is it up to the user to choose and change the driver (if the hook is available) ?

Thanks for any info

  • Hello,

    still haven't found a solution for my previous problem.but have another question about SD slot 1 on DVEVM365.

    On the DM365 EVM board, I tried to use MMC slot 1 to detect a SDHC card. But the SD card is not recognized whereas it is if I use the MMC slot 0.

    However, if I put a SD card that is not HC in the slot 1, the card is detected.

     I’m working on the linux kernel version 2.6.33 and the CPLD register #3 enables SD card slot 1.

    To be more precise, we have set the CPLD registers correctly for SD1 slot, and the driver for SDHC is suppported in the 2.6.33 kernel. So no problem with that apparently.

    thank you for any idea.

     


     

     

  • Hi,

    I am using TMS320DM365 Rev D from Spectrum Digital.

    I am not able to get information regarding, how processor can be interrupted on SD Card Insertion or Removal.

    I can read the CPLD Media Card Status register from CPLD and observed the changes in the bits 0 and 1.

    If anyone is having information about interrupting processor on Card Insetion and Removal please share the information.

    Thanks in Advance.