Hi Will
If you don't find a quick fix you can also get complete RTC/LLWU support for the K64 in the uTasker project - see inks below. I have attached a FRDM-K64F image which includes the uTasker Time Keeper module (maintains all time functions including SNTP for the K64, Gregorian time, daylight-saving and various alarms) and the LLWU module (which works together with it allow timed wakeup from low power modes).
The command line shell is on the its virtual COM port at 115'200 Baud and the time and low power interface is in the "Administrator" menu:
Hello, world... KINETIS
Serial number: 00
Software version V1.4.010
Device identification: KINETIS
Admin. menu
===================
up go to main menu
show_config Show configuration
save Save configuration to FLASH
reject Reset non-saved changes
restore Restore factory settings
show_time Display date/time
set_time Set time hh:mm:ss
set_date Set Date dd:mm:yyyy
show_alarm Display alarm d/t
set_alarm Set alarm (date)(+)[time]
del_alarm Delete alarm
show_lp Show low power mode and options
set_lp [option] Set low power mode
reset Reset device
last_rst Reset cause
help Display menu specific help
quit Leave command mode
#show_time
22.10.2015 15:29:30
set_alarm +5
New alarm set
22.10.2015 15:29:50
#RTC Alarm fired
set_alarm +5
New alarm set
22.10.2015 15:29:58
#set_lp 6
Hello, world... KINETIS
Here an alarm can be set using "set_alarm +" or with a time and/or data. set_lp allows various low power modes to be set:
#show_lp
0 = RUN
1 = WAIT [active]
2 = STOP
3 = VLPR
4 = VLPS
5 = LLS
6 = VLLS0
7 = VLLS1
8 = VLLS2
9 = VLLS3
whereby I used 6 above (VLLS0) and the alarm wakes this a few seconds later via a reset (shown by the "Hello, world... KINETIS").
- LLUW module: http://www.utasker.com/kinetis/LLWU.html
- Time Keeper: http://www.utasker.com/docs/uTasker/uTasker_Time.pdf
Regards Mark
Kinetis: http://www.utasker.com/kinetis.html
K64: http://www.utasker.com/kinetis/FRDM-K64F.html / http://www.utasker.com/kinetis/TWR-K64F120M.html / http://www.utasker.com/kinetis/TWR-K65F180M.html
For the complete "out-of-the-box" Kinetis experience and faster time to market
:smileyinfo: Out-of-the-box support for 47 Kinetis boards and 10 IDEs (470 combinations from a single code source with no porting required)