element_sdcard_mp3 example how to change SPI SDcard configuration
Posted: Thu Dec 31, 2020 5:37 pm
Hi,
I am very new in the ADF framework and now I am working with the element_sdcard_mp3 ADF example. By checking the typical hardware support like lyrat_v4_3 I see that the SD card is using multiple data lines, I would like to use just a simple SPI, but I can not find were I can do this. I am using a custom Board file and I was thinking that in audio_board_sdcard_init() I could decide how the SDCARD mode is selected and pin selection but... I dont see where.
Is there any example of reproducing a sound file in the SDCARD with a SDcard connected in SPI mode where is possible to select the pins, miso, mosi... etc?
Thanks!
I am very new in the ADF framework and now I am working with the element_sdcard_mp3 ADF example. By checking the typical hardware support like lyrat_v4_3 I see that the SD card is using multiple data lines, I would like to use just a simple SPI, but I can not find were I can do this. I am using a custom Board file and I was thinking that in audio_board_sdcard_init() I could decide how the SDCARD mode is selected and pin selection but... I dont see where.
Is there any example of reproducing a sound file in the SDCARD with a SDcard connected in SPI mode where is possible to select the pins, miso, mosi... etc?
Thanks!