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.

microSD card for MSP432

HI,

I'm trying to interface an SD card to the MSP432 using the software given here

I started by looking at the guide for the MSP430 http://www.ti.com.cn/cn/lit/an/slaa281b/slaa281b.pdf and changed the pins in the areas the PDF;  void initSPI  , (void)  char mmcInit , and (void)  mmc.h file

Will this work for the MSP432 as long as I change the code to match the pins? What else do I need to to do to port the code over?

The pins I am using are:

MOSI        6.4

MISO        6.5

CLK          6.3

CS            6.2

  • Hi,

    Take a look at the MSP432 Platform Porting Guide. Section 4.4 talks about the peripherals.

    Regards,

    James

  • Hi Riceeveryday!

    Also note that there is a difference when using interrupts - for the MSP432 you will have to make changes to the startup file and alter the interrupt vector table instead of using the "#pragma vector / __interrupt" directives like it was done for the MSP430. I cannot open the link to your software, so I don't know if this is the case here. Additionally keep in mind that the MSP432 is now CMSIS compliant and uses different syntax, so the code examples or code found in the forum might not work with an updated compiler version.

    More information can be found here:

    Dennis

**Attention** This is a public forum