Piface RTC on Raspberry Pi

This forum is for topics dealing with problems with software specifically in the ARMv6h repo.

Piface RTC on Raspberry Pi

Postby mikekelly » Sun Jun 25, 2017 9:44 am

I followed this post, but the RTC still did not appear in /dev

viewtopic.php?f=31&t=8243

The only step that was missing was adding the device to the Device tree:

Edit /boot/config.txt and add the following 3 lines:

Raspbery Pi b

device_tree=bcm2708-rpi-b.dtb
device_tree_param=i2c1=on
device_tree_param=spi=on

or Raspberry Pi B plus

device_tree=bcm2708-rpi-b-plus.dtb
device_tree_param=i2c1=on
device_tree_param=spi=on

After that the Piface clock worked fine. It tends to gain 10-20 seconds per day, so I update the clock every 24 hours by executing "hwclock -w". Hope this helps somebody.
mikekelly
 
Posts: 1
Joined: Sun Jun 25, 2017 9:21 am

Return to ARMv6h

Who is online

Users browsing this forum: No registered users and 8 guests