Kindly suggest me how to change the sampling rate to 96 Ksps for audio ADC AD1871 in BF537 EZ kit lite board.
Although I haven't tried it, but looking at datasheet of AD1871, I think achieving sampling rate of 96KHz may not be possible on BF537 Ez-KIT. This is because, on the EZ-KIT, MCLK (modular clock input) is provided from a 12.288MHz oscillator, which can give only 48KHz sampling rate. For 96KHz sampling rate, the MCLK should be 24.576MHz. It is mentioned that, "the MCLK frequency will be 256 * fS for correct operation of the device"
Refer Figure 8. Clocking Scheme to Modulator in the datasheet and sections around it for more details.
When MCLK of 24.576MHz is supplied, the 96KHz sampling rate can be achieved by setting AMC bit of CONFIG REG I of ADC.
The AMC bit in Control Register I should allow for 96 kHz operation using a 12.288 MHz MCLK. Please find the modulator description on page 16.
Retrieving data ...