Re: How to use spi_bitbang to drive SD card

2023-01-10 Thread Alan C. Assis
Hi prelude, Please enable the debug (ERR, WARN e INFO) for MMC/SDCard: [*] Memory Card Driver Debug Features [*] Memory Card Driver Error Output [*] Memory Card Driver Warnings Output [*] Memory Card Driver Informational Output It could give us more details about the issue. BR, A

How to use spi_bitbang to drive SD card

2023-01-10 Thread prelude
I use spi_bitbang to drive the SD card on the k210 chip development board, referring to the content in the sam_mmcsd.c file, The following two configuration items are opened: CONFIG_SPI_BITBANG and CONFIG_MMCSD_SPI,After compiling, programming and starting, you can see /dev/mmcsd0, but when you