Hello,
My task is implementation of audio capability in our project, which is based on i.MX6 processor (ARM).
The sound is generated by playing WAV-files: the data is passed via AUDMUX-SSI interface to CODEC TLV320AIC3204.
At the first step, it was verified that the I2S signal (clock and data) outputs from i.MX6 to CODEC, and signal was correct.
At second step, we wanted to be sure that connection between CODEC and headset is correct. For that I’ve tried to activate the internal BEEP signal on CODEC. I prepared the configuration sequence in accordance with recommendations in §5.14.1 Beep Generation (see “TLV320AIC3204. Ultra Low Power Stereo Audio Codec. SLOS602A–September 2008”). The sequence I’ve attached below.
The issue is that I did not hear the BEEP after its starting (Page 0, Reg 71, D(7)=1) . And I did not detect that BEEP enabling has been automatically set back to 0 (Page 0, Reg 71, D(7)=0). It looks like something in BEEP activation was wrong.
Please, help me to solve this issue.
Beep Configuration sequence:
Reg# |
Name |
SetVal |
ActVal (verification) |
0 1 11 12 13 14 27 60 67 4 |
PAGE_SELECT-0 SW_RESET CLOCK SET NDAC CLOCK SET MDAC DAC OSR SET-1 DAC OSR SET-2 AUDIO IF SET-1 DAC SIGNAL HEADSET DETECT: exp-0xB2 CLOCK SET-1 |
0x00 0x00 0x81 0x82 0x00 0x80 0x00 0x19 0x92 0x00 |
0x00 0x01 0x81 0x82 0x00 0x80 0x00 0x19 0x92 0x00 |
0 1 |
PAGE_SELECT-8 DAC_ADPT_FLTR_ENABLE |
0x08 0x04 |
0x08 0x04 |
0 1 2 123 20 10 11 13 14 3 4 16 17 9 |
PAGE_SELECT-1 POWER CONFIG LDO CTRL REF POWRUP CNFG HEADPHONE STARTUP COMMON MODE OVER CURRENT HPR ROUTE LOL ROUTE PLAYBACK-1 PLAYBACK-2 HPR GAIN-1 HPR GAIN-2 OUT DRV PWR CTRL |
0x01 0x08 0x00 0x01 0x25 0x33 0x00 0x08 0x08 0x00 0x00 0x00 0x00 0x30 |
0x01 0x08 0x00 0x01 0x25 0x33 0x00 0x08 0x08 0x00 0x00 0x00 0x00 0x30 |
WAIT 2.5 secs 2500 |
|
|
|
0 63 64 73 74 75 76 77 78 79 72 71 |
PAGE_SELECT-0 DAC CHN SET-1 DAC CHN UNMUTE BEEP LENGTH:23-16 BEEP LENGTH:15-8 BEEP LENGTH:7-0 BEEP GEN6.SIN(15:8) BEEP GEN7.SIN(7:0) BEEP GEN8.COS(15:8) BEEP GEN9.COS(7:0) BEEP CH_RT BEEP CH_LT+ENABLE |
0x00 0xD4 0x02 0x00 0x17 0x70 0x10 0xD8 0x7E 0xE3 0x80 0x80 |
0x00 0xD4 0x02 0x00 0x17 0x70 0x10 0xD8 0x7E 0xE3 0x80 0x80 |
Thank you in advance.