Hello,
I wanted to use this ADC in our project, I have designed a PCB for the same and also configured registers with the help of a raspberry pi(master). but the ADC did not record any signal. It would be nice if we get some help troubleshooting the circuit or the register configuration.
1. Schematic
2. Power Supply and Connections
AVDD : 3.3V
AVSS : GND
DVDD : 1.8V
DVSS : GND
IOVDD : 1.8V
Pull up resistors for SDA and SCL : 1.6KΩ
3. Initial Start up
After connecting all the power supplies, the RESET pin is held low for 1s.
checking the I2C address :
3. Register Configuration :
i) page selection : page 0
Page | Register No. | Name | Register Bits | Binary Values | Decimal Values | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |||||
0 | 1 | Software Reset Field Descriptions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 00000001 | 1 |
0 | 4 | Clock-Gen Multiplexing | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 00000111 | 7 |
0 | 5 | PLL P and R-VAL | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 10010001 | 145 |
0 | 6 | PLL J-VAL Field Descriptions | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 00000100 | 4 |
0 | 7 | PLL D-VAL MSB | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00000000 | 0 |
0 | 8 | PLL D-VAL LSB | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00000000 | 0 |
0 | 18 | ADC NADC Clock Divide | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 10000001 | 129 |
0 | 19 | ADC MADC Clock Divide | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 10000100 | 132 |
0 | 20 | ADC AOSR Field Descriptions | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 01000000 | 64 |
0 | 21 | ADC IADC Field Descriptions | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 10111100 | 188 |
0 | 27 | ADC Audio Interface Control 1 Field Descriptions | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 00110001 | 49 |
0 | 38 | I2S TDM Control Register Field Descriptions | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 00000110 | 6 |
0 | 53 | DOUT (OUT Pin) Control Field Descriptions | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 00000010 | 2 |
0 | 61 | ADC Processing Block Selection Field Descriptions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 00000001 | 1 |
ii) page selection : page 1
Page | Register No. | Name | Register Bits | Binary Values | Decimal Values | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |||||
1 | 51 | MICBIAS Control Field Descriptions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00000000 | 0 |
1 | 52 | Left ADC Input Selection for Left PGA | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 1 | 11110011 | 243 |
1 | 54 | Left ADC Input Selection for Left PGA Field Description | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 00111111 | 63 |
1 | 55 | Right ADC Input Selection for Right PGA Field Descriptions | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 11111111 | 255 |
1 | 57 | Right ADC Input Selection for Right PGA Field Description | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 00111111 | 63 |
1 | 59 | Left Analog PGA Settings Field Descriptions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00000000 | 0 |
1 | 60 | Right Analog PGA Settings Field Descriptions | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10000000 | 128 |
1 | 62 | ADC Analog PGA Flags | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 00000010 | 2 |
iii) page selection : page 0
Page | Register No. | Name | Register Bits | Binary Values | Decimal Values | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |||||
0 | 81 | ADC Digital Field Descriptions | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 10000001 | 129 |
0 | 82 | ADC Fine Volume Control Field Descriptions | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 00001000 | 8 |
0 | 83 | Left ADC Volume Control Field Descriptions | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 01000000 | 64 |
0 | 84 | Right ADC Volume Control Field Descriptions | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 01000000 | 64 |
0 | 86 | Left AGC Control 1 Field Descriptions | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10000000 | 128 |
0 | 93 | Left AGC Gain Applied Field Descriptions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00000000 | 0 |
0 | 94 | Right AGC Control 1 Field Descriptions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00000000 | 0 |
0 | 101 | Right AGC Gain Applied Field Descriptions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00000000 | 0 |
4. Clock Settings :
PLL_CLK = BCLK = 2.8224 Mhz, P =1 , R = 1, J = 4, D = 0000, NADC = 1, MADC = 4, AOSR = 64, ADC_FS = 44100
I am able to read from and write to the registers, however I am not getting anything at the DOUT if i try recording an audio with I2S. It would be nice, if we receive some comments and tips to resolve this issue. Many thanks in advance :)
Rutuja :)