ADUC834 Analog Devices, ADUC834 Datasheet - Page 36

no-image

ADUC834

Manufacturer Part Number
ADUC834
Description
Precision Analog Microcontroller: 1MIPS 8052 MCU + 62kB Flash + 16/24-Bit ADC + 12-Bit DAC
Manufacturer
Analog Devices
Datasheet

Specifications of ADUC834

Mcu Core
8052
Mcu Speed (mips)
1
Sram (bytes)
2304Bytes
Gpio Pins
34
Adc # Channels
4
Other
PWM

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ADUC834
Manufacturer:
ADI
Quantity:
4 000
Part Number:
ADUC834BS
Manufacturer:
TKS
Quantity:
15 200
Part Number:
ADUC834BS
Manufacturer:
ADI
Quantity:
455
Part Number:
ADUC834BS
Manufacturer:
AD
Quantity:
20 000
Part Number:
ADUC834BSZ
Manufacturer:
TOSHIBA
Quantity:
1 200
Part Number:
ADUC834BSZ
Manufacturer:
Analog Devices Inc
Quantity:
10 000
Part Number:
ADUC834BSZ
Manufacturer:
ADI/亚德诺
Quantity:
20 000
ADuC834
PULSEWIDTH MODULATOR (PWM)
The PWM on the ADuC834 is a 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
32.768kHz/15
12.583MHz
32.768kHz
PWM
Name
–––
MD2
MD1
MD0
CDIV1
CDIV0
CSEL1
CSEL0
CLK
Figure 26. PWM Block Diagram
SELECT
CLOCK
Description
Reserved for Future Use
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 follows:
CDIV1
0
0
1
1
PWM Clock Divider
Select the clock source for the PWM as follows:
CSEL1
0
0
1
1
MODE
16-BIT PWM COUNTER
PROGRAMMABLE
COMPARE
PWM0H/L
DIVIDER
Table XVI. PWMCON SFR Bit Designations
PWM1H/L
P1.0
P1.1
MD1
0
0
1
1
0
0
1
1
CDIV0 Description
0
1
0
1
CSEL0 Description
0
1
0
1
–36–
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/PWMCLK
PWM Clock = f
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 at P1.0 and P1.1.
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
Mode
Mode 0: PWM Disabled
Mode 1: Single Variable Resolution PWM
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
XTAL
XTAL
VCO
(12.58 MHz)
/15
PWM Control SFR
AEH
00H
No
REV. A

Related parts for ADUC834