Table of Contents |
---|
Introduction
This page gives an overview of sysmonpsu driver which is available as part of the Xilinx Vivado and SDK distribution.
A Zynq® UltraScale+™ MPSoC has one system monitoring (SYSMON) block in both the PS and the PL. The SYSMON block has a register interface that can be used to configure the
block and provide a capability of monitoring on and off chip voltages as well as junction temperature. The SYSMON block also has a built-in alarm generation logic that can be used
to interrupt the processor based on certain alarm conditions. For example, shutting down the system, based on an over-temperature (OT) alarm generated from the SYSMON block.
The PL SYSMON block has DRP, JTAG and I2C interfaces to enable monitoring from the external master and the capability to interface with an external power management bus
(PMBus) device. The PS SYSMON block has a built-in logic that enable access to the PS and PL SYSMON blocks.
...
Test Name | Example Source | Description |
---|---|---|
Polled Example | This is a polled mode example in which shows the usage of the driver/device in polled mode to check the on-chip temperature and voltages. | |
Interrupt Example | This is an interrupt mode example in which shows the usage of the driver/device in interrupt mode to handle on-chip temperature and voltage alarm interrupts. | |
Low Level Example | This example shows the usage of the basic functions driver in polled mode to check the on-chip temperature and voltages. | |
Single Channel Interrupt Example | This example shows the usage of the driver/device in single channel interrupt mode to handle End of Conversion (EOC) and VCCINT alarm interrupts. | |
AMS Example | This example is used to measure AMS control block voltages via single channel sequencer off mode. |
Example Application Usage
Polled Example
This is a polled mode example in which shows the usage of the driver/device in polled mode to check the on-chip temperature and voltages.
Expected Output
Code Block |
---|
Entering the SysMon Polled Example.
The Current Temperature is 32.191 Centigrades.
The Maximum Temperature is 32.417 Centigrades.
The Minimum Temperature is 31.717 Centigrades.
The Current Supply 1 is 0.846 Volts.
The Maximum Supply 1 is 0.847 Volts.
The Minimum Supply 1 is 0.845 Volts.
The Current Supply 3 is 1.810 Volts.
The Maximum Supply 3 is 1.811 Volts.
The Minimum Supply 3 is 1.808 Volts.
Exiting the SysMon Polled Example.
Successfully ran Sysmon PS Polled Example Test |
Interrupt Example
This is an interrupt mode example in which shows the usage of the driver/device in interrupt mode to handle on-chip temperature and voltage alarm interrupts.
Expected Output
Code Block |
---|
Entering the SysMonPsu Interrupt Example.
The Current Temperature is 33.598 Centigrade.
The Current Supply 1 is 0.845 Volts.
The Current Supply 3 is 1.809 Volts.
Temperature Alarm(0) HIGH Threshold is 23.596 Centigrade.
Temperature Alarm(0) LOW Threshold is 13.594 Centigrade.
Supply 1 Alarm(1) HIGH Threshold is 0.645 Volts.
Supply 1 Alarm(1) LOW Threshold is 1.045 Volts.
Supply 3 Alarm(3) HIGH Threshold is 1.609 Volts.
Supply 3 Alarm(3) LOW Threshold is 2.009 Volts.
Alarm 0 - Temperature alarm has occurred
The Current Temperature is 33.885 Centigrade.
The Maximum Temperature is 34.406 Centigrade.
The Minimum Temperature is 33.046 Centigrade.
The Current Supply 1 is 0.845 Volts.
The Maximum Supply 1 is 0.847 Volts.
The Minimum Supply 1 is 0.844 Volts.
The Current Supply 3 is 1.808 Volts.
The Maximum Supply 3 is 1.811 Volts.
The Minimum Supply 3 is 1.807 Volts.
Exiting the SysMon Interrupt Example.
Successfully ran SysMonPsu Interrupt PS Example Test |
Low Level Example
This example shows the usage of the basic functions driver in polled mode to check the on-chip temperature and voltages.
Expected Output
Code Block |
---|
Successfully ran SysMonPsu low level Example Test |
Single Channel Interrupt Example
This example shows the usage of the driver/device in single channel interrupt mode to handle End of Conversion (EOC) and VCCINT alarm interrupts.
Expected Output
Code Block |
---|
Successfully ran Sysmon Single Channel Interrupt Example Test |
AMS Example
This example is used to measure AMS control block voltages via single channel sequencer off mode.
Expected Output
Code Block |
---|
Entering Sysmon AMS Example Test
1. EOC: Done , VCC_PSPLL: 1.202 Volts
2. EOC: Done , VCC_PSBATT: 1.636 Volts
3. EOC: Done , VCCINT: 0.844 Volts
4. EOC: Done , VCCBRAM: 0.845 Volts
5. EOC: Done , VCCAUX: 1.798 Volts
6. EOC: Done , VCC_PSDDRPLL: 1.805 Volts
7. EOC: Done , VCC_PSDDRPHY_REF: 0.217 Volts
8. EOC: Done , VCC_PSINTFP_DDR: 0.848 Volts
Successfully ran Sysmon AMS Example Test |
Changelog
https://github.com/Xilinx/embeddedsw/commits/master/XilinxProcessorIPLib/drivers/sysmonpsu
...