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?