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.
SDK for I2S receiver
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 ?
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 ?
Who is online
Users browsing this forum: No registered users and 59 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.