Page 1 of 1

HAL RTCv2 for STM32F4xx with Callback/ISR Support

Posted: Thu Sep 26, 2013 4:43 pm
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

Re: HAL RTCv2 for STM32F4xx with Callback/ISR Support

Posted: Thu Sep 26, 2013 6:42 pm
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

Re: HAL RTCv2 for STM32F4xx with Callback/ISR Support

Posted: Thu Sep 26, 2013 11:05 pm
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