I've designed the TLV320DAC3100 audio chip into a product that we're developing and have been using the TLV320DAC3100 EVM and documents slas671c and slaa446 to decipher the register setting to produce an audio beep. This is the 1st step in bringing up the audio system on this board, eventually we also want to be able to produce short audio sound bites for different product functions.
I've created the attached 'Byte Beep 0_1s 2KHz Script.txt' file that I can play through the EVM software to produce a beep and I've also attached the equivalent 'audio_beep.c' C code function that I'm using on our board.
Our board uses a STM32F746 processor that is providing a 12.286MHz MCLK and 3.072MHz BCLK to the TLV320DAC3100 chip, and the WCLK line is held high and we're not clocking any DIN data. I've attached the schematic for our audio section.
I've modeled our attached 'TLV320DAC3100_Init.c' function around the 'AIC3111_USB_Init.txt' script that appears to be what's used to init the EVM.
Using our TLV320DAC3100_Init.c function to initialize the TLV320DAC3100 on our board produces a believable output from audio chip (see audio chip output) with a switching frequency on about 389.7KHz.
Running our 'audio_beep.c' function on our board produces no audible output on the speaker.
I've tried several variations of the initialization based on various TI docs and other TLV320DAC3100 threads in this forum, but haven't been able to produce a beep on our board. There must be some register value that I've improperly set or neglected to set, but I haven't been able to find it.
Thanks in advance for any help in resolving this issue!
Steve
/cfs-file/__key/communityserver-discussions-components-files/6/6562.audio_5F00_beep.c
/cfs-file/__key/communityserver-discussions-components-files/6/0714.TLV320DAC3100_5F00_Init.c