Introduction
This page gives an overview of sysmonpsv driver which is available as part of the Xilinx Vivado and Vitis distribution.
Source path for the driver:
https://github.com/Xilinx/embeddedsw/tree/master/XilinxProcessorIPLib/drivers/sysmonpsv/src
Driver source code is organized into different folders. Below diagram shows the sysmonpsv driver source organization
sysmonpsv
|
- Doc - Provides the API and data structure details
|
Examples - Reference application to show how to use the driver APIs and calling sequence
|
Source - Driver source files
SYSMON Features
The SYSMON block, provides the following features.
Measure and monitor up to 160 voltages across the chip
Automatic alarms based on user defined limits for the on-chip supply voltages and temperature.
Optional interrupt generation.
Test Cases
xsysmonpsv_polled_example.c – 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.
xsysmonpsv_intr_example.c – 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.
Changelog
2019.1
Initial Release
2019.2
Fixed
XSYSMONPSV_INTR_NEW_DATA_MASK
Fixed an issue in polled example which made it hang
Updated polled example to display temperature
Added xsysmonpsv_intr_example
Related Links
NA