ADUC831BS Analog Devices Inc, ADUC831BS Datasheet - Page 35

IC ADC/DAC 12BIT W/MCU 52-MQFP

ADUC831BS

Manufacturer Part Number
ADUC831BS
Description
IC ADC/DAC 12BIT W/MCU 52-MQFP
Manufacturer
Analog Devices Inc
Series
MicroConverter® ADuC8xxr
Datasheet

Specifications of ADUC831BS

Rohs Status
RoHS non-compliant
Core Processor
8052
Core Size
8-Bit
Speed
16MHz
Connectivity
EBI/EMI, I²C, SPI, UART/USART
Peripherals
PSM, Temp Sensor, WDT
Number Of I /o
34
Program Memory Size
62KB (62K x 8)
Program Memory Type
FLASH
Eeprom Size
4K x 8
Ram Size
2.25K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 8x12b, D/A 2x12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
52-MQFP, 52-PQFP
For Use With
EVAL-ADUC831QSZ - KIT DEV FOR ADUC831 QUICK START

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ADUC831BS
Manufacturer:
SHARP
Quantity:
21 512
Part Number:
ADUC831BS
Manufacturer:
ADI
Quantity:
150
Part Number:
ADUC831BS
Manufacturer:
ADI/亚德诺
Quantity:
20 000
Part Number:
ADUC831BSB20
Manufacturer:
MINI
Quantity:
892
Part Number:
ADUC831BSZ
Manufacturer:
Analog Devices Inc
Quantity:
10 000
Part Number:
ADUC831BSZ
Manufacturer:
AD
Quantity:
20 000
Part Number:
ADUC831BSZ-REEL
Manufacturer:
AD
Quantity:
1 200
Part Number:
ADUC831BSZ-REEL
Manufacturer:
Analog Devices Inc
Quantity:
10 000
PULSEWIDTH MODULATOR (PWM)
The PWM on the ADuC831 is highly flexible PWM offering
programmable resolution and input clock, and can be config-
ured for any one of six different modes of operation. Two of
these modes allow the PWM to be configured as a - DAC
with up to 16 bits of resolution. A block diagram of the PWM is
shown in Figure 26.
Bit
7
6
5
4
3
2
1
0
REV. 0
T0/ EXTERNAL PWM CLOCK
f
OSC
f
OSC
/DIVIDE FACTOR/15
Name
SNGL
MD2
MD1
MD0
CDIV1
CDIV0
CSEL1
CSEL0
/DIVIDE FACTOR
Figure 26. PWM Block Diagram
f
OSC
SELECT
CLOCK
Description
Turns Off PWM output at P2.6 or P3.4 Leaving Port Pin Free for Digital I/O.
PWM Mode Bits
The MD2/1/0 bits choose the PWM mode as follows:
MD2
0
0
0
0
1
1
1
1
PWM Clock Divider
Scale the clock source for the PWM counter as shown below:
CDIV1 CDIV0 Description
0
0
1
1
PWM Clock Divider
Select the clock source for the PWM as shown below:
CSEL1 CSEL0 Description
0
0
1
1
MODE
16-BIT PWM COUNTER
MD1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
PROGRAMMABLE
COMPARE
PWM0H/L
DIVIDER
Table X. PWMCON SFR Bit Designations
MD0
0
1
0
1
0
1
0
1
PWM Counter = Selected Clock/1
PWM Counter = Selected Clock/4
PWM Counter = Selected Clock/16
PWM Counter = Selected Clock/64
PWM Clock = f
PWM Clock = f
PWM Clock = External input at P3.4/T0
PWM Clock = f
PWM1H/L
Mode
Mode 0: PWM Disabled
Mode 1: Single variable resolution PWM on P2.7 or P3.3
Mode 2: Twin 8-bit PWM
Mode 3: Twin 16-bit PWM
Mode 4: Dual NRZ 16-bit Σ-∆ DAC
Mode 5: Dual 8-bit PWM
Mode 6: Dual RZ 16-bit Σ-∆ DAC
Reserved for future use
P2.6
P2.7
OCS/DIVIDE FACTOR
OCS/DIVIDE FACTOR
OSC
–35–
The PWM uses five SFRs: the control SFR (PWMCON), and
four data SFRs (PWM0H, PWM0L, PWM1H, and PWM1L).
PWMCON (as described below) controls the different modes of
operation of the PWM as well as the PWM clock frequency.
PWM0H/L and PWM1H/L are the data registers that determine
the duty cycles of the PWM outputs. The output pins that the
PWM uses are determined by the CFG831 register and they can
be either P2.6 and P2.7 or P3.4 and P3.3. In this section of the
data sheet, it is assumed that P2.6 and P2.7 are selected as the
PWM outputs.
To use the PWM user software, first write to PWMCON to select
the PWM mode of operation and the PWM input clock. Writing
to PWMCON also resets the PWM counter. In any of the 16-bit
modes of operation (modes 1, 3, 4, 6), user software should
write to the PWM0L or PWM1L SFRs first. This value is written
to a hidden SFR. Writing to the PWM0H or PWM1H SFRs
updates both the PWMxH and the PWMxL SFRs but does not
change the outputs until the end of the PWM cycle in progress.
The values written to these 16-bit registers are then used in the
next PWM cycle.
PWMCON
SFR Address
Power-On Default Value
Bit Addressable
/15 (see CFG831 register)
(see CFG831 register)
PWM Control SFR
AEH
00H
No
ADuC831

Related parts for ADUC831BS