
REV. 0
–2–
ADuC832
TABLE OF CONTENTS
FEATURES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1
GENERAL DESCRIPTION . . . . . . . . . . . . . . . . . . . . .
1
SPECIFICATIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3
ABSOLUTE MAXIMUM RATINGS . . . . . . . . . . . . . . .
7
ORDERING GUIDE . . . . . . . . . . . . . . . . . . . . . . . . . . .
7
PIN CONFIGURATION . . . . . . . . . . . . . . . . . . . . . . . .
8
PIN FUNCTION DESCRIPTIONS . . . . . . . . . . . . . . . .
9
TERMINOLOGY . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10
TYPICAL PERFORMANCE CHARACTERISTICS . .
11
MEMORY ORGANIZATION . . . . . . . . . . . . . . . . . . .
14
OVERVIEW OF MCU-RELATED SFRS . . . . . . . . . .
15
Accumulator SFR (ACC) . . . . . . . . . . . . . . . . . . . . . . . . . 15
B SFR (B) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Stack Pointer SFR (SP AND SPH) . . . . . . . . . . . . . . . . . 15
Data Pointer (DPTR) . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Program Status Word SFR (PSW) . . . . . . . . . . . . . . . . . . 16
Power Control SFR (PCON) . . . . . . . . . . . . . . . . . . . . . . 16
SPECIAL FUNCTION REGISTERS . . . . . . . . . . . . . .
17
ADC CIRCUIT INFORMATION . . . . . . . . . . . . . . . .
18
General Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
ADC Transfer Function . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Typical Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
ADCCON1
–
(ADC Control SFR #1) . . . . . . . . . . . . . . 19
ADCCON2
–
(ADC Control SFR #2) . . . . . . . . . . . . . . 20
ADCCON3
–
(ADC Control SFR #3) . . . . . . . . . . . . . . 21
Driving the A/D Converter . . . . . . . . . . . . . . . . . . . . . . . . 22
Voltage Reference Connections . . . . . . . . . . . . . . . . . . . . 23
Configuring the ADC . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
ADC DMA Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Micro Operation during ADC DMA Mode . . . . . . . . . . . 25
ADC Offset and Gain Calibration Coefficients . . . . . . . . 25
Calibrating the ADC . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
NONVOLATILE FLASH MEMORY . . . . . . . . . . . . . .
27
Flash Memory Overview . . . . . . . . . . . . . . . . . . . . . . . . . 27
Flash/EE Memory and the ADuC832 . . . . . . . . . . . . . . . 27
ADuC832 Flash/EE Memory Reliability . . . . . . . . . . . . . 27
Using the Flash/EE Program Memory . . . . . . . . . . . . . . . 28
ULOAD Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Flash/EE Program Memory Security . . . . . . . . . . . . . . . . 28
Using the Flash/EE Data Memory . . . . . . . . . . . . . . . . . . 29
ECON
—
Flash/EE Memory Control SFR . . . . . . . . . . . . 29
Flash/EE Memory Timing . . . . . . . . . . . . . . . . . . . . . . . . 30
ADuC832 CONFIGURATION REGISTER (CFG832) .
31
USER INTERFACE TO OTHER ON-CHIP
ADuC832 PERIPHERALS . . . . . . . . . . . . . . . . . . . . .
32
Using the DAC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
On-Chip PLL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Pulsewidth Modulator (PWM) . . . . . . . . . . . . . . . . . . . . . 36
Serial Peripheral Interface . . . . . . . . . . . . . . . . . . . . . . . . 39
I
2
C Compatible Interface . . . . . . . . . . . . . . . . . . . . . . . . . 41
Dual Data Pointer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Power Supply Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Watchdog Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Timer Interval Counter . . . . . . . . . . . . . . . . . . . . . . . . . . 46
8052 COMPATIBLE ON-CHIP PERIPHERALS . . . .
48
Parallel I/O Ports 0
–
3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Timers/Counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
UART Serial Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
UART Serial Port Control Register . . . . . . . . . . . . . . . . . 56
UART Operating Modes . . . . . . . . . . . . . . . . . . . . . . . . . 57
UART Serial Port Baud Rate Generation . . . . . . . . . . . . 57
Timer 1 Generated Baud Rates . . . . . . . . . . . . . . . . . . . . 58
Timer 2 Generated Baud Rates . . . . . . . . . . . . . . . . . . . . 58
Timer 3 Generated Baud Rates . . . . . . . . . . . . . . . . . . . . 59
Interrupt System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
ADuC832 HARDWARE DESIGN CONSIDERATIONS .
61
Clock Oscillator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
External Memory Interface . . . . . . . . . . . . . . . . . . . . . . . 62
Power Supplies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Power Consumption . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Power Saving Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Power-On Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Grounding and Board Layout Recommendations . . . . . . 64
OTHER HARDWARE CONSIDERATIONS . . . . . . . .
65
In-Circuit Serial Download Access . . . . . . . . . . . . . . . . . 65
Embedded Serial Port Debugger . . . . . . . . . . . . . . . . . . . 66
Single-Pin Emulation Mode . . . . . . . . . . . . . . . . . . . . . . . 66
Typical System Configuration . . . . . . . . . . . . . . . . . . . . . 66
DEVELOPMENT TOOLS . . . . . . . . . . . . . . . . . . . . . .
66
TIMING SPECIFICATIONS . . . . . . . . . . . . . . . . . . . .
67
OUTLINE DIMENSIONS . . . . . . . . . . . . . . . . . . . . . .
77