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.

How to use SD Card Slot 2 of Application Board on AM3517EVM

My customer wants to test MMC2 SD Card access from Linux application using AM1735EVM.

So they need to set direction signals of MMC2 as GPIO and output High Level to avoid signal conflict form U29(SN74AVCA406L) on SOM.

Could someone advice me how to modify DVSDK to set AB13 pin as GPIO_136 and output High Level (as example) and setup MMC2 to use Linux application.

Regards,

  • Please anyone support above my request.

    I want to set MMC2 pins as follows to use MMC/SD2 slot of AM3517EVM, and access SD card from
    Linux application.(On AM3517EVM, MMC2 siganals goes both SN74AVCA406L and SD2 slot, so I have to fix the
    buffer direction of SN74AVCA406L.)
    mmc2_dat4 -> gpio_136(Mode3) and output High
    mmc2_dat5 -> gpio_137(Mode3) and output High
    mmc2_dat6 -> gpio_138(Mode3) and output High
    mmc2_dat7 -> mmc2_clkin(Mode1)
    Please advice how to modify DVSDK source code to do above settings.
    Regards,
  • I think I need to modify following u-boot file.

    \u-boot-2009.11-psp03.00.01.06.sdk\board\ti\am3517evm\am3517evm.h

    For example of GPIO136, I  added line211 as follows.

    205  MUX_VAL(CP(MMC2_CLK),  (IEN  | PTD | EN  | M0)) \
    206  MUX_VAL(CP(MMC2_CMD),  (IEN  | PTD | DIS | M0)) \
    207  MUX_VAL(CP(MMC2_DAT0),  (IEN  | PTD | DIS | M0)) \
    208  MUX_VAL(CP(MMC2_DAT1),  (IEN  | PTD | DIS | M0)) \
    209  MUX_VAL(CP(MMC2_DAT2),  (IEN  | PTD | DIS | M0)) \
    210  MUX_VAL(CP(MMC2_DAT3),  (IEN  | PTD | DIS | M0)) \
    211  MUX_VAL(GP(MMC2_DAT4),  (IDIS | PTU | EN  | M4)) /* Modify for MMC2 Level Shifter */\ 

    Please advice if my understanding is correct.

    Regards.