How to talk with Real Time Clock hardware?
Hello all,
I raised this question in some forums. I think it is a common question when we write a program that will communicate with a hardware on the board. Unfortunately, there is no answer make me satisfactory! Can you support me? I have a board that integrates an Real Time Clock (RTC) chip. The RTC chip uses I2C protocol to read/write to its registers. Now, I want to use Python to access to the RTC chip. Here is the information. Chip RTC: https://www.intersil.com/content/dam...1/isl12057.pdf Board OS: Linux Yocto Programming language: Python If you have any know-how, please support me. Thanks for any help. |
Some years ago I used i2c-tools. There is a package in Ubuntu and I guess in most distributions. The home page is www.lm-sensors.org (although I've just tried the link and it seems to be down or too slow).
Regards, Esteban |
Thank you so much!
The homepage http://www.lm-sensors.org/ is slow, and I can not access to it! But as I checked information of i2c-tools. It seems that SMBus is a way to talk with I2C device. I also believe that is one of method to talk with my RTC. I am trying this method, unfortunately, there is still an issue that I am finding a solution, it is here http://www.linuxquestions.org/questi...sy-4175599788/ If you have more idea, please give me. I really appreciate for any help. |
All times are GMT -5. The time now is 08:03 AM. |