The SD card is mainly used for **data** reading and writing. The operation is generally realized through the SPI mode, which is relatively easy to achieve. The reading and writing process of the SD card is explained as follows. After power on, initialize the SD card, adjust the signal transmission frequency to a higher level, and send a certain number of clock signals, and write the command at the same time. In this way, the SD card is put into the SPI mode.