AnsweredAssumed Answered

How to use timeslot 1 instead of timeslot 0 for headphone output on the STM32F746G Discovery board

Question asked by J.Tobbe on Oct 11, 2016
Latest reply on Oct 31, 2016 by Nesrine M

I attempted to change the timeslot in the BSP_Audio library file wm8994.c for the DAC1 (headphone). The DAC1 timeslot settings seems to be in the 0x601 register for left channel and 0x602 for right channel. By default it seems to be using timeslot 0. However when changing to timeslot 1 no audio is output at all. I know I must configure the audio library output to timeslot 1 as well which works well for speaker output.

The reason I want to change timeslot for the headphone is that having both input and output though the same timeslot seems to give direct audio feedback. This does not happen for the speaker output (DAC2) probably since it uses timeslot 1 while line-in uses timeslot 0. I want to use the headphone jack for this project. Thanks.