SERIES AP470 ACROPACK
USER
’S MANUAL
Acromag, Inc. Tel: 248-295-0310
- 34 -
http://www.acromag.com
- 34 -
www.acromag.com
XADC Status/Control Register (Accessible in Standard and Enhanced Mode) (Read/Write)
(BAR0 + 0x0000 0048)
This read/write register will access the XADC register at the address set in
the XADC Address Register. This allows the board’s temperature and supply
voltages to be read.
For example, the address of the XADC Status register that is to be accessed
is first set via the XADC Address register at BAR0 plus 0x4CH. Next, this
register at BAR0 plus 0x48H is read. Bits 22 to 16 of this register hold the
address of the XADC register that is accessed. Data bits 15 to 6 of this
register hold the “ADCcode” temperature, Vccint, or Vccaux value. Data bits
5 to 0 are not used. Valid addresses are given in column one of the table
below.
Reading or writing this register is possible via 32-bit data transfers.
The 10-bits digitized and output from the ADC can be converted to
temperature by using the following equation.
15
.
273
1024
975
.
503
)
(
ADCcode
C
e
Temperatur
The 10-bits digitized and output from the ADC can be converted to voltage
by using the following equation.
V
ADCcode
volts
age
SupplyVolt
3
1024
)
(
XADC Address Register (Accessible in Standard and Enhanced Mode) (Write Only)
(Bar0 + 0x0000 004C)
This write only register is used to set the XADC address register with a valid
address for the XADC internal status or control registers. Valid addresses
are given in the following table. Additional addresses can be found in the
Xilinx XADC document UG480 (available from Xilinx). Writing this register is
possible via 32-bit data transfers.
The address value written to this register can be read on bits 22 to 16 of the
XADC Status/Control register at BAR0 plus 0x48H.
Table 3.20: System Monitor
Register Map
Address
Status Register
0x00
Temperature
0x01
Vccint
0x02
Vccaux
0x20
Maximum Temperature
0x21
Maximum Vccint
0x22
Maximum Vccaux
0x24
Minimum Temperature
0x25
Minimum Vccint
0x26
Minimum Vccaux