RTD Embedded Technologies, Inc.
|
www.rtd.com
42
DM35425HR User’s Manual
6.4
BAR2
–
DAC Functional Block
This Function Block is for a Digital to Analog converter. This DAC Function block has multiple channels. There are 4 channels in this functional
block, however all channels must use the same pacer clock. Each channel has its own FIFO and DMA channel.
Table 19: Multi-Channel DAC 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
D
AC
C
ont
rol
FB + 0x08
STOP_TRIG
START_TRIG
CLK_SRC
MODE_STATUS
FB + 0x0C
CLK_DIV
FB + 0x10
CLK_DIV_CNTR
FB + 0x14
Reserved
FB + 0x18
POST_STOP_CONVERSIONS
FB + 0x1C
CONVERSION_CNT
FB + 0x20
INT_ENA (Conversion, Start, Stop, Error, Channel)
FB + 0x24
INT_STAT
Reserved
FB + 0x28
CLK_BUS3
CLK_BUS2
BOOKMARK_TRIG
FB + 0x2C
CLK_BUS7
CLK_BUS6
CLK_BUS5
CLK_BUS4
FB + 0x30
Reserved
D
AC
C
ha
nn
el
0
FB + 0x34
CH0_FRONT_END_CONFIG (Maskable register
–
16-bit)
FB + 0x38
CH0_FIFO_DATA_CNT
FB + 0x3C
CH0_MARK_INT_ENA
CH0_MARK_INT_STAT
Reserved
Reserved
FB + 0x40
Reserved
FB + 0x44
CH0_LAST_CONVERSION
D
AC
C
ha
nn
el 1
FB + 0x48
CH1_FRONT_END_CONFIG (Maskable register
–
16-bit)
FB + 0x4C
CH1_FIFO_DATA_CNT
FB + 0x50
CH1_ MARK_INT_ENA
CH1_ MARK_INT_STAT
Reserved
Reserved
FB + 0x54
Reserved
FB + 0x58
CH1_LAST_ CONVERSION
D
AC
C
ha
nn
el 2
FB + 0x5C
CH2_FRONT_END_CONFIG (Maskable register
–
16-bit)
FB + 0x60
CH2_FIFO_DATA_CNT
FB + 0x64
CH2_ MARK_INT_ENA
CH2_ MARK_INT_STAT
Reserved
Reserved
FB + 0x68
Reserved
FB + 0x6C
CH2_LAST_ CONVERSION
D
AC
C
ha
nn
el 3
FB + 0x70
CH3_FRONT_END_CONFIG (Maskable register
–
16-bit)
FB + 0x74
CH3_FIFO_DATA_CNT
FB + 0x78
CH3_ MARK_INT_ENA
CH3_ MARK_INT_STAT
Reserved
Reserved
FB + 0x7C
Reserved
FB + 0x80
CH3_LAST_ CONVERSION
D
AC
FIF
O
FB + 0x84
CH_FIFO_ACCESS (DAC Channel 0)
FB + 0x88
CH_FIFO_ACCESS (DAC Channel 1)
FB + 0x8C
CH_FIFO_ACCESS (DAC Channel 2)
FB + 0x90
CH_FIFO_ACCESS (DAC Channel 3)
6.4.1
FB_ID
(R
EAD
-O
NLY
)
This is the functional block ID. This register should read 0x01032000 for the D\A functional block.
6.4.2
FB_DMA_CHANNELS
(R
EAD
-O
NLY
)
This register contains the number of DMA Channels in this Function Block. Each Channel contains a control register, and a set of Buffer
Descriptor Registers.
6.4.3
FB_DMA_BUFFERS
(R
EAD
-O
NLY
)
This register contains the number of Buffer Descriptors in each DMA Channel.
6.4.4
M
ODE
_S
TATUS
(R
EAD
/W
RITE
,
R
EAD
-O
NLY
)
Selects the current mode of operation and indicates its triggering status.