Advertisement
Guest User

Untitled

a guest
Apr 6th, 2017
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. from 'hwclock -c'
  2.  
  3. ds3231 module on a raspberry pi2:
  4.  
  5. you want to use this to set it up on i2c:
  6. echo ds3231 0x68 > /sys/class/i2c-adapter/i2c-1/new_device
  7.  
  8. using echo ds1307 (with the 3231 module):
  9. "220, 300000001, whatever it takes":
  10. hw-time system-time freq-offset-ppm tick
  11. 1444579083 1444579082.997622
  12. 1444579095 1444582702.481239 300623635 3006236
  13. 1444579106 1444582713.481490 156847125 1568471
  14. 1444579117 1444582724.481620 106102471 1061025
  15.  
  16. using echo ds3231 -
  17. "very stable":
  18. hw-time system-time freq-offset-ppm tick
  19. 1444584144 1444584144.494349
  20. 1444584156 1444584156.494203 -12 -0
  21. 1444584167 1444584167.494742 17 0
  22. 1444584178 1444584178.494432 2 0
  23. 1444584189 1444584189.494868 12 0
  24. 1444584200 1444584200.495405 19 0
  25. 1444584211 1444584211.494968 9 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement