cancel
Showing results for 
Search instead for 
Did you mean: 

Hi i'm working on Nucleo-l073rz board to bring up sd card and fatfs using spi interface for data logging application.

svii
Associate III

I am testing the above setup using an transcend micro sd card adapter with 16GB sd card.I have no response from the sd card , i have used 32MHz clock with a spi baud rate 8MBits/s.i have used drivers from  STM32Cube_FW_L0_V1.11.2\Drivers\BSP\Adafruit_Shield\stm32_adafruit_sd.c.I am not able to even mount the sd card .let me know what could be the problem is their any limitations ,thanks in advance.

2 REPLIES 2
prain
Senior III

what is your card sector size?

Did you format the card using PC? FAT32? EXFAT?

for test, first of all do a card format using fatfs. Also lower the SPI clock to 500 KHz or below. make sure that card has a steady power supply and try again.

svii
Associate III

hi thanks for the response i was able to read and write into sd card .