SOQuartz Model A baseboard Real-Time Clock
#1
There appears to be some kind of real-time clock on the SOQuartz Model A Baseboard, maybe even two, but I can't seem to get them to work. I bodged together a CR2032 holder and a JST-PH 2mm header which fits the connector on the board that is labelled "RTC". Verified with a multimeter that the battery has 3V across the terminals so it seems like it's plugged in properly, but I'm still getting "rtc rtc0: Power loss detected, invalid time, rtc-pcf85063 1-0051: hctosys unable to read the hardware clock" in dmesg. There seems to also be a /dev/rtc1 (rk808-rtc) that seems responsive to hwclock but on every reboot it reverts to August 5, 2017 09:00 UTC for some reason.

Anyone know the correct way to provide power to the RTC?
  Reply
#2
I'm beginning to strongly suspect that I may have a bad oscillator or something on my board. Is anyone else experiencing similar trouble with their RTCs? I had a look at the kernel driver for the PCF85063 and what it does is check the OS flag (bit 7) on the seconds register (0x04) and if it is set it issues the power loss detected warning. According to the datasheet, if this bit is set that means: "clock integrity is not guaranteed; oscillator has stopped or has been interrupted". I'm pretty sure that there's power to the chip: I even used a multimeter to measure the voltage between pins 8 (VDD) and pin 4 (VSS) on the PCF85063 on the board and it is indeed at 3.2v or so.

Anyone else have the same board and are you also seeing the same kernel warning about power loss detected from rtc0? With the way it is wired up, with board power and battery power all being routed through a Schottky barrier diode (D3 on page 8 of the schematics) we should never be getting the message at all even without a battery I should think.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Is the USB 3.0 port still an issue for Q64 model A? andreas1107 3 1,473 12-11-2023, 09:27 AM
Last Post: diederik
  SOQuartz with Waveshare CM4 fan heatsink stormwyrm 1 401 11-18-2023, 01:35 PM
Last Post: stormwyrm
  SOQuartz BLADE 3D server rack screws agriffith2134 1 592 08-14-2023, 02:23 PM
Last Post: agriffith2134
  Quartz64 Model A fan TeutonicTovarish 1 1,038 05-20-2023, 04:45 AM
Last Post: diederik
  Survey for Model B Owners: Stereo Audio HAT CounterPillow 1 1,208 03-01-2023, 05:48 AM
Last Post: manning
  Soquartz-cm4io emmc with usb host louisvinc 6 1,931 02-14-2023, 09:50 PM
Last Post: louisvinc
  SD card slot in Quartz64 model B psic4t 1 975 01-18-2023, 02:48 PM
Last Post: psic4t
  Quartz64 Model A - SATA & USB3 dml-pc 0 1,249 10-13-2022, 07:43 PM
Last Post: dml-pc
  3D Model / Technical Drawings pitchbent 2 1,643 10-05-2022, 02:01 PM
Last Post: pitchbent
  DeskPi Super6C CM4 board with the SOQuartz adamfowleruk 5 4,083 08-09-2022, 03:22 PM
Last Post: tizilogic

Forum Jump:


Users browsing this thread: 1 Guest(s)