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.

USB or SDcard

Other Parts Discussed in Thread: MSP430G2744, MSP430F5529

I am currently working on a project where i want to create a system in which microcontroller after being programmed reads a text file from USB or SD-card. But this i dnt have much knowledge about this implementation. So i ll be really thankful, if someone could tell me how to interface USB to a microcontroller and some points for implementation of same in code ??

msp430G2744 

  • Hi,

    Which micro-controller are you using?  For example the MSP-EXP430F5529 EVM board contains the MSP430F5529 microcontroller along with an SD card.  Both IAR and CCS IDEs that are available for download from TI's site, contain USB Mass Storage examples.  In CCS, the examples can be downloaded using  Resource Explorer window.  The examples can be found under the USB Library category.

     

    Regards,

    ARthi Bhat

  • Sagar,

    The MSP430G2744 does not have a built-in USB controller, so using USB is not an option there. In addition, none of the MSP430 devices support USB host mode, so even with an MSP that has USB (like some of the F5xx devices) you cannot hook up to a flash drive.

    You can interface with to an SD card in x1 mode (it is SPI based interface) using either USCI A0 or B0. There are plenty of examples of that around, search the forum.

    Also, keep in mind the limited amount of memory that is available. Not sure what you want to do with the text file, but if it has any reasonable size, you may not be able to read the whole thing at once.

    Good luck!

  • I can not use EVM board as i want to develop project from the basic equipment's. If you help me choose right microcontroller that could be interfaced with or read USB/SD-card, i ll be really thankful. Since this is my first project using TI products, i dont have much info regarding all its components.

    Regards,

    Sagar Sahni

  • I could put it in this way that i want my microcontroller to read text from a file for that i want my system to read some portable memory. Hence this memory is important as it becomes part of code. I cant store my given file in microcontroller because i want to make my system flexible, i.e. i could change that text file anytime, so that i could become kind-of plug and play device. 

**Attention** This is a public forum