STM32 driver SD card (SPI) method

Exterior

Insert image description here

Code (free to share)

Insert image description here

wiring

5V power supply

CS to PA3

The rest is wired according to the hardware SPI1 as shown in the figure.

Insert image description here

Precautions

Wiring with Dupont wire is very unstable! ! !

Wiring with Dupont wire is very unstable! ! !

Wiring with Dupont wire is very unstable! ! !

Guess you like

Origin blog.csdn.net/lllmeimei/article/details/132564821