This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DS1307 support
#1
Hello,
is there anyone who has working DS1307 on tinkerboard?

I tried many manuals, but nothing works for me. 
I can easily connect i2c bus and I can detect ds1307 on this bus (0x68).

Most successful I was using python script, which was able to read and write to this RTC module. But when I rebooted the tinkerboard, it gets somehow overwritten. I tried also write time, disconnect RTC, reboot tikerboard, connect RTC back and this worked. So I am assuming something is writing to these RTC during boot. Any idea? Or any other manual, which works? 

Thanks,
Igor
Reply
#2
(07-24-2017, 12:03 PM)Svermigo Wrote: Hello,
is there anyone who has working DS1307 on tinkerboard?

I tried many manuals, but nothing works for me. 
I can easily connect i2c bus and I can detect ds1307 on this bus (0x68).

Most successful I was using python script, which was able to read and write to this RTC module. But when I rebooted the tinkerboard, it gets somehow overwritten. I tried also write time, disconnect RTC, reboot tikerboard, connect RTC back and this worked. So I am assuming something is writing to these RTC during boot. Any idea? Or any other manual, which works? 

Thanks,
Igor

Hi, I had same issue with piface RTC on Pi 2...

Solved by removing fake-hwclock and ntp :

sudo apt-get remove fake-hwclock ntp
sudo rm /etc/cron.hourly/fake-hwclock
sudo update-rc.d -f fake-hwclock remove
sudo rm /etc/init.d/fake-hwclock
sudo update-rc.d hwclock.sh enable

Now i'm trying to make it work on tinkerboard but i can't... Is there anything to do to enable i2c on armbian ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)