Hi,
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?
Thanks.
Hello tomoyuki,
I'm having the same issue. Did you ever find a solution to this problem?
Best,
William
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.
Hi all,
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.
Regards,
Cheong
what parameters should i send to UTIL_NV_Read if i have to run the sleep 100 command.