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.

LP-AM263P: SDMMC Example Projects Fail

Part Number: LP-AM263P

Hi,

 

My SDK Version is: mcu_plus_sdk_am263px_11_01_00_19

My hardware is LP-AM263P - Fresh out of the box.

I am using CCS 12.8.1

 

I have imported two example projects from the SDK:

mmcsd_file_io_am263px-lp_r5fss0-0_freertos_ti-arm-clang

mmcsd_raw_io_am263px-lp_r5fss0-0_nortos_ti-arm-clang

 

Both projects fail to work correctly straight out of the box.

 

I have traced through the mmcsd_v1 driver and I find that the SD card identification works correctly and I seem to have reasonable CID values. I think the problems come about after the card is set to 4-bit bus width (MMCSD_setBusWidth) and then after that any block reads from the card always return 0 in the buffer.

 

Can anyone confirm that the MMCSD driver is working correctly, if so, maybe my development board is questionable?

 

Thanks.

 

 

 

 

  • Hi Stomp,

    The MMCSD example in the released SDK should be fully tested. The driver supports single bit and four bit data lines to communicate with the connected media. The MMCSD controller provides accessibility to external MMC/SD/SDIO devices using a programmed IO method. 

    The supported features are:

    • 64-bit data, address width System Bus Interface
    • SD command/response sets as defined in the SD Physical Layer specification v2.00
    • Operating voltage range VCC = 3.3 V
    • Default-speed & High-speed MMCSD protocol

    The features below are not supported:

    • No integrated DMA Controller Support
    • MMCSD instance does not support DDR mode
  • Thanks QJ,

    We will have to look deeper at the hardware.

    We have found quite a few of the projects in mcu_plus_sdk_am263px_11_01_00_19 that simply don't build out of the box, or don't function correctly on hardware, espeically the ethernet / cpsw projects.

     

    I appreciate your help wiht our SD issue.

    Thanks.