User Interface To Other On-Chip Aduc812 Peripherals - Analog Devices MicroConverter ADuC812 User Manual

Microconverter, multichannel 12-bit adc with embedded flash mcu
Hide thumbs Also See for MicroConverter ADuC812:
Table of Contents

Advertisement

USER INTERFACE TO OTHER ON-CHIP ADuC812
PERIPHERALS
The following section gives a brief overview of the various
peripherals also available on-chip. A summary of the SFRs used to
control and configure these peripherals is also given.
DAC
The ADuC812 incorporates two 12-bit, voltage output DACs
on-chip. Each has a rail-to-rail voltage output buffer capable
of driving 10 kΩ/100 pF. Each has two selectable ranges, 0 V to
V
(the internal bandgap 2.5 V reference) and 0 V to AV
REF
M
O
D
E
R
N
G
1
Bit
Name
7
MODE
6
RNG1
5
RNG0
4
CLR1
3
CLR0
2
SYNC
PD1
1
0
PD0
DACxH/L
Function
SFR Address
Power-On Default Value
Bit Addressable
The 12-bit DAC data should be written into DACxH/L right-justified such that DACL contains the lower eight bits, and the lower
nibble of DACH contains the upper four bits.
R
N
G
0
C
L
Table VIII. DACCON SFR Bit Designations
Description
The DAC MODE bit sets the overriding operating mode for both DACs.
Set to "1" = 8-Bit Mode (Write 8 Bits to DACxL SFR).
Set to "0"= 12-Bit Mode.
DAC1 Range Select Bit.
Set to "1" = DAC1 Range 0–V
Set to "0" = DAC1 Range 0–V
DAC0 Range Select Bit.
Set to "1" = DAC0 Range 0–V
Set to "0" = DAC0 Range 0–V
DAC1 Clear Bit.
Set to "0" = DAC1 Output Forced to 0 V.
Set to "1" = DAC1 Output Normal.
DAC0 Clear Bit.
Set to "0" = DAC1 Output Forced to 0 V.
Set to "1" = DAC1 Output Normal.
DAC0/1 Update Synchronization Bit.
When set to "1" the DAC outputs update as soon as DACxL SFRs are written. The user can
simultaneously update both DACs by first updating the DACxL/H SFRs while SYNC is "0." Both
DACs will then update simultaneously when the SYNC bit is set to "1."
DAC1 Power-Down Bit.
Set to "1" = Power-On DAC1.
Set to "0" = Power-Off DAC1.
DAC0 Power-Down Bit.
Set to "1" = Power-On DAC0.
Set to "0" = Power-Off DAC0.
DAC Data Registers
DAC Data Registers, written by user to update the DAC output.
DAC0L (DAC0 Data Low Byte) –>F9H; DAC1L (DAC1 Data Low Byte)->FBH
DAC0H (DAC0 Data High Byte) –>FAH; DAC1H(DAC1 Data High Byte)->FCH
00H
No
Each can operate in 12-bit or 8-bit mode. Both DACs share a
control register, DACCON, and four data registers, DAC1H/L,
DAC0H/L. It should be noted that in 12-bit asynchronous mode,
the DAC voltage output will be updated as soon as the DACL
data SFR has been written; therefore, the DAC data registers
should be updated as DACH first, followed by DACL.
DACCON
SFR Address
Power-On Default Value
.
Bit Addressable
DD
R
1
C
L
R
0
.
DD
.
REF
DD.
REF.
–>All four Registers
–>All four Registers
ADuC812
DAC Control Register
FDH
04H
No
S
Y
N
C
P
D
1
P
D
0

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MicroConverter ADuC812 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents