ChipFind - документация

Электронный компонент: AT83EB5114

Скачать:  PDF   ZIP

Document Outline

Rev. 4311A805101/05
1
Features
80C51 Compatible
Two I/O Ports
Two 16-bit Timer/Counters
256 bytes RAM
4 Kbytes ROM or 4 Kbytes Flash Program Memory
256 bytes EEPROM (Stack Die Packaging Technology on SO20 Package)
X2 Speed Improvement Capability (6 Clocks/Machine Cycle)
10-bit, 6 Channels A/D Converter
One-channel with Progammable Gain and Rectifying Amplifier (Accuracy +/- 5%)
Voltage Reference for A/D & External Analog
Hardware Watchdog Timer
Programmable I/O Mode: Standard C51, Input Only, Push-pull, Open Drain
Asynchronous Port Reset
Triple System Clock
Crystal or Ceramic Oscillator (24 MHz)
RC Oscillator (12 MHz), with Calibration Factor Using External R and C
(Accuracy +/- 3.5% with Ideal R and C)
RC Oscillator, Low Power Consumption (12 MHz Low Accuracy)
Programmable Prescaler
One PWM Unit Block With:
16-bits Programmable Counter
3 Independent Modules
One PWM Unit Block with:
16 bits Programmable Counter
1 Module
Interrupt Structure With:
7 Interrupt Sources,
4 interrupt Priority Levels
Power Control Modes:
Idle Mode
Power-down Mode
Power Fail Detect, Power On Reset
Quiet mode for A to D Conversion
Power Supply: 3 to 3.6V
Temperature Range: -40 to 85
o
C
Package: SO20, SO24 (upon request)
Description
The AT8xEB5114 is a high performance version of the 80C51 8-bit microcontroller in a
Low Pin Count package.
The AT8xEB5114 retains all the features of the standard 80C51 with 4 Kbytes pro-
gram memory, 256 bytes of internal RAM, a 7-source, 4-level interrupt system, an on-
chip oscillator and two timers/counters. AT8xEB5114 may include a serial two wire
interface EEPROM housed together with the microcontroller die in the same package.
The AT8xEB5114 is dedicated for analog interfacing applications. For this, it has a 10-
bit, 6 channels A/D converter and two PWM units; these PWM blocks provide PWM
generation with variable frequency and pulse width.
In addition, the AT8xEB5114 has a Hardware Watchdog Timer and an X2 speed
improvement mechanism. The X2 feature allows to keep the same CPU power at a
divided by two oscillator frequency. The prescaler allows to decrease CPU and periph-
erals clock frequency. The fully static design of the AT8xEB5114 allows to reduce
system power consumption by bringing the clock frequency down to any value, even
DC, without loss of data.
Low-pin-count
8-bit
microcontroller
with A/D
converter
AT83EB5114
AT89EB5114
2
4311A805101/05
The AT8xEB5114 has 3 software-selectable modes of reduced activity for further reduc-
tion in power consumption. In idle mode the CPU is frozen while the peripherals are still
operating. In quiet mode, only the A/D converter is operating. In power-down mode the
RAM is saved and all other functions are inoperative. Three oscillator sources, crystal,
precision RC and low power RC, provide versatile power management.
The AT8xEB5114 is available in low pin count packages (ROM and flash versions).
Figure 1. Block Diagram
Timer 0
INT
RAM
256
T0
XTAL2
XTAL1
CPU
Timer 1
INT
1
Ctrl
INT
0
(2)
(2) (3)
Port 3
P4
.
0
-
3
IB-bus
Watch
Dog
Vs
s
Vc
c
(2): Alternate function of Port 3
ROM
4 K *8
x8
W0
CI
W
0
M0
-2
Xtal
Osc
RC
Osc
(2)
(3)
(3): Alternate function of Port 4
Port 4
P
3
.0-
5
(
S
O
2
0
)
o
r

