I'm trying to get the real-time clock to work on this development board and I'm not having any luck. The schematic in the user's guide shows a 32.768 xtal across XOSC0 and XOSC1 and I can see it mounted on the board so it looks like the hardware should support the real-time clock.
To set it up I'm following the instructions in Sect 18.4.2 of SLAU723A:
1. Clear TAEN in GPTMCTL
2. Set GPTMCFG to 1
3. Write a match value (0xFFF) to GPTMTAMATCHR
4. Set the RTCEN bit in GPTMCTL
5. Set an initial value to GPTMTAR
6. Set an initial value to GPTMTAV
7. Set the TAEN bit in GPTMCTL to 1
Which should set it up properly, but when I go to read the values of both GPTMTAR and GPTMTAV later neither one of them is advancing.
Can anyone give me an idea on what I should do to get this to work?
Thank you.