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.
Tool/software:
Hi TI Team,
We want to use the VAD functionality of ADC5120 without any external CLK.
Is the ADC5120 supported? If yes, how to configure the register to select the internal clock.
I tried these steps and fixed some values of this guide. But still no interrupt occur. I wonder if there is any other registers I need to set to make this feature work. And I measured the voltage of AREG, which is 1,8V already.
Hi,
This script attached uses the onboard mic with internal oscillator clock. Please cross-check with your script during testing.
# Power up IOVDD and AVDD power supplies # Wait for 1ms. # w 9C 00 00 # Goto Page 0 w 9c 01 01 # reset device w 9c 00 00 # go to page 0 w 9C 02 81 # Wake-up device and enable AREG #ASI Configuration w 9c 07 00 w 9c 0b 00 w 9c 0c 01 w 9c 0d 02 w 9c 0e 03 d 10 # Wait for 16 ms w 9c 00 07 # go to page 7 w 9c 7c 00 5d c0 00 # 3s learning period w 9c 00 09 # go to page 9 w 9c 50 00 72 59 dc # -7dB threshold w 9C 00 00 # Goto Page 0 w 9c 3c 00 # channel 1 set to Analog input w 9c 41 40 # channel 2 set to PDM input w 9c 73 a0 # I/P channel 1 enabled w 9c 74 a0 # ASI out ch 1 & 3 enabled w 9c 21 22 # GPIO1 as IRQ (latched only) driving high and low w 9c 22 01 # GPO disabled w 9c 2b 00 # GPI disabled w 9c 3b 00 # GPI2 disabled w 9c 33 e7 # unmask VAD interrupt, w 9c 32 60 # 2ms one time pulse w 9c 6b 03 # cutoff frequency 0.008fs w 9c 00 01 # go to page 1 w 9c 1e 40 # Channel 1 as VAD input, auto mode , internal clk w 9c 1f 08 # VAD enabled in recording mode w 9c 00 00 # go to page 0 w 9c 75 e1 # Enable VAD, power up adc and pdm channels, micbias