SHARP SM6004

PRODUCT INFORMATION
®
SM6004/SM6006
16-Bit Single-Chip
Microcomputers
FEATURES
• ROM capacity:
– 61,440 × 8-bits (SM6004)
– 126,976 × 8-bits (SM6006)
• RAM capacity:
– 2,048 × 8-bits (SM6004)
– 3,584 × 8-bits (SM6006)
• External memory expansion function
– On chip bus controller for external memory
– Bus multiplexing/nonmultiplexing selection
– Bus width selection
– Auto wait control
• CPU
– General purpose registers 16-bit × 16
– 62 basic instructions (bit manipulation instructions
Suitable for controlling, bit transfer instructions, bit branch
instructions, high speed multiplication and division instructions (16-bits × 16-bits, 16-bits ÷ 16-bits, 32-bits ÷ 16-bits))
• 10 addressing modes
– 16M of address space
– An interrupt request starts a high performance automatic
data transfer (DTS). Appropriate settings of interrupts and
registers enable hardware automatic data transfer. Various
functions can be operated successively and the resultant data
can also successively be stored.
– System clock cycle 0.133 µs (MIN.)
(VDD = 4.5 V to 5.5 V at 30 MHz main clock cycle)
– 0.2 µs (MIN.)
(VDD = 2.5 V to 5.5 V at 20 MHz main clock cycle)
– Selectable system clocks divided by 2 up to 16 main clocks
for low power operation.
• 27 total software interrupts
– 24 maskable interrupts (external 4, internal 20)
– 3 nonmaskable interrupts
– A nonmaskable interrupt, when used in conjunction with
BST instruction, can trigger the software reset
APPLICATIONS:
•
PDA
•
Digital Camera
Integrated Circuits
Group
• Built-in main clock oscillator for system clock
• Standby function: Halt mode/stop mode
• I/O ports × 88/specific purpose function pin × 3
– Input ports × 8 (also serve as A/D input)
– I/O ports × 80 (also serve as function pins)
– Specific purpose function pins × 3 (D/A output pin × 2, bus
mode selection pin × 1)
• Timer
– 16-bit multifunction timers × 6
– 5-stage capture and 2-stage compare type × 1
– 1-stage compare type × 2
– 2-stage capture type (or capture and compare) × 2
– 2-stage compare, PWM output type × 1
• Watchdog timer (overrun detect timer): 8-bit × 1
• Serial interface
– Selectable universal asynchronous receiver transmitter
(UART)/serial I/O interface (SIO) × 2
– Serial I/O interface (SIO) × 1
• A/D converter
– Resolution 10-bits
– 8 channels
– Auto start by triggering with timer output
• D/A converter 8-bit × 2
• High precision PWM outputs
– 14-bit × 2
– Bit modulated PWM
• Real time outputs 4-bit × 2
• Supply voltages
– 4.5 V to 5.5 V (main clock at 30 MHz)
– 2.5 V to 5.5 V (main clock at 20 MHz)
• Packages
– 100-pin LQFP (LQFP100-P-1414)
– 100-pin QFP (QFP100-P-1420)
DESCRIPTION
The SM6004/SM6006 are single-bit single-chip microcomputers
incorporating a 16-bit CPU core, ROM, RAM, timer unit, watchdog
timer, serial interface (UART, SIO), PWM output, real time output,
A/D converter, D/A converter and bus controller.
The information for this document is from the Microcomputer Databook, issued in March 1997.
Copyright ©1998, Sharp Electronics Corp. All rights reserved. All tradenames are the registered property of their respective owners. Specifications are subject to change without notice.
SMT98023
PRODUCT INFORMATION
®
100-PIN LQFP PINOUT
P25
P26
P27
VDD
P28
P29
P210
P211
P212
P213
P214
P215
P30
P31
P32
P33
P34
P35
P36
P37
P38
P39
P310
P311
TOP VIEW
P312
100-PIN LQFP
100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76
P313
1
75
P24
P314
2
74
P23
P315
3
73
P22
P40
4
72
P21
P41
5
71
P20
P42
6
70
P115
P43
7
69
P114
P44
8
68
P113
P45
9
67
P112
P46
10
66
P111
P47
11
65
P110
P48
12
64
P19
P49
13
63
P18
P410
14
62
P17
P411
15
61
P16
P412
16
60
P15
P413
17
59
P14
P414
18
58
P13
P415
19
57
P12
RESETB
20
56
P11
ADVR
21
55
P10
P50
22
54
P015
P011
P010
P09
P08
P07
P06
P05
P04
P03
P01
P02
P00
GND
X2
X1
TEST
DAVR
DA1
P012
DA0
51
25
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
MBUS
P53
P57
P013
AGND
P014
52
P56
53
24
P55
23
P54
P51
P52
6003-1
SM6004/SM6006 16-Bit Single-Chip Microcomputers
2
PRODUCT INFORMATION
®
100-PIN QFP PINOUT
100-PIN QFP
VDD
P28
P29
P210
P211
P212
P213
P214
P215
P30
P31
P32
P33
P34
P35
P36
P37
P38
P39
P310
TOP VIEW
100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81
P311
1
80
P26
P27
P312
2
79
P313
3
78
P25
P314
4
77
P24
P315
5
76
P23
P40
6
75
P22
P41
7
74
P21
P42
8
73
P20
P43
9
72
P115
P44
10
71
P114
P45
11
70
P113
P46
12
69
P112
P47
13
68
P111
P48
14
67
P110
P49
15
66
P19
P410
16
65
P18
P411
17
64
P17
P412
18
63
P16
P413
19
62
P15
P414
20
61
P14
P415
21
60
P13
RESETB
22
59
P12
ADVR
23
58
P11
P50
24
57
P10
P015
P014
P51
25
56
P52
26
55
P53
27
54
P013
P54
28
53
P012
P55
29
52
P011
P56
30
51
P010
P09
P08
P07
P06
P05
P04
P03
P02
P01
P00
X2
GND
X1
TEST
DA1
DAVR
DA0
MBUS
P57
AGND
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
6003-2
3
SM6004/SM6006 16-Bit Single-Chip Microcomputers