Hello,
We're using TLV320AIC3100 as an audio codec. The project basic information list as bellows,
Linux Kernel -- r3.18.20,
codec driver -- tlv320aic31xx.c
Audio formats -- I2S & PCM (slave)
MCLK -- 19.2MHz
Audio(DAC) routes to Headphone playing works well, but routes to Class-D Speaker doesn't work. SPKVDD = 3.6V, AVDD=HPVDD=3.3V, IOVDD=DVDD=1.8V.
When tries to play 1K tone with Speaker, measured with Oscilloscope, there's neither waveform nor voltage on SPKM & SPKP. Check kmesg, driver outputs some errors,
[ 56.714860] tlv320aic31xx-codec 4-0018: aic31xx_wait_bits: Failed! 0x25 was 0x88 expected 0x10 (0, 0x10, 500000 us)
Double checked codec registers combined with 'Functional Block Diagram', I didn't find out why.
Can any one help me here, thanks in advance?
Sincerely,
Adrian