RTC is not starting reliable

The official pyboard running MicroPython.
This is the reference design and main target board for MicroPython.
You can buy one at the store.
Target audience: Users with a pyboard.
Post Reply
chiratoss
Posts: 3
Joined: Fri Jul 07, 2017 12:31 pm

RTC is not starting reliable

Post by chiratoss » Thu Sep 14, 2017 3:37 pm

Hello again,

On our application the pyboard is powered by a 3,6V Battery/Power supply connected through a hardware switch which shuts down the power completely.

In rare cases the RTC is not running after power on and start up sequence. If I plug in the USB cable and connect by VCP time.time() is just returning 0. It seems like the only solution to get out of this state this is to unplug and plug in all power cables again.

We would like to solve this issue.
Has anybody
  • similar experiences?
  • any idea to fix this?
  • any idea for further testing to delimit the problem?

User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: RTC is not starting reliable

Post by pythoncoder » Fri Sep 15, 2017 7:21 am

It may be a problem with the 32.768KHz crystal oscillator failing to start - they can be tricky things. That said I've never known the Pyboard fail in that way, in over three years experience with several boards.

I don't suppose there's anything in your setup which might affect the stray capacitance around the crystal?
Peter Hinch
Index to my micropython libraries.

Post Reply