EEWORLDEEWORLDEEWORLD

Part Number

Search

EM6821WS11

Description
Ultra Low Power uController with 4x20 LCD Driver
File Size1MB,68 Pages
ManufacturerEMMICRO
Websitehttp://www.emmicroelectronic.com
Download Datasheet View All

EM6821WS11 Overview

Ultra Low Power uController with 4x20 LCD Driver

EM6821WS11 Preview

R
EM MICROELECTRONIC -
MARIN SA
EM6821
Ultra Low Power µController with 4x20 LCD Driver
Features
Low Power
- 1.3 µA active mode, LCD On
- 0.4 µA standby mode, LCD Off
- 0.1 µA sleep mode
@ 3 V, 32 KHz, 25 ºC
Low Voltage
- 1.2 to 3.6 V
2 clocks per instruction cycle
72 basic instructions
ROM 4k x 16 bits
RAM 128 x 4 bits
Max. 12 inputs ; port A, port B, port SP
Max. 8 outputs ; port B, port SP
Voltage Level Detector, 8 levels software
selectable from 1.2 V up to 4.0 V
Melody, 7 tones + silence inclusive 4-bit timer
Universal 10-bit counter, PWM, event counter
Prescaler down to 1 second ( crystal = 32 KHz )
1/1000 sec 12 bit binary coded decimal counter
with hard or software start/stop function
LCD 20 Segments, 3 or 4 times multiplexed
3 wire serial port , 8 bit, master and slave mode
5 external interrupts (port A, serial interface)
8 internal interrupts (3x prescaler, BCD counter
2x10-bit counter, melody timer, serial interface)
timer watchdog and oscillation supervisor
Figure 1. Architecture
Figure 2. Pin Configuration, TQFP52 10x10x1 mm
Description
The EM6821 is an advanced single chip low cost
CMOS microcontroller. It contains ROM, RAM,
LCD driver, power on reset, watchdog timer,
oscillation detection circuit, 10-bit up/down and
event counter, 1ms BCD counter, prescaler,
voltage level detector (Vld), serial interface and
several clock functions. The low voltage feature
and low power consumption make it the most
suitable controller for battery, stand alone and
mobile equipment. The EM6821 is manufactured
using EM Microelectronic’a advanced low power
(ALP) CMOS process.
Typical
Applications
Timing device
Timer / sports timing devices
Bicycle computers
Measurement equipment
Domestic appliance
Interactive system with display
Automotive controls with display
Safety and security devices
Copyright
©
2005, EM Microelectronic-Marin SA
1
www.emmicroelectronic.com
R
EM6821
EM6821 at a glance
• Power Supply
- Low voltage low power architecture
including internal voltage regulator
- 1.2 ... 3.6 V battery voltage
- 1.3 µA in active mode (Xtal, LCD on, 25
°C)
- 0.4 µA in standby mode (Xtal, LCD off, 25
°C)
- 0.1 µA in sleep mode (25
°C)
- 32 KHz Oscillator
• 4-Bit Input Port A
- Direct input read on the port terminals
- Debouncer function available on all inputs
- Interrupt request on positive or negative edge
- Pull-up or pull-down or none selectable by register
- Test variables (software) for conditional jumps
- PA[0] and PA[3] are inputs for the event counter
- PA[3] is Start/Stop input for the millisecond counter
- Reset with input combination (register selectable)
• RAM
- 64 x 4 bit, direct addressable
-
64 x 4 bit, indexed addressable
• 4-Bit Bi-directional Port B
- All different functions bit-wise selectable
- Direct input read on the port terminals
- Data output latches
- CMOS or Nch. open drain outputs
- Pull-down or pull-up selectable
- Weak pull-up in Nch. open drain mode
- Selectable PWM, 32kHz, 1kHz and 1Hz output
• ROM
- 4k x 16 bit, metal mask programmable
• CPU
- 4-bit RISC architecture
- 2 clock cycles per instruction
- 72 basic instructions
• Melody Generator
- Dedicated Buzzer terminal
- 7 tones plus silence output
- The output can be put tristate (default)
- Internal 4-bit timer, usable also in standalone mode
- 4 different timer input clocks
- Timer with automatic reload or single run
- Timer interrupt request when reaching 0
• Main Operating Modes and Resets
- Active mode (CPU is running)
- Standby mode (CPU in halt)
- Sleep mode (no clock, reset state)
- Initial reset on power on (POR)
- Watchdog reset (logic and oscillation watchdogs)
- Reset terminal
- Reset with input combination on port A (register
selectable)
• Voltage Level Detector (SVLD)
- 8 different levels from 1.2 V to 4.0 V.
- Busy flag during measure
• Prescaler
- 15 stage system clock divider down to 1Hz
- 3 Interrupt requests; 1Hz, 32Hz or 8Hz, Blink
- Prescaler reset (4kHz to 1Hz)
• 10-Bit Universal Counter
- 10, 8, 6 or 4 bit up/down counting
- Parallel load
- Event counting (PA[0] or PA[3])
- 8 different input clocks-
- Full 10 bit or limited (8, 6, 4 bit) compare function
- 2 interrupt requests (on compare and on 0)
- Hi-frequency input on PA[3] and PA[0]
- Pulse width modulation (PWM) output
• Liquid Crystal Display Driver (LCD)
- 20 Segments 3 or 4 times multiplexed
- Internal or external voltage multiplier
- Free Segment allocation architecture (metal 2 mask)
- LCD switch off for power save
• 8-Bit Serial Interface
- 3 wire (Clock, DataIn , DataOut) master/slave mode
- READY output during data transfer
- Maximum shift clock is equal to the main system clock
- Interrupt request to the CPU after 8 bits data transfer
- Supports different serial formats
- Can be configured as a parallel 4 bit input/output port
- Direct input read on the port terminals
- All outputs can be put tristate (default)
- Selectable pull-downs in input mode
- CMOS or Nch. open drain outputs
- Weak pull-up selectable in Nch. open drain
mode
• Millisecond Counter
- 3 digits binary coded decimal counter (12 bits)
- PA[3] input signal pulse width and period measurement
- Internal 1000 Hz clock generation
- Hardware or software controlled start stop mode
- Interrupt request on either 1/10 Sec or 1Sec
• Interrupt Controller
- 5 external and 8 internal interrupt request sources
- Each interrupt request can individually be masked
- Each interrupt flag can individually be reset
- Automatic reset of each interrupt request after read
- General interrupt request to CPU can be disabled
- Automatic enabling of general interrupt request flag
when going into HALT mode.
Copyright
©
2005, EM Microelectronic-Marin SA
2
www.emmicroelectronic.com
R
EM6821
Table of Contents
FEATURES __________________________________1
DESCRIPTION _______________________________1
TYPICAL APPLICATIONS _______________________1
EM6821 AT A GLANCE _________________________2
1. PIN DESCRIPTION FOR EM6821 _____________4
2. OPERATING MODES ______________________6
2.1
A
CTIVE
M
ODE
____________________________6
2.2
S
TANDBY
M
ODE
__________________________6
2.3
S
LEEP
M
ODE
____________________________6
3. POWER SUPPLY__________________________7
4. RESET __________________________________8
4.1
O
SCILLATION
D
ETECTION
C
IRCUIT
_____________9
4.2
R
ESET
T
ERMINAL
_________________________9
4.3
I
NPUT
P
ORT
A R
ESET
F
UNCTION
______________9
4.4
D
IGITAL
W
ATCHDOG
T
IMER
R
ESET
____________10
4.5
CPU S
TATE AFTER
R
ESET
__________________10
5. OSCILLATOR AND PRESCALER____________11
5.1
O
SCILLATOR
____________________________11
5.2
P
RESCALER
____________________________11
6. INPUT AND OUTPUT PORTS _______________13
6.1
P
ORTS
O
VERVIEW
________________________13
6.2
P
ORT
A _______________________________14
6.2.1
IRQ on Port A ______________________14
6.2.2
Pull-up or Pull-down _________________15
6.2.3
Software Test Variables ______________15
6.2.4
Port A for 10-Bit Counter and MSC _____15
6.3
P
ORT
A R
EGISTERS
_______________________15
6.4
P
ORT
B _______________________________17
6.4.1
Input / Output Mode _________________17
6.4.2
Pull-up or Pull-down _________________18
6.4.3
CMOS / NCH. Open Drain Output ______18
6.4.4
PWM and Frequency Output __________19
6.5
P
ORT
B R
EGISTERS
_______________________19
6.6
P
ORT
S
ERIAL
___________________________20
6.6.1
4-bit Parallel I/O ____________________20
6.6.2
Pull-up or Pull-down _________________21
6.6.3
Nch. Open Drain Outputs _____________22
6.6.4
General Functional Description ________22
6.6.5
Detailed Functional Description ________23
6.6.6
Output Modes ______________________23
6.6.7
Reset and Sleep on Port SP___________24
6.7
S
ERIAL
I
NTERFACE
R
EGISTERS
_______________25
7. MELODY, BUZZER _______________________27
7.1
4-B
IT
T
IMER
____________________________27
7.1.1
Single Run Mode ___________________28
7.1.2
Continuos Run Mode ________________28
7.2
P
ROGRAMMING
O
RDER
____________________29
7.3
M
ELODY
R
EGISTERS
______________________29
8. 10-BIT COUNTER ________________________31
8.1
F
ULL AND
L
IMITED
B
IT
C
OUNTING
_____________31
8.2
F
REQUENCY
S
ELECT AND
U
P
/D
OWN
C
OUNTING
___32
8.3
E
VENT
C
OUNTING
________________________33
8.4
C
OMPARE
F
UNCTION
______________________33
8.5
P
ULSE
W
IDTH
M
ODULATION
(PWM) ___________33
8.5.1
How the PWM Generator works. _______34
8.5.2
PWM Characteristics ________________ 34
8.6
C
OUNTER
S
ETUP
_________________________ 35
8.7
10-
BIT
C
OUNTER
R
EGISTERS
________________ 35
9. MILLISECOND COUNTER _________________ 37
9.1
PA[3] I
NPUT FOR
MSC ____________________ 37
9.2
IRQ
FROM
MSC _________________________ 37
9.3
MSC-M
ODES
___________________________ 38
9.4
M
ODE SELECTION
________________________ 38
9.5
M
ILLISECOND
C
OUNTER
R
EGISTERS
___________ 40
10.
INTERRUPT CONTROLLER ______________ 41
10.1 I
NTERRUPT
C
ONTROL
R
EGISTERS
_____________ 42
11.
SUPPLY VOLTAGE LEVEL DETECTOR ____ 43
11.1 SVLD R
EGISTER
_________________________ 43
12.
STROBE OUTPUT______________________ 44
12.1 S
TROBE
R
EGISTER
_______________________ 44
13.
RAM _________________________________ 45
14.
LCD DRIVER __________________________ 46
14.1 LCD C
ONTROL
__________________________ 47
14.2 LCD A
DDRESSING
________________________ 47
14.3 F
REE
S
EGMENT
A
LLOCATION
________________ 48
14.4 LCD R
EGISTERS
_________________________ 48
15.
PERIPHERAL MEMORY MAP ____________ 50
16.
OPTION REGISTER MEMORY MAP _______ 54
17.
ACTIVE SUPPLY CURRENT TEST ________ 55
18.
MASK OPTIONS _______________________ 56
18.1 I
NPUT
/ O
UTPUT
P
ORTS
____________________ 56
18.1.1
Port A Metal Options ________________ 56
18.1.2
Port A Metal Options ________________ 56
18.1.3
Port B Metal Options ________________ 57
18.1.4
Port SP Metal Options _______________ 58
18.1.5
Voltage Regulator Option _____________ 59
18.1.6
Debouncer Frequency Option _________ 59
18.1.7
User defined LCD Segment Allocation __ 59
19.
TEMP. AND VOLTAGE BEHAVIORS _______ 60
19.1 IDD C
URRENT
(T
YPICAL
) ___________________ 60
19.2 P
ULL
-
DOWN
R
ESISTANCE
(T
YPICAL
) ___________ 60
19.3 O
UTPUT
C
URRENTS
(T
YPICAL
) _______________ 61
20.
ELECTRICAL SPECIFICATION ___________ 62
20.1 A
BSOLUTE
M
AXIMUM
R
ATINGS
_______________ 62
20.2 H
ANDLING
P
ROCEDURES
___________________ 62
20.3 S
TANDARD
O
PERATING
C
ONDITIONS
___________ 62
20.4 DC C
HARACTERISTICS
- P
OWER
S
UPPLY
_______ 62
20.5 S
UPPLY
V
OLTAGE
L
EVEL
D
ETECTOR
___________ 63
20.6 O
SCILLATOR
____________________________ 63
20.7 DC
CHARACTERISTICS
- I/O P
INS
_____________ 64
20.8 LCD SEG[20:1] O
UTPUTS
_________________ 65
20.9 LCD C
OM
[4:1] O
UTPUTS
___________________ 65
20.10
DC O
UTPUT
C
OMPONENT
________________ 65
20.11
LCD V
OLTAGE
M
ULTIPLIER
_______________ 65
21.
DIE, PAD LOCATION AND SIZE___________ 66
22.
TQF52 PACKAGE DIMENSIONS __________ 67
23.
ORDERING INFORMATION ______________ 68
23.1 P
ACKAGED DEVICES
______________________ 68
23.2
DIE F
ORM
_____________________________ 68
24.
SPEC UPDATEERROR!
BOOKMARK NOT DEFINED.
Copyright
©
2005, EM Microelectronic-Marin SA
3
www.emmicroelectronic.com
R
EM6821
1. Pin Description for EM6821
Chip
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
TQFP
52
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
DIL
64
10
11
12
13
14
15
16
18
19
20
21
22
23
26
27
28
29
30
31
33
34
35
36
37
38
39
42
43
44
Signal Name
VL1
VL2
VL3
COM[1]
COM[2]
COM[3]
COM[4]
SEG[20]
SEG[19]
SEG[18]
SEG[17]
SEG[16]
SEG[15]
SEG[14]
SEG[13]
SEG[12]
SEG[11]
SEG[10]
SEG[9]
SEG[8]
SEG[7]
SEG[6]
SEG[5]
SEG[4]
SEG[3]
SEG[2]
SEG[1]
Reset
Test
Function
Voltage multiplier level 1
Voltage multiplier level 2
Voltage multiplier level 3
LCD back plane 1
LCD back plane 2
LCD back plane 3
LCD back plane 4
LCD Segment 20
LCD Segment 19
LCD Segment 18
LCD Segment 17
LCD Segment 16
LCD Segment 15
LCD Segment 14
LCD Segment 13
LCD Segment 12
LCD Segment 11
LCD Segment 10
LCD Segment 9
LCD Segment 8
LCD Segment 7
LCD Segment 6
LCD Segment 5
LCD Segment 4
LCD Segment 3
LCD Segment 2
LCD Segment 1
Input reset terminal,
internal pull-down 15 KOhm
Input test terminal,
internal pull-down 15 KOhm
Input/output , open drain
serial port : SIN
parallel out terminal 0
Output , open drain
serial port : Ready/CS
parallel out terminal 1
Output , open drain
serial port : SOUT
parallel out terminal 2
Input/output , open drain
serial port : SCLK
parallel out terminal 3
Input/output, open drain
port B terminal 0
Remarks
LCD level 1 input, if external
supply selected
LCD level 2 input, if external
supply selected
LCD level 3 input, if external
supply selected
Not used if 3 times multiplexed
Main reset
For EM tests only, ground 0 !
Except when needed for MFP
programming
Serial interface data in
or
parallel data[0] in/out
Serial interface Ready CS
or
parallel data[1] in/out
Serial interface data out
or
parallel data[2] in/out
Serial interface clock I/O
or
parallel data[3] in/out
Port B data[0] I/O or
Ck[1] output
30
30
45
PSP[0]
31
31
46
PSP[1]
32
32
47
PSP[2]
33
33
49
PSP[3]
34
34
50
PB[0]
Copyright
©
2005, EM Microelectronic-Marin SA
4
www.emmicroelectronic.com
R
EM6821
Chip
35
36
37
38
39
40
41
42
43
TQFP
52
35
36
37
38
39
40
41
42
43
DIL
64
51
52
53
54
55
58
59
60
61
Signal Name
PB[1]
PB[2]
PB[3]
PA[0]
PA[1]
PA[2]
PA[3]
Buzzer
Strobe
Function
Input/output, open drain
port B terminal 1
Input/output, open drain
port B terminal 2
Input/output, open drain
port B terminal 3
Input port A terminal 0
Input port A terminal 1
Input port A terminal 2
Input port A terminal 3
Output Buzzer terminal
Output Strobe terminal
Remarks
Port B data[1] I/O or
Ck[11] output
Port B data[2] I/O or
Ck[16] output
Port B data[3] I/O or
PWM output
TestVar 1
Event counter
TestVar 2
TestVar 3
Event counter,
MSC start/stop control
µP reset state or/and port B
write or sleep flag out
44
44
62
Vbat = V
DD
Positive power supply
MFP Connection
45
45
63
Vreg
Internal voltage regulator
Connect to minimum 100nF,
MFP connection
46
46
64
Qin/Osc1
Crystal terminal 1
32 KHz crystal, MFP connection
47
47
2
Qout /Osc2
Crystal terminal 2
32 KHz crystal, MFP connection
48
48
3
V
SS
Negative power supply
ref. terminal, MFP connection
49
49
4
C2B
Voltage multiplier
Not needed if ext. supply
50
50
5
C2A
Voltage multiplier
Not needed if ext. supply
51
51
6
C1B
Voltage multiplier
Not needed if ext. supply
52
52
7
C1A
Voltage multiplier
Not needed if ext. supply
Gray shaded areas : Terminals needed for MFP programming connections (V
DD
, Vreg, Qin, Qout, Test).
Figure 3. Typical Configuration
L C D D is p la y
C1
C1
C1
VL3
C2
C2
C 1A
C 1B
C 2A
C 2B
P o rt A
P o rt B
P o rt S P
B u zz e r
S tro b e
C rys ta l
Q in
O out
A ll C a p a c ito rs 1 0 0 n F
VL1
VL2
C O M [4 :1 ]
S E G [2 0 :1 ]
R eset
EM 6821
V
D D
(V b a t)
V re g
T e st
C3
V
SS
C4
Copyright
©
2005, EM Microelectronic-Marin SA
5
www.emmicroelectronic.com
Effects of Interference on CDMA Mobile Phone Receiver Testing
When testing mobile phones, it is important to understand the possible sources of interference signals and their effects on the front end of the phone. This can help determine the sensitivity of the r...
fly RF/Wirelessly
Verilog state machine programming skills
Verilog state machine programming skills...
zxopenljx FPGA/CPLD
Bad driving habits are very dangerous, car owners please pay attention!
Car owners who often drive on the road may have noticed that due to the recent digging and repair of urban roads, some sections of the road have been closed, exacerbating the tense situation of traffi...
刺集和 Automotive Electronics
MSP430FRxx FRAM Technical Documentation Download
Here are the MSP430FRxx training manuals and a lot of technical documents to download, along with the TI classroom teaching videos, I hope it can help you! :pleased:Document download: [color=#336699][...
hi5 Microcontroller MCU
IARSTM32 Error[Li005]
General Options -> Library Configuration->Library->Full...
安_然 stm32/stm8
For stepper motor control
Controlling stepper motors...
轩辕羡 FPGA/CPLD

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Robot
development
community

Index Files: 2723  131  2378  424  2570  55  3  48  9  52 
Datasheet   0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Room 1530, 15th Floor, Building B, No. 18 Zhongguancun Street, Haidian District, Beijing Telephone: (010) 82350740 Postal Code: 100190
Copyright © 2005-2026 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号