Part Number: MSP432P401R
Hello,
I have confusion regarding SimpleLink SDK Bluetooth Plugin with MSP432P401R + CC2640R2. It says that to achieve deeper low power mode such as LPM3, the SAP_close must be called in order to release the UART driver. I am currently using SimpleLink SDK Bluetooth Plugin 1.40.00.42.
I observe the code from reference design for Access Control Panel with BLE:
http://www.ti.com/tool/tidm-1004
What I found is the SAP_close only executes when AP_taskFxn is on AP_SBL state. During normal operation there is no call to SAP_close but device can be set to release constraint even for deeper sleep modes LPM4.
My application needs to cycle between period of idle (go into LPM3) and period of awake. Because I always call to SAP_close before entering period of idle, I need to reinitialized the SAP, SAP_reset and reinitialize services and characteristics each time the idle period has been up. It consume more power from my observation using EnergyTrace.
When I remove the SAP_close on my application and still call the power API to release constraint so it can go into LPM3, I found that my application still runs well. From debug session it still executes PCM_gotoLPM3. Without reinitialization frequently on CC2640R2 I also get better battery life with additional 4-5 days.
Does this behavior is expected? May need to clear things-up just to be sure of it.
Thank you & warm regards,