Tool/software: TI-RTOS
Hi,
I've read through this documentation already: http://www.ti.com/lit/ug/sprui18c/sprui18c.pdf
I am trying to add basic power management functionality on the SimplePeripheral example project. So far, in main.c I've added
/* Enable the configured power policy to run when the CPU is idle */
Power_enablePolicy();
The application build and runs in debug mode fine. I was wondering if there is a way to check what mode I am in and if I have actually started the default power policy. I would like to add that when the app is on sleep or on wake up events to print out via UART (time stamp). I also want to be in WFI low power mode, and then wake up on bluetooth event or to service a notification period.
Thanks!
Are there example projects I could look at?
Best,
Ida Huang