Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

RTC will sometimes miss waking from hibernate

$
0
0

I am using the LX4F120H5QRF based Stellaris launchpad development board to prototype a data-logger at this stage the only external device that is being communicated to is an SD card via SPI. I am making using the FatFs library as shown in one of the stellarisware examples for one of the other dev boards to manage the filesystem.

I have written software that will wake up, read values from a few of the ADC channels and a GPIO port save them to the SD card, set the RTC match register to some time in the future and go back into hibernate.

This is working "mostly", it sits and does its thing logging but every now and again it will will not wake back up from hibernation and will just sit there, I do know the RTC is still functioning though because if I use the wake pin to resume from hibernation when it has got stuck the times logged are correct.

I have tried to look at the log files to determine if there is some particular cause but have been unable to locate anything that looks suspect.

Is anyone able to help me with some ideas on what might cause the RTC match to not wake up the controller, or even a good way to debug the problem as I am at a bit of a loss as to how to debug the issue properly because of how CCS will just freeze up and quit any time you try to debug a project that goes into hibernate mode.


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>