element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum piface shime RTC installation issue
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 9 replies
  • Subscribers 664 subscribers
  • Views 1258 views
  • Users 0 members are here
Related

piface shime RTC installation issue

dolf1958
dolf1958 over 5 years ago

I'm new here.

 

Purchased an piface shime RTC

Installation was OK

But I get no response from the RTC looks that i'm on the incorrect i2c line

I2cdetect -y 1 returns a UU on address 0x06f.

But when i have a sudo hwclock -- verbose it returns with

clock from util-linux 2.33.1

System time : 1580305453.029915

Trying to open: /dev/rtc0

no usable clock interface found

 

On ls /dev/i2c-* it returns /dev/i2c-1

and on ls /dev/ it shows a rtc0

 

Can anybody support me in getting the installation correct?

  • Sign in to reply
  • Cancel
  • cstanton
    0 cstanton over 5 years ago

    Have you enabled i2c in the raspi-config ?

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • dolf1958
    0 dolf1958 over 5 years ago in reply to cstanton

    Yes I2C is enabled

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • colporteur
    0 colporteur over 5 years ago

    Looking at the date your profile was created, welcome to the Element14 Community.

     

    I have done some dabbling with Pi RTC. https://www.element14.com/community/message/276904/l/pi-configuration-for-real-time-clock#276904  is a post trying to find some understanding.

     

    Below is a procedure I used to get a DS3231 RTC working last year. Not sure what chipset your RTC is using. I would assume it would need a driver loaded using a configuration similar to this. Unfortunately, the time architecture in the Pi appears to get further development and users are left to discover how to get it working once again.

     

    Using your favourite text editor, add a call for the kernel to support a RTC on boot to the bottom of the /boot/config.txt file – a reboot is required for this change to take effect:

    #enable RTC DS3231

    dtoverlay=i2c-rtc,ds3231

     

    Now that we have a time reference, let’s remove the two software packages that Raspbian uses for supporting time. From the command line interface (CLI), issue the following command to remove the NTP and fake hardware clock software:

     

    sudo apt-get purge ntp fake-hwclock

     

    Using the CLI, let’s establish the time zone configuration by entering the following command and following the prompts.

    sudo dpkg-reconfigure tzdata

     

    Now let’s establish the date and time. This can be done through the command line using the sudo date --set ‘yyyy-mm-dd hh:mm:ss’ command. That requires a little more typing than needed, so while the device is connected to a network, we’ll cheat and use an online time source to nail up the date and time.

    sudo apt-get install ntpdate

    sudo ntpdate <replace with the URL or IP address of a time source, this includes the parenthesis>

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • dolf1958
    0 dolf1958 over 5 years ago in reply to colporteur

    Dear Sean,

     

    Thanks for our input

    The chip on the pcb is different so I have used

    dparam=i2c1=on

    dtoverlay=i2c-rtc,mcp7940x

     

     

    Unfortunatly I could not get it working with your info

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • dolf1958
    0 dolf1958 over 5 years ago

    Dear All

     

    It apears that the driver is installed correct because I get UU on postion 6f by the i2cdetect 1

    but hwclock -r responds an error

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • colporteur
    0 colporteur over 5 years ago in reply to dolf1958

    I found this post https://www.raspberrypi.org/forums/viewtopic.php?t=17597  for the chip you have specifically. You may have already tried these steps. There are a few command lines that I have found useful in the past.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • shabaz
    0 shabaz over 5 years ago

    Hi Dolf,

     

    There's a PiFace webpage here, with a PDF link at the bottom of the page, which contains a link to a script to enable the Piface RTC.

    PiFace – PiFace Real Time Clock

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • dolf1958
    0 dolf1958 over 5 years ago in reply to shabaz

    Dear Shabaz,

     

    I followed the link and installed for the 3e time.

    In the installation it indicate to check the Piface rtc status with

    sudo systemctl status pifacertc  the respond is

         pifacertc.service - LSB: add the piface RTC

              Loaded: loaded (etc/init.d/pifacertc; generated)

              Active: inactive (dead)

                   Docs:systemd-sysv-generator(8)

    But when i have a sudo hwclock -- verbose it returns with

         clock from util-linux 2.33.1

         System time : 1580501281.636260

         Trying to open: /dev/rtc0

         no usable clock interface found

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • shabaz
    0 shabaz over 5 years ago in reply to dolf1958

    Why did you install the script 3 times?

    Perhaps you may need to check the connections. It's a silly product anyway (relying on slight pressure to make electrical contact).

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube