Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
5 years ago.
mbed RTC stops when powered down, even with Vbat battery on.
Hi, I'm using an mbed LPC1768 dev. board, with a 2x16 LCD to display time/date. When the main power (from the USB cable) and Vbat (driven with a 3.3V backup battery) are on, everything is fine and the correct time/date are displayed. However, when the main power is disconnected, the clock stops. I was expecting the backup battery to keep the clock ticking over until the main power was restored. But it doesn't. For example, if the main power is removed for five minutes and then restored, the clock is five minutes slow. It counts away correctly again - just five minutes slow. I thought I might be able to put an oscilloscope probe on Pin 16 (RTCX1) to see if the 32kHz clock was still running during power down, but the 0.5mm chip pin spacings make this very tricky. And the RTCX1 pin is not brought out to the outside world. Vbat (measured on the mbed Vb pin) is definitely connected properly, and reads 3.3V. Has anybody else here come across this issue? Got any suggestions? John.