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.

SD CARD interface in MSC1210 for data logger

Other Parts Discussed in Thread: MSC1210Y5

Dear Sir / Madam,

                       I am trying to SD CARD interface in MSC1210 for data logger, SD CARD is SPI Protocol , can you help me?,

spi init  and sample code for SPI and SD CARD   interfacing in MSC1210. please send sd card sample code.

I am waiting for your valuable reply.

 

Thanks and Regards,

Ramesh k

 

  • Hi Ramesh,

    There are two example programs for the SPI port of the MSC1210 on our FTP site here:

    ftp://ftp.ti.com/pub/data_acquisition/MSC_CD-ROM/Example_Programs/MSC121X_Examples/

    Those should be able to help you get the serial port of the MSC121x setup.  We do not have any specific code examples for writing to/reading from an SD Ram card though.  The card manufacturer should be able to provide you with details on the SPI clock phase/polarity settings needed to communicate with the host.

  • Dear Tom Hendrick,

                                         This example works or not? i am try to similitude SPIDATA and isr no response.

    How can i so simulate it.

    Thanks,

    Ramesh k

         

  • Ramesh,

    Talking to an SD card is doable but you will have to create more code than what is shown in the SPI example for the MSC1210 to make it functional.  A professor by the name of Foust from Michigan State University created an app note using the MSP430 that details the process and has some code along with it.  You should be able to adapt that code to the MSC1210 by exchanging the appropriate setup and command functions.  To find this app note conduct an internet search using Foust Secure Digital Card Interface MSP430 App Note.  Hopefully you can find this document as it should be helpful to you.

    Best regards,

    Bob B

  • Dear Bob,

                Thanks for your reply. i will follow this document.

    Thanks,

    Ramesh k

  • Reg MSC1210y5 program is frequently deleted.

     

    Hello sir,

                    I am using MSC1210Y5 controller for weighing scales. I have supply new product our client. product is operation is working fine. but frequently program was deleted. after reprogram this product its working fine. again within 2 month program was automatically deleted.

            I am used code memory (Decimal 30510 byte, Hex 0x7724),data memory is (Decimal 750 byte, Hex 0x2EE),Memory is configured program memory is 30k and data memory is 2k.

    I am used LIPO battery 12v 4800 mAH, and peripheral is lcd, GSM modem load cell and one more face reader, can you give solution for frequently code memory is erased. I am waiting for your reply.

    Thanks and regards,

    Ramesh k