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.

MSP430 SD card write throuhput

Expert 2355 points

Other Parts Discussed in Thread: MSP-EXP430FR5994, MSP430FR5969

 

 

Hi,

 

Now I will store ADC data which operate 200ksps to microSD card through SPI on MSP430.

Sanpling duration is 0.5sec.

The evaluation board is MSP-EXP430FR5994.

It means 500msec, so full conversion data size is 200ksps * 500msec *12bit = 150kbyte

 

In the test, it can be reach still 28kbps.

Test condition:block write to SD, using DMA, MCLK=16MHz

I check document as below document:

http://www.ti.com/lit/an/slaa281b/slaa281b.pdf

 

What can I do to write data to microSDcard more faster?

 

Best regards,

 

kyt

  • Hi Kyt,

    I saw you are using MSP-EXP430FR5994 board which has a SPI interface with SD-card, have you tested the Out-Of-Box demo with SDcard function?

    Another question is about ADC setting, maybe you could use a GPIO toggle to make sure your ADC conversion get enough speed?

    regards
    KC
  • KC

    thank you for your reply.
    The demo go well.
    And the ADC operation is operation correctly.

    I will double-check.
    Do you have any check point without it?

    best regards,

    kyt
  • For best speed you need to write data in bigger chunks than 512 bytes using the multi block write command. Digging up my test data (MSP430FR5969) the problem isn't the typical write time but worst case. The time to write a single 512 byte block was typically ~5ms but periodically it would require over 100ms. Writing data in 4K chunks using multi block write on the other hand while exhibiting the same periodic slow writes, required about 13ms on the slow writes.

**Attention** This is a public forum