LoginSignup
0
0

More than 5 years have passed since last update.

Zybo > XADC sample > Import Examples / Run

Last updated at Posted at 2016-05-21
動作環境
Vivado/XSDK 2015.4
Windows 8.1 pro

ずいぶん久しぶりにZyboを扱っている。Adam Taylorのblogで読んだXADCコードを試した。

自分で入力しようと思っていが、Example Codeをすぐに試せるようだった。

`1. XSDKにおいて、作成したapplicationにあるsystem.mssを開く

`2. ps7_xadc_0の記載の右側のImport Examplesをクリック

qiita.png

`3. xadcps_polled_printf_exampleを選択してOKを押す (割込みでなくポーリングとしている)

qiita.png

hello_bsp_xadcps_polled_printf_example_1というプロジェクトが作成される。これを実行した結果が以下。

Entering the XAdc Polled Example.

The Current Temperature is 49.179 Centigrades.
The Maximum Temperature is 52.078 Centigrades.
The Minimum Temperature is 43.681 Centigrades.

The Current VCCPINT is 0.988 Volts.
The Maximum VCCPINT is 0.995 Volts.
The Minimum VCCPINT is 0.985 Volts.

The Current VCCPAUX is 1.792 Volts.
The Maximum VCCPAUX is 1.794 Volts.
The Minimum VCCPAUX is 1.788 Volts.


The Current VCCPDDRO is 1.487 Volts.
The Maximum VCCPDDRO is 1.492 Volts.
The Minimum VCCPDDRO is 1.469 Volts.
Exiting the XAdc Polled Example.
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