Hi,
I would like to configure AIC3106 in my EVM OMAP L137/c6747 to have a sampling rate of 8KHz. I tried the following, but it doesnt seem to work. Any suggestions?
page 0. register 2=0xAA - means SampRateDiv=10 - that is , fsref/6
page 0 , register 3=14h (also tried 24h)- means, Q=2 (also tried 4), P=4
page 0 , register 4 =40h - means J=16
page 0 , register 5=0h
page 0 register 6=0h
page 0 register 7=0Ah - means dual rate=0 and fref=0
Also I tried the following:
P=2,
Q=2
J=1
K[J.D]=1.4512 (means regsiter c = 46h, register D=20h).
I assumed MCLK = 22.5792MHz.
Thus,
required sampling rate = (MCLK * K)/(2048 * P) = (22579200 * 1.4512471) / (2048 * 2) = 8KHz
By the way, is the formula for Q the following?
Q=CLKDIV_IN / (fsref*128)