SDK for I2S receiver

goga
Posts: 4
Joined: Thu Sep 29, 2016 10:35 pm

SDK for I2S receiver

Postby goga » Mon Oct 17, 2016 7:13 pm

Hi.
How can I configurate I2S module of ESP8266 for receiving data from external microcontroller (for example STM32F303, which has I2S interface)?
I'd like to transmit data from STM32 to ESP8266 continuously through I2S interface, but non-OS SDK does not support cyclical mode. Maybe OS SDK has instruments for my problem.

goga
Posts: 4
Joined: Thu Sep 29, 2016 10:35 pm

Re: SDK for I2S receiver

Postby goga » Wed Oct 19, 2016 9:47 pm

Last week I was finding some examples of I2S using. First of all, «ESP8266_MP3_DECODER» by Espressif and «esp8266duplexi2s». I took some pieces of code from this two examples in my project and started I2S-transfer between STM32F303VCT – master and ESP8266-slave in circular mode.

Data format 24 bit, MSB first, sample rate 48kHz. Test message - 0x0300bb55.
Size of I2S-master buffer = size of I2S-slave buffer = 128.

I transmit debugging information in terminal via USB-TTL module. A part of buffer on a picture.

Anybody knows why data is multiplied by 2 and how do I solve this problem? Maybe I have problem in inicialization of ESP8266 I2S ?
Attachments
I2S_RX.JPG

Who is online

Users browsing this forum: No registered users and 59 guests