AnsweredAssumed Answered

SDK example usb_device_audio_speaker: how is the codec volume changed?

Question asked by Lucas Magasweran on Sep 6, 2018
Latest reply on Sep 13, 2018 by Felipe Garcia

In the example usb_examples/usb_device_audio_speaker example (from TWR-K22F120M SDK version 2.4.1) how are the volume changes from the host over USB sent to the codec over I2C?

 

There is a USB audio codec task that prints "Set Cur Volume :" in the debug console when I adjust the volume but I don't see how/where the changes are applied to the codec. Setting a breakpoint in SGTL_SetVolume() is never hit. Shouldn't there be another I2C audio codec task?

 

Any hints would be appreciated.

Outcomes