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.

UCD90160: Clearing Logged Faults.

Part Number: UCD90160

I am having problems clearing logged faults using PMBUS commands with my own software.

I can read logged faults using LOGGED_FAULT_DETAIL_INDEX and LOGGED_FAULT_DETAIL.

However when I try to clear the logged faults (para 10.26 of slvu352g.pdf) using a write command LOGGED_FAULTS (0xEA) with a zero block the stored faults are not cleared.

I read the logged faults after clearing, the contents returned are still the same.

  • Hello

    0xEA is the correct command to clear fault log. Did you write 18 zeros?  Could you share your I2C transactios?

    Did you get NACK? Is the  brownout feature enabled?

    Is that possible new faults are present after clear?

    Regards

    Yihe

  • Hi Yihe,

    My transmit buffer has 0xEA followed by 18 zeros.

    I am getting a NAK on byte 8 when sending.

    The brownout feature is not enabled.

    I am only getting new faults at power up. So stopping and restarting the software will not generate new faults.

    Regards

    Kevin

  • Hello Kevin

    The correct format would be, address + 0xEA + 0x12(length) + eighteen zeros.

    Device will reject the command if the format is not right.

    Could you please provide waveform?

    Also you can enable the pmbus logging or data logging at the Fusion GUi to see how GUI clears the fault log

    1. open fusion GUI

    2. disable the polling

    3. from Tools, select pmbus logging or data logging

    4. click " click to configure device" to pen UCD90160 gui

    5. go to the bottom left: Status, click clear logged faults to clear fault log.

    6. stop the pmbus or data logging, open the log file to see the exactly command.

    Hope this helps.

    Regards

    Yihe

  • I forgot to add the length field

    Thanks