14. Sdio_sdcard_dma

14.1. Function description:

The demo is that SDCard writes data to SDCard and then reads data from it via dma 1/4-line mode.

14.2. Test result:

If the data of SDCard received is equal to SDCard transmitted, print the corresponding correct string, if not print the fail one.

14.3. IO connection:

PAD

PAD

pad_sdion_sdclk

sdcard_clk

pad_sdion_sdcmd

sdcard_cmd

pad_sdion_sddat0

sdcard_dat0

pad_sdion_sddat1

sdcard_dat1

pad_sdion_sddat2

sdcard_dat2

pad_sdion_sddat3

sdcard_dat3

Note

  • The ‘n’ in “sdion” indicate the peripheral number.

  • 1/4 line and cpu/dma mode is configurable.