element_sdcard_mp3 example how to change SPI SDcard configuration

ihouses
Posts: 19
Joined: Sun Jul 09, 2017 1:41 pm

element_sdcard_mp3 example how to change SPI SDcard configuration

Postby ihouses » 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!

ihouses
Posts: 19
Joined: Sun Jul 09, 2017 1:41 pm

Re: element_sdcard_mp3 example how to change SPI SDcard configuration

Postby ihouses » Fri Jan 01, 2021 12:11 pm

I see that in Lyrat minit 1.2 is using the SD in 1 bit mode but still I don't know where to select the pins, in a similar way as the I2S and I2C pins are described in the board.c file.

hendog82
Posts: 1
Joined: Fri Jan 15, 2021 5:45 am

Re: element_sdcard_mp3 example how to change SPI SDcard configuration

Postby hendog82 » Fri Jan 15, 2021 5:46 am

Hi,

Have you figured out a solution to set the app to SPI mode?

Thanks.

Who is online

Users browsing this forum: No registered users and 14 guests