My customer asks:
"I’ve managed to port the machine driver over, and I believe I got everything correct. However, using aplay I’m not getting any sound on my prototype board.
I’m trying to isolate where the problem might be and I’m trying to get the AIC3110 to make a beep using the registers (page 0, registers 71 to 79). I used the values given in Table 5-36 (page 57) of the datasheet. And I’ve set up the DAC clock dividers/multipliers as follows:
Page 0 Reg 4 = 0x03 (PLL_CLKIN = MCK (12Mhz), CODEC_CLKIN=PLL_CLK)
Page 0 Reg 5 = 0x91 (PLL powered up, P = 1, R = 1)
Page 0 Reg 6 = 0x07 (J = 7)
Page 0 Reg 7 = 0x14
Page 0 Reg 8 = 0x90
Page 0 Reg 11= 0x88 (NDAC powered up, NDAC Divider=8)
Page 0 Reg 12= 0x82 (MDAC powered up, MDAC Divider=2)
Page 0 Reg 13= 0x02 (DOSR=0x0200)
Page 0 Reg 14= 0x00 (DOSR=0x0200)
I believe the above should give approx DAC_fs = 10253.90Hz. Once Bit7 in page 0 register 71 set, to enable the Beep generator, I never see it get cleared. The datasheet says that this bit is “self-clearing based on beep duration”.
Is there something else I need to enable to generate a beep?"