7(S
O
24)
PWMU0
W1
M
0
(2)
PWMU1
RST
A/D
Converter
Vre
f
AIN0
-
2
,4
-
5
(2,3)
Vref
Generator
W1
CI
(3)
X1-20
AIN3
R
Vc
c
a
Vs
s
a
T1
256 b
2 wires
interface
or
RC
Osc
(12 MHz)
(12 MHz)
Flash/EE 4K*8
AL
E
(2)
(3)
(3)
C
(SO20)
EEPROM
Parallel I/O Ports
3
4311A805101/05
Pin Configuration
P3.0/W0M0
P4.3/AIN3/INT1
1
P3.5/W1M0
XTAL2
RST
XTAL1
Vss
P4.0/AIN0/W0CI
P4.2/AIN2/W1CI
P4.1/AIN1/T1
VRef
Vcca
Vssa
R
C
2
3
4
5
6
7
8
9
10
20
19
18
17
16
15
14
13
12
11
Vcc
P3.3/W0M2/AIN4
P3.4/T0/AIN5
P3.2/INT0
P3.1/W0M1
SO20
P3.1/W0M1
P4.3/AIN3/INT1
1
P3.6
C
XTAL1
XTAL2
NC
P4.0/AIN0/W0CI
P4.2/AIN2/W1CI
P4.1/AIN1/T1
VRef
Vcca
Vssa
NC
R
2
3
4
5
6
7
8
9
10
24
23
22
21
20
19
18
17
16
15
RST
P3.3/W0M2/AIN4
P3.4/T0/AIN5
P3.5/W1M0
P3.2/INT0
SO24
P3.7
11
12
P3.0/W0M0
Vss
14
13
Vcc
No EE
4
4311A805101/05
Pin Description
SO20
SO24
Mnemonic
Type
Name and Function
12
14
V
SS
Power
Ground: 0V reference
18
22
Vssa
Power
Analog Ground: 0V reference for analog part
11
13
V
CC
Power
Power Supply: This is the power supply voltage for normal, idle and power-down operation.
19
23
Vcca
Power
Analog Power Supply: This is the power supply voltage for analog part
This pin must be connected to power supply.
20
24
VREF
Analog
VREF: A/D converter positive reference input, output of the internal voltage reference
14
17
XTAL1
I
Input to the inverting oscillator amplifier and input to the internal clock generator circuit
15
18
XTAL2
O
Output from the inverting oscillator amplifier. This pin can't be connected to the ground.
17
20
R
Analog
Resistor Input for the precision RC oscillator
16
19
C
Analog
Capacitor Input for the precision RC oscillator
13
15
RST
I/O
Reset input with integrated pull-up
A low level on this pin for two machine cycles while the oscillator is running, resets the device.
P3.0-P3.7
I/O
Port 3: Port 3 is an 8-bit programmable I/O port with internal pull-ups. See "Port Types" on
page 32. for a description of I/O ports.
Port 3 also serves the special features of the 80C51 family, as listed below.
10
11
I/O
W0M0 (P3.0): External I/O for PWMU 0 module 0
9
10
I/O
W0M1 (P3.1): External I/O for PWMU 0 module 1
8
9
I/O
INT0 (P3.2): External interrupt 0
5
5
I/O
W0M2 / AIN4 (P3.3): External I/O for PWMU 0 module 2. P3.3 is also an input of the analog to
digital converter.
6
6
I/O
T0 / AIN5(P3.4): Timer 0 external input. P3.4 is also an input of the analog to digital converter.
7
8
I/O
W1M0 (P3.5): External I/O for PWMU 1 module 0, can also be used to output the external
clocking signal
P4.0-P4.3
I/O
Port 4: Port 4 is an 4-bit programmable I/O port with internal pull-ups. See "Port Types" on
page 32. for a description of I/O ports.
Port 4 is also the input port of the Analog to digital converter
1
1
I/O
AIN0 (P4.0): A/D converter input 0
W0CI: Count input of PWMU0
2
2
I/O
AIN1 (P4.1): A/D converter input 1
T1: Timer 1 external input
3
3
I/O
AIN2 (P4.2): A/D converter input 2
W1CI: Count input of PWMU1
4
4
I/O
AIN3 (P4.3): A/D converter input 3, programmable gain
INT1: External interrupt 1
5
4311A805101/05
SFR Mapping
The Special Function Registers (SFRs) of the AT8xEB5114 belong to the following
categories:
C51 core registers: ACC, AUXR, AUXR1, B, DPH, DPL, PSW, SP, FCON, HSB
I/O port registers: P3, P4, P3M1, P3M2, P4M1
Timer registers: TCON, TH0, TH1, TL0, TL1, TMOD
Power and clock control registers: CKCON, CKRL, CKSEL, OSCBFA, OSCCON,
PCON
Interrupt system registers: IEN0, IPH0, IPL0, IOR
WatchDog Timer: WDTRST, WDTPRG
PWM0 registers: W0CH, W0CL, W0CON, W0FH, W0FL, W0IC, W0MOD, W0R0H,
W0R0L, W0R1H, W0R1L,W0R2H, W0R2L
PWM1registers: W1CH, W1CL, W1CON, W1FH, W1FL, W1IC, W1R0H, W1R0L
ADC registers: ADCA, ADCF, ADCLK, ADCON, ADDH, ADDL