Other Parts Discussed in Thread: AM3715, TPS65010
Hello Team,
we are experiencing a strange behavior of TPS65910 when updating the RTC. For our PMIC two options are described how to set the RTC. In both cases we found some issues.
CPU: AM3715, OS: WEC7
Important : for all the following the RTC does NOT freeze!
-
Behavior when the RTC is stopped when setting new date/time:
-
Executing write command to stop RTC
-
Reading the RUN FLAG and waiting until it shows “0”
-
In the issue case the RUN FLAG does not go to “0” the system hangs.
-
If the write command is executed a second time after waiting a while because the RUN FLAG did not go to “0” the RTC stops and the RUN FLAG goes to “0”
-
Unfortunately this is not possible in the existing Software
-
-
Behavior setting new date and time without stopping the RTC
-
System hangs
-
A test routine is checking if the new Date/time has arrived at the RTC
-
After setting the new date/time the FLAGs RTC_V_OPT and GET_TIME are set to copy the values into the shadow register and reading them
-
The deviation shows exactly 1 minute
-
It was observed that the seconds show the written figures but the minutes are increased by exactly 1minute
-
We do not believe that the there is a correlation to how often the RTC is set. The issues can happen also as single event. If the issue occurs the previous event of setting date/time was about 1 second before.
The I2C Communication seems to be OK as no other effects have been observed when communication with other clients.
Many thanks
Lutz