energia / Energia

Fork of Arduino for the Texas Instruments LaunchPad's
http://energia.nu
Other
798 stars 671 forks source link

Wake-Up by Built-In RTC Alarm #1008

Open rei-vilo opened 6 years ago

rei-vilo commented 6 years ago

Most of the MCUs supported by Energia feature a RTC clock with alarm.

The idea is to set an alarm, and this alarm rises an interrupt to be serviced by an ISR.

My DateTime_Library gives access to the RTC for the MSP432, CC3200 (non-EMT), TM4C123 and TM4C129, and I'd like to add the alarm feature.

For EMT-capable boards, could this feature be handled by TI-RTOS?

A typical use case includes a sensor, entering in low power mode or sleeping, then waking-up every 10 minutes to read some measures and send them.