RTD Embedded Technologies, Inc.
|
www.rtd.com
36
DM35425HR User’s Manual
6.3
BAR2
–
ADC Functional Block
This Function Block is for an Analog to Digital converter. This ADC Function block has multiple channels. There are 32 channels in this
functional block, however all channels must use the same pacer clock. Each channel has its own FIFO and DMA channel. In the sections
below “n” is used
to enumerate the channels of the ADC function block.
Table 17: Multi-Channel ADC Functional Block
Offset
0x03
0x02
0x01
0x00
H
ea
de
r
FB + 0x00
FB_ID
FB + 0x04
FB_DMA_BUFFERS
FB_DMA_CHANNELS
Reserved
Reserved
AD
C
C
ont
rol
FB + 0x08
STOP_TRIG
START_TRIG
CLK_SRC
MODE_STATUS
FB + 0x0C
CLK_DIV
FB + 0x10
CLK_DIV_CNTR
FB + 0x14
PRE_TRIGGER_CAPTURE (limited by FIFO size)
FB + 0x18
POST_STOP_CAPTURE
FB + 0x1C
SAMPLE_CNT
FB + 0x20
INT_ENA (Sample, Start, Stop, Threshold, Pacer Tick, etc)
FB + 0x24
INT_STAT
Reserved
FB + 0x28
CLK_BUS3
CLK_BUS2
Reserved
FB + 0x2C
CLK_BUS7
CLK_BUS6
CLK_BUS5
CLK_BUS4
FB + 0x30
Reserved
AD
C
C
han
ne
l 0
FB + 0x34
CH0_FRONT_END_CONFIG (Maskable register
–
16-bit)
FB + 0x38
CH0_FIFO_DATA_CNT
FB + 0x3C
CH0_THRESH_INT_ENA
CH0_THRESH_INT_STAT
CH0_FILTER
Reserved
FB + 0x40
CH0_THRESH_LOW
FB + 0x44
CH0_THRESH_HIGH
FB + 0x48
CH0_LAST_SAMPLE
AD
C
C
han
ne
l 1
FB + 0x4C
CH1_FRONT_END_CONFIG (Maskable register
–
16-bit)
FB + 0x50
CH1_FIFO_DATA_CNT
FB + 0x54
CH1_THRESH_INT_ENA
CH1_THRESH_INT_STAT
CH1_FILTER
Reserved
FB + 0x58
CH1_THRESH_LOW
FB + 0x5C
CH1_THRESH_HIGH
FB + 0x60
CH1_LAST_SAMPLE
…
AD
C
C
han
ne
l n
FB + 0x34 +
(0x18 * n)
CHn_FRONT_END_CONFIG (Maskable register
–
16-bit)
FB + 0x38 +
(0x18 * n)
CHn_FIFO_DATA_CNT
FB + 0x3C +
(0x18 * n)
CHn_THRESH_INT_ENA
CHn_THRESH_INT_STAT
CHn_FILTER
Reserved
FB + 0x40 +
(0x18 * n)
CHn_THRESH_LOW
FB + 0x44 +
(0x18 * n)
CHn_THRESH_HIGH
FB + 0x48 +
(0x18 * n)
CHn_LAST_SAMPLE
AD
C
C
han
ne
l
FIF
O
FB + 0x334
CH_FIFO_ACCESS (ADC Channel 0)
FB + 0x338
CH_FIFO_ACCESS (ADC Channel 1)
…
FB + 0x334
+ (0x04 * n)
CH_FIFO_ACCESS (ADC Channel n)
6.3.1
FB_ID
(R
EAD
-O
NLY
)
This is the functional block ID. This register should read 0x01031000 for the ADC functional block.