Chronodot on RPI

Milan Obuch freebsd-arm at dino.sk
Fri Apr 17 07:20:35 UTC 2015


On Mon, 2 Mar 2015 00:46:14 -0300
Luiz Otavio O Souza <lists.br at gmail.com> wrote:

> On 1 March 2015 at 16:12, Waitman Gobble wrote:
> > Anyone have luck with the ChronoDot (D3231) on Raspberry Pi?
> > I have a RPI B+ (rev 1), tried with HEAD r277133 and r279488
> > without luck.

[ snip ]

> Hi,
> 
> I've just committed a driver for DS3231 (r279399), I'm using a
> different breakout board but chronodot will work just fine.

[ snip ]

> The ds3231(4) settings can be viewed with sysctl dev.ds3231

[ snip ]

Hello,

I just received my DS3231 test board, rebuild kernel and activated
appropriate DTB in boot. After first restart I've got

# dmesg | grep ds3
ds32310: <Maxim DS3231 RTC> at addr 0xd0 on iicbus1
ds32310: oscillator has stopped, check the battery.
ds32310: registered as a time-of-day clock (resolution 1000000us, adjustment 0.500000000s)

Next restart, just

# dmesg | grep ds3
ds32310: <Maxim DS3231 RTC> at addr 0xd0 on iicbus1
ds32310: registered as a time-of-day clock (resolution 1000000us, adjustment 0.500000000s)

and

sysctl dev.ds3231
dev.ds3231.0.32khz_enable: 1
dev.ds3231.0.sqw_mode: interrupt
dev.ds3231.0.sqw_freq: 8192
dev.ds3231.0.bbsqw: 0
dev.ds3231.0.temp_conv: 0
dev.ds3231.0.temperature: 30.7C
dev.ds3231.0.%parent: iicbus1
dev.ds3231.0.%pnpinfo: name=rtc compat=maxim,ds3231
dev.ds3231.0.%location: addr=0xd0
dev.ds3231.0.%driver: ds3231
dev.ds3231.0.%desc: Maxim DS3231 RTC
dev.ds3231.%parent: 

Basically, it seems just working. What else could I do to confirm that?
Why the 'oscillator has stopped, check the battery' on first boot after
installing? I think I swa it somewhere it's normal and will not occur
anymore (maybe unless battery is fully discharged) but I am asking
anyway...

Regards,
Milan


More information about the freebsd-arm mailing list