2025-04-30 9:55 AM
HI,
I am developing ble audio application with the STM32WBA55G-DK1 board, i refered the BLE_Audio_TMAP_Peripheral project.
Now my phone can paired with the board and when i play the music, the ble audio stream can setup successfully. But then the application enter WWDG_IRQHandler, i debug the applicaiton and analyzed the WWDG register, the register of WWDG_CR was 0x7F, WWDG was not actived, so i think it was very strange, then i wrote WWDG_IRQHandler function myself to replace the original definition.
void WWDG_IRQHandler(void)
{
while(1);
}
But when i test again, a new abornal interrupt WKUP_IRQHandler was trigged. Then i wrote WKUP_IRQHandle fuction myself, and tested again.
Another abormal interface WKUP_S_IRQHandler was triggerd.
So it is very strange, these abnormal interrupt were disabled, but why these abornal interrupts can be triggered?
The final log output is as follows.
55.83 CAP Event: 0x36
55.84 Media Player Instance with CCID 2 is active to control Audio Stream with remote TMAP Device (ConnHandle 0x0001)
55.84 Playback Speed feature is supported on remote TMAP Device
55.84 Seeking Speed feature is supported on remote TMAP Device
55.84 Playing Order feature is supported on remote TMAP Device
55.85 Supported Playing Orders feature is supported on remote TMAP Device
55.85 Media Control Operation feature is supported on remote TMAP Device
55.85 Media Player Name update Notification feature is supported on remote TMAP Device
55.86 Track Title update Notification feature is supported on remote TMAP Device
55.87 Track Duration update Notification feature is supported on remote TMAP Device
55.87 Track Position update Notification feature is supported on remote TMAP Device
55.87 Playback Speed update Notification feature is supported on remote TMAP Device
55.88 Seeking Speed update Notification feature is supported on remote TMAP Device
55.88 Playing Order update Notification feature is supported on remote TMAP Device
55.88 Supported Media Control Operation update Notification feature is supported on remote TMAP Device
55.89 Success: MCP_CLIENT_ConfigureTrackTitleNotification with ConnHandle 0x0001 and CCID 2
55.89 CAP Event: 0x15
55.89 Metadata of ASE ID 1 with remote CAP device on ConnHandle 0x0001 is updated
55.90 ASE State:4
55.90 Parse Metadata of ASE ID 0x01 (Type 0x00) in state 0x04 on ConnHandle 0x0001
55.90 ASE ID 0x01 on ConnHandle 0x0001 is associated to a Streaming Audio Contexts 0x0004
55.91 ASE ID 0x01 on ConnHandle 0x0001 was previously associated to a Streaming Audio Contexts 0x0001
55.91 Add Audio Contexts 0x0001 to Available Snk Audio Contexts 0x0687
55.91 Previous Available Contexts are : Snk 0x0687 - Src 0x0003
55.92 Calculated New Available Contexts are : Snk 0x0202 - Src 0x0003
55.92 Set Available Snk Audio Contexts 0x0202 and Available Src Audio Contexts 0x0003
55.829 CAP Event: 0x38
55.829 Medio Control Meta Event 0x07 is received on ConnHandle 0x0001:
55.830 --> MCP_MetaEvt_Notification EvtOpcode:7
55.830 [MP 2] MCP Client operation with connection handle 0x0001 is complete with status 0x00
56.275 start audio sink
Thanks