I'm testing HostTestRelease app with power management. I downloaded the sample code about it from wiki. (http://processors.wiki.ti.com/index.php/LPRF_BLE_HostTestPM)
My hardware is SmartRF05 EB and connected via RS232-USB to PC(BTool).
Wiki page says I must send a Util_NV_read command to enable sleep, and a Util_NV_write command to disable sleep.
I tried this, and I could put CC2540 to sleep by sending Util_NV_read command, but could not disable sleeping by sending Util_NV_write command.
When I sent Util_NV_write command, no response was coming, and CC2540 continue sleeping. (The LED1 was blinking.)
I have not modified the sample code at all, but do I have to do anything to use this sample code?
And I believe that I can wake CC2540 up by sending Util_NV_write command. Am I correct?
I'm having the same issue. Did you ever find a solution to this problem?
Figured it out.
Looks like there was a missing call to HalUARTSuspend() in hal_drivers.c when handling the HAL_UART_SLEEP_EVENT. Everything seems to be working fine now.
The Host Test PM example doesn't work with me. It did not enter sleep mode whatever I sent, the power consumption is 8mA, and the 32MHz crystal is running.
I am not sure what I have done incorrectly.
what parameters should i send to UTIL_NV_Read if i have to run the sleep 100 command.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.