adamTaylor
XADC
Alarm
#migrated

Zybo > Chronicles blog 43 > XADC Alarms and Interrupts > Alarm範囲の設定 > Vivado上 / XAdcPs_SetAlarmThreshold()

More than 1 year has passed since last update.

MicroZed Chronicles リスト http://adiuvoengineering.com/?page_id=285

@ Adam Taylor blog

https://forums.xilinx.com/t5/Xcell-Daily-Blog/Adam-Taylor-s-MicroZed-Chronicles-Part-43-XADC-Alarms-and/ba-p/496468

XADCの測定項目に対するAlarmのかけ方


he XADC has its own dedicated interrupt, shared by both processors on IRQ 39 as this extract from the Zynq TRM (Technical Reference Manual) shows:


Table 7-3


These alarm parameters can be set during the configuration of the XADC within Vivado as show below:


Alarmを設定する画像があるが、Vivadoのどの設定かは未確認。


They can also be set during execution of the software using the xadc_ps.h functions provided. For instance:


XAdcPs_SetAlarmThreshold(XADCInstPtr, XADCPS_ATR_TEMP_LOWER,(TempRawData));




(追記 2016/06/27)

Alarmの設定画面の出し方は以下であった。


  1. ブロックデザインにてXADC Wizardをダブルクリック

  2. Re-customize IP画面にてAlarmsタブを選択