ETC WT5041

eltrend
WT5041
8-bit µ C with Heart Rate Detect Circuits
Version 1.01
WT5041
8-bit uC with Heart Rate Detect Circuits
REV. 1.01
March 28, 2001
Weltrend Semiconductor Inc.
2F, No. 24, Industry East 9th Road,
Science-Based Industrial Park,
Hsin-chu, TAIWAN
TEL: 886-3-5780241
FAX: 886-3-5770419
1
eltrend
WT5041
8-bit µ C with Heart Rate Detect Circuits
Version 1.01
DESCRIPTION
The WT5041 is a high-performance, low-cost, CMOS 8-bit single-chip micro controller
with on-chip OP Amp (OPA) for heart rate detect and 128 segments LCD driver. This
chip can be used dedicate for applications where heart rate and LCD display are
required, for example sports bicycle meter, heart rate meter and heart rate watch.
This chip has 8-bit CPU, RAM, ROM, I/Os, one 16-bit timer/counters, dual 8-bit timer,
interrupt controller, three 8-bit PWM D/A output, resister to frequency converter (RFC),
heart rate detect circuits, and a LCD driver. To be suitable for portable battery-powered
applications, a power saving function is included.
FEATURES
u
u
u
u
8-bit single chip micro controller with 8Kbytes ROM and 256 Bytes SRAM
Wide voltage operating range from 2.4 V to 5.5 V
Built-in 32.768KHz OSC circuits.
14 interrupt sources, 14 halt mode release sources (warm start), 8 off mode wake
up sources (cold start); all sources have independent latches each and multi-control
is available.
u I/O port (32 pins)
u
u
u
u
u
u I/O port0
8 pins (shared with SEG25~SEG32)
u I/O port1
1 pin (shared with OP Amp 1 pins)
u I/O port1
3 pins (shared with PWM0~2 output)
u I/O port1
4 pins (shared with RFC 4 pins)
u I/O port2
8 pins (shared with key detect & event counter inputs)
u I/O port3
6 pins (shared with OP Amp 6 pins)
u I/O port3
2 pins (shared with BUZ/BUZB output)
Providing standby mode
Key wake up function
Build-in heart rate detect circuits and one 16-bit counter
Build-in RFC circuit and one 16-bit counter for thermistor and humidity sensor use
Dual 8-bit timer & one 16-bit timer/counters
Weltrend Semiconductor Inc.
2F, No. 24, Industry East 9th Road,
Science-Based Industrial Park,
Hsin-chu, TAIWAN
TEL: 886-3-5780241
FAX: 886-3-5770419
2
eltrend
WT5041
8-bit µ C with Heart Rate Detect Circuits
Version 1.01
u 3 Channel 8-bit PWM output
u LCD driver
u LCD direct drive (max. 16-digit display at 1/4 duty)
u 1/4, 1/3, 1/2 duties and 1/2, 1/3 biases can be selected by software programming
u 1/4, 1/3, 1/2 duties and 1/2, 1/3 biases can be selected by software programming
u LCD segments SEG25~32 can be used as 8 I/O pins by software programming
u Real-time emulator
u Package: Die form
Weltrend Semiconductor Inc.
2F, No. 24, Industry East 9th Road,
Science-Based Industrial Park,
Hsin-chu, TAIWAN
TEL: 886-3-5780241
FAX: 886-3-5770419
3
WT5041
eltrend
8-bit µ C with Heart Rate Detect Circuits
Version 1.01
PIN FUNCTION
Name
No.
I/O
COM1
COM2
COM3
COM4
SEG1
SEG2
SEG3
SEG4
SEG5
SEG6
SEG7
SEG8
SEG9
SEG10
SEG11
SEG12
SEG13
SEG14
SEG15
SEG16
SEG17
SEG18
SEG19
SEG20
SEG21
SEG22
SEG23
SEG24
P00/SEG25
P01/SEG26
P02/SEG27
P03/SEG28
P04/SEG29
P05/SEG30
P06/SEG31
P07/SEG32
P30/IN1
P31/IN2
P32/IN3
P33/O1
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
30
31
32
33
34
35
36
37
38
39
40
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
Weltrend Semiconductor Inc.
2F, No. 24, Industry East 9th Road,
Science-Based Industrial Park,
Hsin-chu, TAIWAN
TEL: 886-3-5780241
FAX: 886-3-5770419
6
Description
LCD common 1.
LCD common 2.
LCD common 3.
LCD common 4.
LCD segment 1.
LCD segment 2.
LCD segment 3.
LCD segment 4.
LCD segment 5.
LCD segment 6.
LCD segment 7.
LCD segment 8.
LCD segment 9.
LCD segment 10.
LCD segment 11.
LCD segment 12.
LCD segment 13.
LCD segment 14.
LCD segment 15.
LCD segment 16.
LCD segment 17.
LCD segment 18.
LCD segment 19.
LCD segment 20.
LCD segment 21.
LCD segment 22.
LCD segment 23.
LCD segment 24.
I/O port 00 or LCD segment 25.
I/O port 01 or LCD segment 26.
I/O port 02 or LCD segment 27.
I/O port 03 or LCD segment 28.
I/O port 04 or LCD segment 29.
I/O port 05 or LCD segment 30.
I/O port 06 or LCD segment 31.
I/O port 07 or LCD segment 32.
I/O port 30 or OP function Input1
I/O port 31 or OP function Input2
I/O port 32 or OP function Input3
I/O port 33 or OP function Output1
WT5041
eltrend
8-bit µ C with Heart Rate Detect Circuits
Version 1.01
Name
No.
I/O
P34/O2
P35/O3
P36/BUZ
P37/BUZB
P20/INT0
P21/INT1
P22/INT2
P23/INT3
P24/INT4
P25/INT5
P26/INT6
P27/INT7/CNT
GND
XTAL2
XTAL1
P10/PWM0
P11/PWM1
P12/PWM2
P13/VR
P14/Ra
P15/Rb
P16/Rs
P17/Ca
/RESET
BIAS1
BIAS2
VDD
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
P
I/O
I
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I
O
O
P
Weltrend Semiconductor Inc.
2F, No. 24, Industry East 9th Road,
Science-Based Industrial Park,
Hsin-chu, TAIWAN
TEL: 886-3-5780241
FAX: 886-3-5770419
7
Description
I/O port 34 or OP function Output2
I/O port 35 or OP function Output3
I/O port 36 or BUZZER function
I/O port 37 or BUZZERB function
I/O port 20 or INT/wake up input 0 pull high, negative edge trigger
I/O port 21 or INT/wake up input 1 pull high, negative edge trigger
I/O port 22 or INT/wake up input 2 pull high, negative edge trigger
I/O port 23 or INT/wake up input 3 pull high, negative edge trigger
I/O port 24 or INT/wake up input 4 pull high, negative edge trigger
I/O port 25 or INT/wake up input 5 pull high, negative edge trigger
I/O port 26 or INT/wake up input 6 pull high, negative edge trigger
I/O port 27 or INT/wake up input 7/counter input
Ground (0V).
32768Hz crystal oscillator.
32768Hz crystal oscillator.
I/O port 10. or PWM0 output
I/O port 11. or PWM1 output
I/O port 12. or PWM2 output
I/O port 13. OP reference voltage output
I/O port 14 or RFC R thermistor
I/O port 15 or RFC R humidity sensor
I/O port 16 or RFC R standard
I/O port 17 or RFC Capacitor
Reset. Internal pull high, active low.
LCD bias voltage 1
LCD bias voltage 2
Power supply.