BlueWave Studio forum
  • Login
  • Register
  • Login Register
    Login
    Username:
    Password:
  • Home
  • Help
  • View Today's Post
  • More
    • BlueWave Studio
    • Shop
User Links
  • Login
  • Register
  • Login Register
    Login
    Username:
    Password:

    Quick Links Home Help View Today's Post
    More
    • BlueWave Studio
    • Shop
    BlueWave Studio forum OpenAuto Pro Real Time Clock (RTC) RTC ds3231 error in Raspbian

    Thread Closed 
    RTC ds3231 error in Raspbian
    pyto00
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: Sep 2019
    Reputation: 0
    #3
    09-22-2019, 07:33 PM
    (09-19-2019, 05:38 PM)Daniel_BlueWave Wrote: If you would configure it correctly then it would work. The OpenAuto Pro is an application running under regular Raspbian OS and error you have mentioned is coming from OS. Looks like you did not read any posts in RTC section at forum or in User Manual.

    We recommend to do that.
    Thanks for the recommendation, but I did follow the steps that I found in the RTC section.
    I found the source of the error, it has something to do with adress interfering on the i2c bus I think
    When I pull the touchscreen out of SDA and SCL, then hwclock -r returns the date&time
    When I connect the touchscreen again, I get one of the following errors

    rhwclock: ioctl(RTC_RD_TIME) to /dev/rtc0 to read the time failed: Invalid argument
    hwclock: ioctl(RTC_RD_TIME) to /dev/rtc0 to read the time failed: Remote I/O error

     I also noticed that the touchscreen sometimes uses the same adress as the RTC ( 0x68 ).
     This is only with the touchscreen connected to the i2c bus., 
    pi@raspberrypi:~ $ i2cdetect -y 1
         0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
    00:          -- -- -- -- -- -- -- -- -- -- -- -- --
    10: -- -- -- -- -- -- -- 17 -- 19 -- -- -- -- -- --
    20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    30: -- -- -- -- -- -- -- -- 38 -- -- -- -- -- -- --
    40: -- -- -- -- -- 45 -- -- -- -- -- -- -- -- -- --
    50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    60: -- -- -- -- -- -- -- -- 68 -- -- -- 6c -- -- --
    70: -- -- -- -- -- -- -- --
    


    Any tips?
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)



    Messages In This Thread
    RTC ds3231 error in Raspbian - by pyto00 - 09-19-2019, 04:30 PM
    RE: ds3231 not working on Build3.3.2-B2 - by Daniel_BlueWave - 09-19-2019, 05:38 PM
    RE: ds3231 not working on Build3.3.2-B2 - by pyto00 - 09-22-2019, 07:33 PM

    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Help · BlueWave Studio · Shop

    Copyright © bluewavestudio.io. All rights reserved.

    Linear Mode
    Threaded Mode