espressif / esp-adf

Espressif Audio Development Framework
Other
1.54k stars 676 forks source link

SR with custom board (AUD-4958) #1095

Closed mike-2020 closed 11 months ago

mike-2020 commented 11 months ago

I build a customized board with ESP32S3 + ES8388. Use ES8388 for both ADC and DAC. Following ES8388 user guide, two pesudo-differential MIC configurations are connected to LIN1-RIN1 and LIN2-RIN2 respectively. No AEC/ref channel is designed on the board.

By modifying ADF's ES8388 driver code, I have verified both MIC configurations can work independently. Wakenet works as expected. "work independently" means the following code: image image I also verified each case which MIC is in effective physically. This confirms the circuit is good.

Now, I want to make the two MICs work together. I modified ES8388 driver code following this instrcution in user guide:

image

Here is code:

image

I also modified code below:

image

But Wakenet does not work.

Can you please suggest how I should modify the code to make it work for wakenet?

mike-2020 commented 11 months ago

More testing: The following combination also makes wakenet work: image image

But physically only one MIC is used by wakenet.