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,
There are two example programs for the SPI port of the MSC1210 on our FTP site here:
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.
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.
Thanks for your reply. i will follow this document.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.