Power Supply Fault Detection

LatticeReferenceDesign-LogoFor systems using microprocessors or computers there are usually numerous power supplies. If a power supply fails the power manager circuits may, as a minimum, force a shutdown. For maintenance and troubleshooting it is very desirable to know which power supply failed and the type of failure condition (over-voltage or under-voltage).

This Reference Design for the Power Manager II POWR1220AT8 presents a solution that records the supply fault condition in non-volatile memory so the fault(s) can read back at a later time. This solution is fast, reliable, and cost effective because it is based on a Power Manager II, MachXO or LatticeXP2 and non-volatile SPI Flash memory. This reference design is compatible with the Power Manager II Hercules Development Kits.


  • Monitor and control different power supplies
  • Fault detection and status output for multiple monitor channels

Jump to

Block Diagram

Alternate Text

Performance and Size

Tested Devices* Macrocells Product Terms VMONs I/Os Timers HVOUTs Revision
ispPAC-POWR1220AT8 17 80 1 0/6 1 0 1.0

* May work in other devices as well.

Note: The performance and design sizes shown above are estimates only. The actual results may vary depending upon the chosen parameters, timing constraints, and device implementation. See the design's documentation for details. All coding and design work was done on a PC platform unless noted otherwise.


Technical Resources
Select All
Voltage Monitoring for Fault Logging - Documentation
RD1072 1.0 4/26/2010 PDF 447.5 KB
Voltage Monitoring for Fault Logging - Source Code
RD1072 1.0 4/26/2010 ZIP 327.3 KB

*By clicking on the "Notify Me of Changes" button, you agree to receive notifications on changes to the document(s) you selected.