Hi all
I have and had some problems with POWER_SAVING mode on the HostTestRelease project for the CC2540. So let me start at the beginning.
Back in the day I set it up to not use flow control and defined GATT_OFF_CHIP I think it was called to let our processor handle the table and replies etc etc. Everything works awesome and we've been using it like this and building on our side for the last year almost in numerous very successful prototypes.
We are currently at the point were power consumption could severely be improved if we sleep the CC2540, as currently it is the biggest consumer. I have in the past played with it and struggled to wake the chip on UART, had to spend time on other things and there it was left. Until now. Took me a while again to remember to pull the RTS low to wake the chip.
Next problem was that the CC2540 would only respond if RTS is low. This is a problem as our processor will never know when the CC2540 has a connection request unless we either keep RTS low, which will never allow the chip to sleep, or poll it, which will have severe user experience lag implications. After some scratching around I found where the CTS is enabled on the CC2540 and removed it.
Now it looks like everything UART and sleep related is working perfectly, but I struggle with connections being dropped after they're made, anything between mere seconds to almost a minute after the connection was made. Debugging central device reveals the connection has timed out unexpectedly, sniffing the packets reveals our peripheral with the CC2540 stops the 'handshaking' process, while debugging our peripheral's processor shows that the CC2540 did decide to terminate the link, but currently there are now further details. These three tools are also not synced, so it's hard to see what happens when on each of them relative to the other.
Any ideas?
I have also posted some here in the event that some of the people who struggled with similar problems in the past could help me out : http://e2e.ti.com/support/wireless_connectivity/f/538/t/310686.aspx