SERIES AP220 / AP231 ACROPACK
USER
’S MANUAL
Acromag, Inc. Tel: 248-295-0310
- 23 -
http://www.acromag.com
- 23 -
https://www.acromag.com
XADC Status/Control Register (Read/Write) - (BAR0 + 0x0000 0088)
This read/write register will access the XADC register at the address set in
the XADC Address Register.
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 0x8CH. Next, this
register at BAR0 plus 0x88H 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 (Write Only) - (BAR0 + 0x0000 008C)
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.