(Feb-13-2017, 07:33 AM)Larz60+ Wrote: [ -> ]I thought I'd look into the RTC a bit more, but I can't even find it on the block diagram.
What is the RTC chip id?
I've programmed a bunch of these on TI SBC's but have never used hardware from this company.
Is the realtime clock built into the board, a piggyback, or a standard chip?
Is there a user manual for this board? (not the datasheet)
I'm beginning to think that this is for the system clock, and someone just called it an RTC. Do you know for
a fact that there really is one?
* What is the RTC chip id?
The RTC chip id: ISL12057. It is from
Intersil.
You can see it at
Board Schematic, page 6.
* Is the realtime clock built into the board, a piggyback, or a standard chip?
As I read the datasheet, the realtime clock hardware is only ISL12057 chip, and it is integrated on the board (on board chip, not external connection).
* Is there a user manual for this board? (not the datasheet)
I have
Quick Start Guide for this board. It may be the User Manual. For the Guide, I have only that document.
I tried to find other User Manual, but there is only Quick Start Guide.
For other document (datasheet, schematic), you can access to the
VAR-DT6 board, select "Documentation" tab.
* I'm beginning to think that this is for the system clock, and someone just called it an RTC. Do you know for
a fact that there really is one?
I do not know exactly.
Actually, as I know, the RTC chip will hold the time even though the power supply is off. The RTC is fed by a coin battery. When the board is powered on again, the system time is updated from the RTC chip. That is what I understand.
(Feb-13-2017, 07:54 AM)Larz60+ Wrote: [ -> ]I thought I'd look into the RTC a bit more, but I can't even find it on the block diagram.
What is the RTC chip id?
I've programmed a bunch of these on TI SBC's but have never used hardware from this company.
Is the realtime clock built into the board, a piggyback, or a standard chip?
Is there a user manual for this board? (not the datasheet)
I'm beginning to think that this is for the system clock, and someone just called it an RTC. Do you know for
a fact that there really is one?
I found a small section on the RTC (there really is one).
There are a couple of lines total in the datasheet, but it may be enough
This is what you've got:
ISL12057 RTC
RTC Backup battery - CR1225 Battery Holder
That's it! but that is enough to get the datasheet which is here: https://www.intersil.com/content/dam/Int...l12057.pdf
This is an Intersil chip, and is programmed by I2c
The MCU is a DART-MX6, and here http://variwiki.com/index.php?title=VAR-...e_Clock.29
is the info that I can find on setting the RTC.
Thank you Mr.Larz60+ for your enthusiasm!
For handle RTC ISL21057, Variscite shows a page here
http://www.variwiki.com/index.php?title=IMX_RTC
Actually, this is a linux command to set to RTC. I expect we can use Python to control that RTC.
I am have no experience in Python. So, can we use 100% Python to control it or we should use Python to issue a linux command to set RTC?
For example (just example, not correct all thing):
1. 100% python:
We must use some Python libraries to talk to RTC by I2C protocol.
2. Python to issue a Linux command to set RTC.
print("date --set="20150225 09:04"")
print("hwclock --systohc --utc")
These print commands of Python will send the Linux command ' date --set="20150225 09:04" ', 'hwclock --systohc --utc' to RTC of the board.
So, which case (1 or 2) is feasible and take less effort? Please teach me a little.
PS: By the way, I still have another question about "talk to RTC". Sorry for many questions. I will ask you after my current question can be solved and you are willing help me for next question!