Hi
The following is the code to allow the LPO to be used as 1s interrupt:
RTC_SR = 0; // temporarily disable RTC to avoid potential interrupt
RTC_TPR = (32768 - 1000); // use 1kHz internal clock to generate 1s time base by adjusting the prescaler value
RTC_SR = RTC_SR_TCE; // enable counter again
It needs to be performed when starting and at each 1s interrupt.
Note however that the LPO is not very accurate and so will tend to get up to 1 minute drift every hour. If you have a real-world RTC requirement you usually need to use a 32kHz oscillator.
Also the LPO will cause the RTC to be 32x too slow when the chip is in the very low power mode and so any alarms etc. will be inaccurate unless compensated for in the software solution.
I have attached the uTasker RTC module as reference (for all chips, including KLs) which also solves KL RTC with LPO source with regards to keeping time in standby modes and with regards to low power wake up alarms.
Regards
Mark
Kinetis for professionals: http://www.utasker.com/kinetis.html