Datasheet
Table Of Contents
- Features
- Applications
- Functional Block Diagram
- General Description
- Revision History
- Specifications
- Absolute Maximum Ratings
- Pin Configurations and Function Descriptions
- Typical Performance Characteristics
- Terminology
- Explanation of Typical Performance Plots
- Memory Organization
- Special Function Registers (SFRs)
- Special Function Registers
- ADC Circuit Information
- Calibrating the ADC
- Initiating Calibration in Code
- Nonvolatile Flash/EE Memory
- Using the Flash/EE Data Memory
- User Interface to Other On-Chip ADuC832 Peripherals
- On-Chip PLL
- Pulse-Width Modulator (PWM)
- PWM Modes of Operation
- Serial Peripheral Interface
- I2C-Compatible Interface
- Dual Data Pointers
- Power Supply Monitor
- Watchdog Timer
- Time Interval Counter (TIC)
- 8052-Compatible On-Chip Peripherals
- Timer/Counter 0 And Timer/Counter 1 Operating Modes
- Timer/Counter 2
- UART Serial Interface
- SBUF
- SCON (UART Serial Port Control Register)
- Mode 0: 8-Bit Shift Register Mode
- Mode 1: 8-Bit UART, Variable Baud Rate
- Mode 2: 9-Bit UART with Fixed Baud Rate
- Mode 3: 9-Bit UART with Variable Baud Rate
- UART Serial Port Baud Rate Generation
- Timer 1 Generated Baud Rates
- Timer 2 Generated Baud Rates
- Timer 3 Generated Baud Rates
- Interrupt System
- ADuC832 Hardware Design Considerations
- Other Hardware Considerations
- Development Tools
- Outline Dimensions

ADuC832 Data Sheet
Rev. B | Page 2 of 92
TABLE OF CONTENTS
Features .............................................................................................. 1
Applications ....................................................................................... 1
Functional Block Diagram .............................................................. 1
General Description ......................................................................... 1
Revision History ............................................................................... 4
Specifications ..................................................................................... 6
Timing Specifications ................................................................ 10
Absolute Maximum Ratings .......................................................... 20
ESD Caution ................................................................................ 20
Pin Configurations and Function Descriptions ......................... 21
Typical Performance Characteristics ........................................... 26
Terminology .................................................................................... 29
ADC Specifications .................................................................... 29
DAC Specifications..................................................................... 29
Explanation of Typical Performance Plots .................................. 30
Memory Organization ................................................................... 31
Flash/EE Program Memory ...................................................... 31
Flash/EE Data Memory ............................................................. 31
General-Purpose RAM .............................................................. 31
External Data Memory (External XRAM) .............................. 32
Internal XRAM ........................................................................... 32
Special Function Registers (SFRs) ................................................ 33
Accumulator SFR (ACC) ........................................................... 33
B SFR (B) ..................................................................................... 33
Stack Pointer (SP and SPH)....................................................... 33
Data Pointer (DPTR) ................................................................. 33
Program Status Word (PSW) .................................................... 33
Power Control SFR (PCON) ..................................................... 33
Special Function Registers ............................................................. 34
ADC Circuit Information .............................................................. 35
General Overview ....................................................................... 35
ADC Transfer Function ............................................................. 35
Typical Operation ....................................................................... 35
Driving the Analog-to-Digital Converter ............................... 39
Voltage Reference Connections ................................................ 40
Configuring the ADC ................................................................ 41
ADC DMA Mode ....................................................................... 41
Micro-Operation During ADC DMA Mode .......................... 42
ADC Offset and Gain Calibration Coefficients ..................... 42
Calibrating the ADC ...................................................................... 43
Initiating Calibration in Code ...................................................... 44
Nonvolatile Flash/EE Memory ..................................................... 45
Flash/EE Memory Overview .................................................... 45
Flash/EE Memory and the ADuC832 ..................................... 45
ADuC832 Flash/EE Memory Reliability ................................. 45
Using the Flash/EE Program Memory .................................... 46
Flash/EE Program Memory Security ....................................... 47
Using the Flash/EE Data Memory ............................................... 48
ECON—Flash/EE Memory Control SFR ................................ 48
Example: Programming the Flash/EE Data Memory ............ 49
Flash/EE Memory Timing ........................................................ 49
ADuC832 Configuration SFR (CFG832) ................................ 50
User Interface to Other On-Chip ADuC832 Peripherals ......... 51
DAC .............................................................................................. 51
Using the DAC ............................................................................ 52
On-Chip PLL................................................................................... 54
PLLCON (PLL Control Register) ............................................. 54
Pulse-Width Modulator (PWM) .................................................. 55
PWMCON (PWM Control SFR) ............................................. 55
PWM Modes of Operation............................................................ 56
Mode 0: PWM Disabled ............................................................ 56
Mode 1: Single Variable Resolution PWM ............................. 56
Mode 2: Twin 8-Bit PWM ......................................................... 56
Mode 3: Twin 16-Bit PWM ....................................................... 56
Mode 4: Dual NRZ 16-Bit Σ-Δ DAC ....................................... 57
Mode 5: Dual 8-Bit PWM ......................................................... 57
Mode 6: Dual RZ 16-Bit Σ-Δ DAC .......................................... 57
Serial Peripheral Interface ............................................................. 58
MISO (Master Input, Slave Output Data Pin) ............................ 58
MOSI (Master Output, Slave Input Pin) ................................. 58
SCLOCK (Serial Clock I/O Pin) .............................................. 58
SS
(Slave Select Input Pin)......................................................... 58
Using the SPI Interface .............................................................. 59
SPI Interface—Master Mode .................................................... 59
SPI Interface—Slave Mode ........................................................ 59
I
2
C-Compatible Interface .............................................................. 60
I
2
C Interface SFRs ....................................................................... 60
Overview ..................................................................................... 61
Software Master Mode ............................................................... 61
Hardware Slave Mode ................................................................ 61