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.

CCS/TM4C123GH6PM: SD CARD Upload and download files through android mobile

Part Number: TM4C123GH6PM
Other Parts Discussed in Thread: EK-TM4C1294XL, EK-TM4C123GXL

Tool/software: Code Composer Studio

Hello all,

I am working on TM4C123GH6PM, currently sd card is successfully interfaced . I want to download and upload text files directly into the SD card from android mobile through OTG. Is it any possibility to do this operation . Kindly guide me achieve this goal.

Thanks and Regards,

Sivasubramaniyan

  • Hello Siva,

    It should be possible but I've not seen any prior attempts to do such an application so you will have to do a lot of legwork.

    What I would recommend is using the TM4C MCU as a USB host for this application. The usb_host_msc would get you far, but is not available for that LaunchPad so you would need to either port the example from the DK-TM4C123G (remove LCD and change necessary pins), or ideally use the EK-TM4C1294XL which is likely better suited from an EVM hardware standpoint to do this.

    Note for host operation on the EK-TM4C123GXL, you would also need to make the modifications outlined in Section 2.1.2 of the User's Guide: www.ti.com/.../spmu296.pdf

    After you get that working, then you'd have to figure out how to access the the SD card through the Android file system, and that is not something we will really be able to help with, but maybe some Android developer forums can be useful at that point.