cancel
Showing results for 
Search instead for 
Did you mean: 

SPI SD Card Library

HDaji.1
Senior

Hi,

I followed this tutorial to have made FatFs library work on my STM32 F411 PCB board with SPI interface.

Basically I need to store 1000+ floating point values in SD card and read them back.

I have no problem in writing; but I cannot read all the records back.

I put each value in one line, ending with "\n" and use f_gets to read line by line.

After reading 900+ line, I have Assertion failed error.

I wonder if STM has any sample code for us to follow.

0 REPLIES 0