cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to have BLE and RTC alarmA working together on STM32WB

CDuva.1
Associate

Hello everybody,

I've a project with a stm32wb55 and I need following functions :

  • BLE
  • RTC (Tamper, Calendar and alarms,backup registers)

I get started from Nucleo example IBeacon.

I got some difficulties to start CM0+ but thanks to an other topic I succeeded to emit BLE advertising : https://community.st.com/s/question/0D50X0000Az4HdhSQE/cant-get-the-advertising-state

The next step was to implement RTC, I succeeded in getting and setting date, setting alarmA and got it fired on EXTI line 17 !

BUT : when I use cubeMx to generate "RTC A and B alarm interrupt through EXTI line 17"(RTC_Alarm_IRQn), my BLE is not working anymore...

In fact, IPCC_C1_RX_IRQHandler never fires !

Please look at the diff attached to this message when I generate or not RTC_Alarm_IRQHandler which make my BLE working or not. What is the link between them ? Both are working but not together :sad_but_relieved_face:

Thanks for your help,

Clément Duval

0 REPLIES 0