Hello,
in ADF there is example for playing music from sd card. But I want to play music from spi peripheral. ESP32 will be slave microcontroller STM32 will be Master. STM32 will transmit mp3 data via SPI. So;
This is for sd card example
[sdcard]-->fatfs_stream-->mp3_decoder-->resample-->i2s_stream-->[codec_chip]
I want to do this
[STM32]-->spi_reader-->mp3_decoder-->i2s_stream-->[codec_chip]
Is there helpful example in ADF or IDF for my project. How can i do this.
Thank you
Music Data From SPI Instead of SD Card
-
- Posts: 138
- Joined: Thu Oct 03, 2019 10:52 pm
- Contact:
Re: Music Data From SPI Instead of SD Card
Here is the official SPI SLAVE sample.
However, I don't know if it can communicate correctly with the STM32 SPI Master.
https://github.com/espressif/esp-idf/tr ... /spi_slave
[STM32]--SPI->[ESP32]-->mp3_decoder-->i2s_stream-->[codec_chip]
However, I don't know if it can communicate correctly with the STM32 SPI Master.
https://github.com/espressif/esp-idf/tr ... /spi_slave
[STM32]--SPI->[ESP32]-->mp3_decoder-->i2s_stream-->[codec_chip]
Who is online
Users browsing this forum: No registered users and 7 guests