The device implements a power supply BIST (Built-In Self-Test) function to test the primary power supply failure diagnostic paths that cover the following detections:
- FAULT_PWR1[AVDD_OV], [AVDD_OSC], [DVDD_OV],
[CVDD_OV], [CVDD_UV], [REFHM_OPEN],
[DVSS_OPEN], and [CVSS_OPEN]
- FAULT_PWR2[TSREF_OV], [TSREF_UV], [TSREF_OSC],
[NEG5V_UV], [REFHM_OSC],and [PWRBIST_FAIL]
The power supply BIST is essentially a check on the checker and it is a command base function initiated by host.
The power supply BIST, once started, will force a fault on failure detection path on each supply. Take AVDD OV diagnostic path as an example, when the BIST engine tests the AVDD OV path, the following occur:
- The BIST engine forces a fail to the AVDD OV comparator
- The BIST engine then checks to ensure the signal to trigger FAULT register is asserted, and the signal to trigger NFAULT is also asserted
- The BIST engine resets the FAULT register and NFAULT signal (that is, clears the FAULT_PWR1/2/3 registers and deasserts NFAULT)
- The BIST engine repeats step 1 to step 3 on the next power supply diagnostic path check (for example, AVDD OSC) until all intended diagnostic paths covered by BIST are tested.
Note: - During the BIST run, the NFAULT pin will be toggled on and off. Host ignores the NFAULT pin status or can disable the NFAULT pin output by setting DEV_CONF[NFAULT_EN] = 0.
- Among all internal power supplies, TSREF is one that can be enabled or disabled by host. To ensure TSREF diagnostic paths are tested during BIST run, host enables TSREF before starting the power supply BIST. Otherwise, the BIST engine will ignore the TSREF diagnostic paths test result during the BIST run.
- Because other nonpower supply-related faults can also trigger NFAULT, it is recommended to mask all nonpower supply-related faults through FAULT_MSK1/2 registers before the power supply BIST run.
- Host also ensures there are no power supply faults before starting the power supply BIST run.
Start power supply BIST by sending DIAG_PWR_CTRL[PWR_BIST_GO] = 1. The BIST run will not abort even if a failure is detected during the run. At the end of the BIST run, the result is indicated by the FAULT_PWR2[PWRBIST_FAIL] flag.
The power supply BIST forces a failure and ensures the diagnostic path triggers the fault accordingly. A failure on the BIST run indicates a diagnostic path is unable to trigger in a fault condition. To further examine which path is unable to indicate a failure, host can set the DIAG_PWR_CTRL[BIST_NO_RST] = 1. This bit disables the reset step during the BIST run. Re-start power supply BIST with this option enabled. At the end of the BIST run, examine the FAULT_PWR1 and FAULT_PWR2 registers. Any register flag that remains 0 indicates it is unable to flag a failure.