Skip to main content
Visitor II
August 31, 2020
Question

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

  • August 31, 2020
  • 2 replies
  • 671 views

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.

    This topic has been closed for replies.

    2 replies

    Visitor II
    September 2, 2020

    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.

    sviiAuthor
    Visitor II
    September 10, 2020

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