Hi,
I'm working on a project to connect AK5538VM ADC to ESP32.
The ADC will provide the MCLK so it would be the master in this setup.
The AK5538VM is an 8CH audio ADC, it can output data in 2 ways:
1. through 4 discrete pins, each pin outputs a 2CH standard I2S audio stream
2. through 1 discrete pin outputting all the data in TDM format
What would be your recommended approach ?
How do I configure ESP32 I2S parallel input mode ?
Alternatively, can ESP32 work in AK5538VM TDM format ?
I2S 8CH ADC
- cooperbaker
- Posts: 10
- Joined: Fri Jan 18, 2019 6:39 am
Re: I2S 8CH ADC
I'm curious if you made any progress on the 1 wire TDM data approach. Were you able to move TDM data through the i2s bus?
I'm eager to get i2s tdm working for the cirrus cs42448 codec.
I'm eager to get i2s tdm working for the cirrus cs42448 codec.
-
- Posts: 5
- Joined: Fri May 18, 2018 5:26 am
Re: I2S 8CH ADC
Yes, it's fully working in TDM.
I just needed to div/4 the WS clock output of the ESP32 to fit the required WS clock input of the ADC in TDM 8ch mode.
I have an FPGA to handle that for me but you can use a simple D-FF ic to do the clock div.
I just needed to div/4 the WS clock output of the ESP32 to fit the required WS clock input of the ADC in TDM 8ch mode.
I have an FPGA to handle that for me but you can use a simple D-FF ic to do the clock div.
Re: I2S 8CH ADC
Sorry to resurrect a dead thread, but how did you get it to sync with the first channel? I've done a div/4 but the channels are swapping at various times.
Who is online
Users browsing this forum: No registered users and 373 guests