0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

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

Last updated at Posted at 2016-06-11

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タブを選択
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?