Hi All
Does any one have experience with the RTC and know for sure whether the RTC seconds interrupt is implemented in the K40 and K60?
According to the user's manual "This interrupt is optional and may not be implemented on all devices". The interrupt enable bit is however indicated in the register description so I am not sure...
When I tried to use it I didn't get any interrupt on the K40.
When I enabled the alarm interrupt I did get an interrupt though. What I did to realise a seconds interrupt was to set the alarm time so that the alarm interrupt would arrive the next time the 1s counter is incremented. On each "seconds" interrupt the next alarm is configured and so this essentially gives a seconds interrupt (although the alarm function can not really be used at the same time for its normally intended application).
I can't exclude that I did something wrong when trying to get the seconds interrupt working though - any one manged it or can confirm that it is not implemented?
Regards
Mark
Chapter 3 of the Kinetis RM's contain all the chip specific configurations. So on the current K60/K40 parts, the seconds interrupt is not implemented
3.8.6.3 RTC_WAKEUP seconds interrupt
The RTC seconds interrupt is not supported on this device.
Thanks - now I see better how to work with the manual.
Regards
Mark
The new RTC_IER indicates a Seconds Interrupt Enable -- haven't tried it myself. Should work on Rev 1.2 Silicon (mask set 1N30D/2N30D).