Hi.
I need help to configure the PCM9211 internal ADC as I2S master.
My intention is to set the ADC in standalone mode, and then as I2S master, to let the device output 24-bit I2S to my DSP, which is in slave mode.
However, I can't get the MPIO_C pins to output anything.
The PCM9211 is sourced by a 24.576Mhz crystal. I want the output to operate with LRCLK = 96 kHz and BCLK = 6.144 MHz.
My current configuration is as follows
(script style from CodecControl SW)
##############################
# Reset the registers to default
w 80 40 00
w 80 40 33
w 80 40 C0
# Set the XTI Clock settings to SCK = XTI/1 = 24.576 MHz, BCLK = XTI/4 = 6.144 MHz and LRCLK = XTI/256 = 96 kHz
w 80 31 05
# Set MPIOC as ADC Standalone Mode
w 80 6F 41
# Set the ADC as I2S master, 256fs, with output format = 24-bit I2S
w 80 48 20
##############################
Any help is appreciated.
Thanks in advance.
Regards, Jesper Thoerring Jensen