HAL RTCv2 for STM32F4xx with Callback/ISR Support

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

Moderator: RoccoMarco

Post Reply
tecnologic
Posts: 124
Joined: Tue Jan 10, 2012 8:42 am
Has thanked: 21 times
Been thanked: 5 times

HAL RTCv2 for STM32F4xx with Callback/ISR Support

Post by tecnologic »

Hi guys,

i need rtc functionalty in my current ChibiOS project. today its based on 2.6.0 and there is no implementation of rtc Callbacks like RTCv1.
Is someone working on this? if yes where can i get the code? If not i would port RTCv1 Callback to RTCv2 as implemented in RTCv1 and post it here.

But i dont want to do work that has already been done.

Thanks

Tec
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: HAL RTCv2 for STM32F4xx with Callback/ISR Support

Post by Giovanni »

Hi,

The new RTC does not have its own interrupt handler but it is connected to the EXTI unit, you can get the RTC interrupt as an EXT driver callback.

Giovanni
tecnologic
Posts: 124
Joined: Tue Jan 10, 2012 8:42 am
Has thanked: 21 times
Been thanked: 5 times

Re: HAL RTCv2 for STM32F4xx with Callback/ISR Support

Post by tecnologic »

Hi Giovanni,

i read that the int is routed through EXTI 17, but was not thinking of using the exti driver.

i'll try that.

Thanks

Tec
Post Reply