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.

Cannot output WCLK correctly

Other Parts Discussed in Thread: EK-TM4C123GXL

I use EK-TM4C123GXL to control AIC3254 EVM by SPI. 

I input 8MHz to codec's MCLK and set the codec by the following commends:

###############################################
#
# Select Page 0
w 30 00 00
#
# NADC = 4, MADC = 125
w 30 12 84 fd
#
# Set BLCK and WCLK as Output
w 30 1b 0c
#
# Set BDIV_CLKIN = ADC_CLK (16 kHz)
w 30 1d 02
#
# Set WCLK Output = Generated ADC_FS
w 30 21 10
#
# Set 0000 0001: ADC AOSR = 1
w 30 14 01
#
###############################################

However, the codec doesn't output WCLK as 2MHz as I suppose. Instead, WCLK outputs 8MHz and there is no output from BCLK.

Could anyone tell me how to get the correct WCLK as slave?

Thanks a lot,

Howa