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.

UCD90120A - setting & accessing fault index 1 to 16 on the logged faults FIFO

Hi,

I'm trying to set the fault index for the fault FIFO using the EBh command (1st byte) but I'm always getting the 1st fault. Is there a different way to set the fault index?

(I see on the 2nd byte of the return value for the EBh command, that the total number of logged faults detail is larger than 1, The ECh command returns always the 1st fault entry only).

Thank you in advance,

                                   Meir

  • The LOGGED_FAULT_DETAIL_INDEX command (code = 0xEB) is a Read/Write Word (2 bytes) command where the 1st byte is Fault Index (Read/Write) and the 2nd byte is the Total Number of LOGGED_FAULT_DETAIL entries (Read Only). Try swapping the byte order in the command that you send and see if you can set the Fault Index