I'm trying to get work speaker output on my Discovery kit (STM32F469I-DISCO) but not succeed yet. I have connected small speaker on pins 15 and 16 of extension connector CN12 and have used example "Audio_playback_and_record" from "STM32Cube_FW_F4_V1.16.0" repository, but cannot hear anything.
I have changed configuration AUDIO_PLAYER_Init in waveplayer.c from OUTPUT_DEVICE_AUTO to OUTPUT_DEVICE_BOTH and OUTPUT_DEVICE_SPEAKER but still not working.
Headphones on 3.5 jack output works fine and when I connect speaker to the headphone's output, I can head sound, so speaker is OK.
I have looked briefly into source code in BSP and couldn't find any handling of PE3 which should be used for switching between Headphones and speaker output which looks strange. I have tried to find any existing solution or similar issue and found just similar topic on evaluation board where WM8994 chip is used. But on STM32F469I kit is used CS43L22 chip.
Do you have some suggestions for me?
Thanks for your help.