haydaa said:
My question is not related the Nyquist rate or antialiasing.
My question is related ADC's operating frequency setting. How can you sample a signal 8 kHz instead 16 khz? By choosing 16 kHz what are changed? I think one of them may be clock frequency
Your question is EXACTLY related to the Nyquist rate. The ADC sampling rate have to be higher than the Nyquist rate, so the original signal could be reconstructed correctly.
Regarding HOW to set an ADC sampling rate, it dependes on the ADC type. Most SAR ADC have START convert to initiate conversion (which takes N ADC CLK periods, where N is the ADC resolution and the ADC CLK is fast internal ADC clock). When the conversion is doine and the result is settled in the SAR register, the ADC sets a RDY flag to inform you to take the data.
So in this case, it's entirely up to you how fast YOU want to initiate conversion (what is the ADC sampling rate).
In other classes like for instance the Sigma-Delta modulators, it is advantageous to let the ADC free running and have it interrupt your processor when the data is ready. naturally the ADC sampling in this case is set when the ADC got initialized.
In your case the kit is equiped with TLV320AIC23. So read the manual :
https://www.ti.com/lit/gpn/tlv320aic23
The TLV320AIC23 is a high-performance stereo audio codec with highly integrated analog functionality. The analog-to-digital converters (ADCs) and digital-to-analog converters (DACs) within the TLV320AIC23 use multibit sigma-delta technology with integrated oversampling digital interpolation filters. Data-transfer word lengths of 16, 20, 24, and 32 bits, with sample rates from 8 kHz to 96 kHz, are supported. The ADC sigma-delta modulator features third-order multibit architecture with up to 90-dBA signal-to-noise ratio (SNR) at audio sampling rates up to 96 kHz, enabling high-fidelity audio recording in a compact, power-saving design. The DAC sigma-delta modulator features a second-order multibit architecture with up to 100-dBA SNR at audio sampling rates up to 96 kHz, enabling high-quality digital audio-playback capability, while consuming less than 23 mW during playback only. The TLV320AIC23 is the ideal analog input/output (I/O) choice for portable digital audio-player and recorder applications, such as MP3 digital audio players.
Integrated analog features consist of stereo-line inputs with an analog bypass path, a stereo headphone amplifier, with analog volume control and mute, and a complete electret-microphone-capsule biasing and buffering solution. The headphone amplifier is capable of delivering 30 mW per channel into 32 . The analog bypass path allows use of the stereo-line inputs and the headphone amplifier with analog volume control, while completely bypassing the codec, thus enabling further design flexibility, such as integrated FM tuners. A microphone bias-voltage output provides a low-noise current source for electret-capsule biasing. The AIC23 has an integrated adjustable microphone amplifier (gain adjustable from 1 to 5) and a programmable gain microphone amplifier (0 dB or 20 dB). The microphone signal can be mixed with the output signals if a sidetone is required.
While the TLV320AIC23 supports the industry-standard oversampling rates of 256 fs and 384 fs, unique oversampling rates of 250 fs and 272 fs are provided, which optimize interface considerations in designs using TI C54x digital signal processors (DSPs) and universal serial bus (USB) data interfaces. A single 12-MHz crystal can supply clocking to the DSP, USB, and codec. The TLV320AIC23 features an internal oscillator that, when connected to a 12-MHz external crystal, provides a system clock to the DSP and other peripherals at either 12 MHz or 6 MHz, using an internal clock buffer and selectable divider. Audio sample rates of 48 kHz and compact-disc (CD) standard 44.1 kHz are supported directly from a 12-MHz master clock with 250 fs and 272 fs oversampling rates.
Low power consumption and flexible power management allow selective shutdown of codec functions, thus extending battery life in portable applications. This design solution, coupled with the industry’s smallest package, the TI proprietary MicroStar Junior™ using only 25 mm2 of board area, makes powerful portable stereo audio designs easily realizable in a cost-effective, space-saving total analog I/O solution: the TLV320AIC23.