This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

UCD90320: Run-time Clock Configuration

Part Number: UCD90320
Other Parts Discussed in Thread: UCD90160A

Number: CS1289545
Contact: Thomas Moreno
First name: Thomas
Last name: Moreno
Short description: Run Time Clock
Email: thomas.moreno@calix.com
Company: Calix
Company phone:
Language: English
State: Open
Provide case details or comments:

From - "UCD90320 Sequencer and System Health Controller PMBus Command Reference"

The three usage scenarios for the Run-Time Clock are:
• Time from power-on: the Run-Time Clock starts from 0 each time the device is powered on.
• Local time: an external processor sets the Run-Time Clock to real-world time each time the device is
powered-on.
• After power-down, device compares the time stamp from the latest fault log against the one from peak
log to see which one is newer as run time clock when power returns.
Question: This shows 3 different ways to use the run-time clock. Other than scenario 2, I don't see a way to configure these in the Command Reference. How can the host configure scenarios 1 and 3?
  • Hi

    Please check the 10.8 section of https://www.ti.com/lit/pdf/slvuaw9 to understand how to send out the command to update RTC

    Regards

    Yihe

  • I did but I don't see a command that can configure:

    Scenario 1 - Time from power-on: the Run-Time Clock starts from 0 each time the device is powered on.

    Scenario 3 -  After power-down, device compares the time stamp from the latest fault log against the one from peak log to see which one is newer as run time clock when power returns.

    Here's what we do - After a power-cycle(card which includes UCD device), the detailed fault log is read, posted and cleared. It is the timestamps of the detailed faults that we sometimes see a date with the year 1911 an other times we see a time of that matches the run-time on power-down.

    With other UCD devices (ex ucd90160A), the timestamps after a power-cycle  is always the year 1970.

    Please explain how to use the RUN_TIME_CLOCK command:

    1. To configure the run-time clock to start at 0

    2. On power-down, set the run-time clock to the latest timestamp from fault log or peak log.

  • Hi

    RUN_TME_CLOK is only used to configure the clock to match your existing time. not for anything else, such as configure time to 0. it wouldn't work.

    Regards

    Yihe