biza

MSP432 interface SDCard with [MSP Classic Registers]

5 posts in this topic

Hello people, I'am trying use a SDCARD only to regist data. All my project was made with "MSPClassic Registers", so I saw in the forum a Bluehash post, but was in CMSIS, in mode to satisfy my project I try to change some files. Now I have some problems to finish him there is someone who can help me?I need Something very simple, just confirm if the card is loaded or not and save  data

Conections:

* P4.6 - CS (active low)

 * P1.6 - MOSI UCB0SIMO

 * P1.5 - CLK UCB0CLK

 * P1.7 - MISO UCB0SOMI

FILES:

 

spi.c

lcd.c

lcd.h

main.c

main.h

pff.c

pff.h

config.h

diskio.c

diskio.h

integer.h

spi.h

Share this post


Link to post
Share on other sites

@Biza

It's not clear which devices you are actually using.  Is it the '432 launchpad?  And how are you connecting to the SD card? Is it a BoosterPack version?  A simple schematic would allow a means to compare code with wiring...

Share this post


Link to post
Share on other sites

Hello  NurseBob,
sorry, i forgot to say what dispositive who am using, yes is the MSP432. But I not using the booster pack, its a simple  arduino shield to SDcard, i really do a schema to share with you. This code have a LCD conection too.

Share this post


Link to post
Share on other sites

Hello NurseBob,
Sorry for the delay, but I've been sick. I send you the data of the connections, for LCD and SDcard, PORT | PIN conections.

MSP432------------------>LCD          MSP432------------------>SDcard

J4                                                           J1

P2.6----------------------->D4            P1.5------------------>CLK              

P2.4----------------------->D5            P4.6------------------>CS/SS

P5.6----------------------->D6                 J2

P6.6----------------------->D7            P1.6------------------>MOSI

P2.3----------------------->E              P1.7------------------>MISO

P6.7----------------------->RS           

 

The SDcard board:

SDkamokuai-1406269874_lit.jpeg

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now