This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi team,
Would you please check the In/Out configuration of PCM1864-Q1?
A customer wants to use DOUT for input#2, input#3 and DOUT2 (GPIO3) for input#1 from MIC using I2S mode.
In that case, the following configuration is correct? And are there any other register settings for DOUT2?
DOUT :
Page 0: address = 0x06 (SEL_L) -> 00 0100: VINL3[SE]
Page 0: address = 0x07 (SEL_R) -> 00 0100: VINR3[SE]
DOUT2 :
Page 0: address = 0x08 (SEL_L) -> 00 0000: No select
Page 0: address = 0x09 (SEL_R) -> 00 0001: VINR1[SE]
Page 0: address = 0x11 (GPIO3_FUNC) -> 101: DOUT2 (Out)
Page 0: address = 0x13 (GPIO3_DIR) -> 100: Output
Thanks,
Sam Lee
Hey Sam,
Thank you for bringing this question to our attention, I would look into this and get back to you by next week.
Regards,
Ore.
Hey Sam Lee,
If I am understanding you correctly, you want to configure pins into the input pins... before I dive into this, I would like to point out the configurations you've made in the registers 0x06 to 0x09 all support the MUX and MIX feature of this ADC. You can read more about it in 9.3.4 Mixers and Multiplexers in the datasheet.
For reg 0x11, you'd want to use the 110 bit configuration in GPIO3_FUN to turn that pin into a digital input and GPIO3_DIR in reg 0x13 provides more input configurations with respect to the direction of the signal.
Other GPIO pins can be turned to input pins, look at GPIO0 for example.
And to set the audio format, use reg 0x0B to set i2s or any other format of your choice
The input pins you pointed out in your schematic are analog input pins which accept single ended or differential inputs. They are not digital I/O pins.
I would like to know, is your MIC digital or analog?
Ore.
Hi Ore,
Thank you for your reply.
However, I'm asking about the way to configure DOUT, DOUT2 output for I2S mode from 3ch MIC inputs. To output I2S data (MIC input#1) to DOUT2, is the register settings mentioned previously right? (Also, MIC input#2,3 will be outputed to DOUT)
Best Regards,
Sam Lee
okay, let me go over your schematic again. I'll get back to you on Monday
Regards
Ore
Hey,
I am looking into this set up, I need this week to confirm that this set up is programmed correctly.
Regards,
Ore.
Hey Sam Lee,
The register configurations are correct for your application. Let us know if you need anymore support.
Best Regards,
Ore.