STM32L4 RTC interrupts ?

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderators: barthess, RoccoMarco

geoffrey.brown
Posts: 34
Joined: Thu May 07, 2015 9:47 pm
Been thanked: 7 times

STM32L4 RTC interrupts ?

Postby geoffrey.brown » Sun Jul 08, 2018 3:18 pm

I can't seem to find the support for the RTC Alarm interrupts. In other threads there is some indication that these used to be handled (e.g. for the STM32F4) through the EXTI driver, but that doesn't seem to be the case anymore. How are RTC interrupts handled and where ? If not, what I need to touch for the shortest path to RTC interrupts.

Geoffrey

User avatar
Giovanni
Site Admin
Posts: 11025
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 354 times
Been thanked: 298 times
Contact:

Re: STM32L4 RTC interrupts ?

Postby Giovanni » Sun Jul 08, 2018 4:27 pm

Hi,

The RTCv2 requires a change for alarms handling now that EXT is gone, in the meanwhile you may enable the RTC EXTI channel and handle the IRQ directly.

Giovanni

geoffrey.brown
Posts: 34
Joined: Thu May 07, 2015 9:47 pm
Been thanked: 7 times

Re: STM32L4 RTC interrupts ?

Postby geoffrey.brown » Sun Jul 08, 2018 6:20 pm

Thanks ! I had pretty much come to that conclusion, but wanted to make sure that was the simplest path.
Geoffrey


Return to “STM32 Support”

Who is online

Users browsing this forum: No registered users and 2 guests