Q:
About the fault logging, if enabling MFR_NV_FAULT_LOG, how much data could we store? On the datasheet, it shows 255bytes. Does it mean we could store up to 255 times of fault?
For example, if UV keeps happening for 26sec and the sampling rate is 100ms, all UV fault value along these 26sec is stored on the fault log.
Ans:
No, 255 bytes means the register “MFR_NV_FAULT_LOG” can return a block of 255 bytes information, as shown in table 34 on page 65. This command contains 15 nonvolatile fault logs (fault log 0 ~ fault log 14), when a fault is detected, the device will log the information to 1 of the 15 nonvolatile fault logs if NV log is enabled. After all 15 fault logs have been used, bit 0 of STATUS_CML will be set and the device can be configured to either stop writing additional fault logs or to write over the oldest data.