Hi
If the LPTMR has been configured and is running before VLLS0 its registers will be retained through VLLS0 and a subsequent reset.
You need only enable the clocks to the module and then you can read back the values.
I just did this on a FRDM-KL03Z with the LPTMR operating from 1kHz clock (the registers are also retained when it is done with an external oscillator).
Memory Display
0x40048038 00100582 ....
#mm 40048038 l 100583 <---------------------------enable clock to the LPTMR so that it can be read
Write - OK
#md 40040000 l 4
Memory Display
0x40040000 00000000 00000000 00000000 00000000 ................ <-----------Initlal LPTMR registers are all 0
#mm 40040004 l 1
Write - OK
#mm 40040008 l 3e7
Write - OK
#md 40040000 l 4
Memory Display
0x40040000 00000000 00000001 000003e7 00000000 ................ <--------------- configured now to run from LPO
#mm 40040000 l 1
Write - OK
md 40040000 l 4
Memory Display
0x40040000 00000081 00000001 000003e7 00000000 ................ <------------------ Now running and overflow flag is set
#lp_cnt
0x00000386
lp_cnt
0x0000013c
lp_cnt
0x000002a5
lp_cnt
0x000003da <--------------------------- LPTMR counter read and seen to be incrementing
#up
show_lp <------------------- check the low power modes available
0 = RUN
1 = WAIT [active]
2 = STOP
3 = PSTOP1
4 = PSTOP2
5 = VLPR
6 = VLPW
7 = VLPS
8 = VLLS0
9 = VLLS1
10 = VLLS3
#set_lp 8 <---------------- Move to VLLS0
#
Hello, world... KINETIS <-------------------------------- Restart after push-button reset
#mm 40048038 l 100583 <----------------------- Enable clocks to LPTMT again
Write - OK
#md 40040000 l 4
Memory Display
0x40040000 00000081 00000001 000003e7 000003da ................ <-------------- The register have held the last values
#lp_cnt
0x0000012a
lp_cnt
0x00000244
lp_cnt
0x0000034d
lp_cnt
0x0000004a <--------------------------- The counter is still incrimenting
I have attached the binary in case you would like to repeat (VCOM at 115kB has menus to command these).
If you have a problem with the external clock try quickly with the LPO to see if there is a difference. It may help identify whether your issue is specific to the clock source.
Also check that you are not having a power glitch, which would indeed cause the LPTMR to stop/be reset.
Regards
Mark