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.

C5515 eZDSP ADC & SD Card Question

Hi All,

I'm working on a project where I need to take samples from the Audio ADC and store them to the SD card. I've had a look through the examples and can get some of them to run, however I am a bit stuck as to where to begin. Any guidance as to where I should start would be greatly appreciated, especially on how to initialize and read from the ADC, and initialize and write to the SD Card

 

Thanks

James

  • Hi,

    You can work with CSL examples. It includes each peripherals examples such as SAR ADC, and SD card.

    The latest version is 2.5.http://software-dl.ti.com/dsps/dsps_public_sw/dsps_swops_houston/C55X/CSL-c55x-lowpower-versions.htm

    Regards,

    Hyun

  • Hi Hyun

    I have been trying to work with the SD Card examples, however none of them complete successfully. For the SdCardExample I get the following:

    CSL MMCSD - SD CARD POLL MODE TEST!

     

    API: MMC_open Successful

    SD card Detected!

    SD card is Standard Capacity Card

    Memory Access will use Byte Addressing

     

    API: MMC_write Successful

    And then it stops there, not reading. For the SdCardFSExtExample I get the following:

    SD Card detected

    SD card is Standard Capacity Card

    Memory Access will use Byte Addressing

    SD card initialization Successful

     

    ATA File System Initialization successful

     

    File Creation/Open on SD card is Successful

     

    Writing Data to the file on SD card successful

     

    Reading Data from the file on SD card successful

     

    MMCSD Read and Write Buffers Match

     

    MMCSD-ATAFS POLL MODE TEST PASSED!!

     

     

     

    MMCSD-ATAFS DMA MODE TEST!

     

    SD Card detected

    SD card is Standard Capacity Card

    Memory Access will use Byte Addressing

    SD card initialization Successful

     

    ATA File System Initialization successful

     

    File Creation/Open on SD card is Successful

     

    Writing Data to the file on SD card successful

    ATA_readLittleEndian Failed

     

    MMCSD-ATAFS DMA MODE TEST FAILED!!

     

     

    MMCSD-ATAFS TESTS FAILED!!

     

    Could you please advice me what to do? I have tried a 512mb and 2GB card, formatted each time before trying. After each test, the card is no longer recognized by the computer.

     

    Kindest Regards

    James