Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
by Product Family
Clocks III
Counters/Timers g
Electronic Organ Circuits BJI
. TV C'ircuits D
Analog to Digital (A/D) Converters GIl
Communications/CB Radio- ~ircuits a
Watches fJI
Calculators g
Controller Oriented Processor Systems (COPS) g
Keyboard Encoder Circuits .ID)
Interface Drivers iii
Displays If)
Clock Modules m
Custom MaS/LSI III
Table of Contents
CLOCKS - SECTION 1
COUNTERS/TIMERS - SECTION 2
2
ELECTRONIC ORGAN CIRCUITS - SECTION 3 (Continued)
TV CIRCUITS - SECTION 4
WATCHES - SECTION 7
3
WATCHES - SECTION 7 (Continued)
CALCULATORS - SECTION 8
4
INTERFACE DRIVERS - SECTION 11
DISPLAYS - SECTION 12
Manufactured under one or more of the following U.S. patents: 3083262, 3189758, 3231797, 3303356, 3317671, 3323071. 3381071, 3408542, 3421025, 3426423, 3440498, 3518750,3519897, 3557431, 3560765,
3566218,3571630,3575609,3579059,3593069, 3597640,3607469, 3617859, 3631312, 3633052, 3638131, 3648071, 3651565, 3693248.
National does not assume any responsibility for use of any circuitry described; no circuit patent licenses are implied; and National reserves the right, at any time without notice, to change said circuitry.
5
Alpha-Numerical Index
6
MM5383 Digital Calendar Clock Radio Circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1·43
MM5384 LED Display Digital Clock Radio Circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1·50
MM5385 Digital Alarm Clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1·56
MM5386 Digital Alarm Clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . '. . . . . . . . . . . . . . . . . . . . . . . 1·56
MM5387 AA Digital Alarm Clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1·62
MM5393 Push Button Telephone Dialer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ~ . . . . . . . . . . . . . . . . . . . . . 6·8
MM5395 TOUCH·TONE@ Generator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ' . . . . . . . . . . . . . . 6·11
MM5396 D(,gital Alarm Clock 1·56
MM5397 Digital Alarm Clock 1·56
MM5402 Digital Alarm Clock 1·68
MM5405 Digital Alarm Clock 1·68
MM5554 Frequency Divider. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3·2
MM5555 Chromatic Frequency Generator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ; . . 3-4
MM5556 Chromatic Frequency Generator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3·4
MM5559 Serial·to·Paraliel Converter. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3·6
MM5734 8·Function, Accumulating Memory Calculator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8·2
MM5737 8·Digit, 4·Function, Floating Decimal Point Calculator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8·8
MM5740 90·Key Keyboard Encoder. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 10·2
MM5745 78·Key Keyboard Encoder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10·10
MM5746 78·Key Keyboard Encoder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10·10
MM5758 Scientific Calculator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ",' . . . . . . . . . . . . . . .. 8·14
MM5760 Slide Rule Calculator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 8·26
MM5762 Financial Calculator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 8·35
MM5763 Statistical Calculator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 8·46
MM5764 Conversion Calculator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 8·56
MM5765 Calculator Programmer .. '. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 8·66
MM5766 Calculator Programmer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 8·76
MM5767 Slide Rule Calculator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 8·80
MM5777 6·Digit, 4·Function, Floating Decimal Point Calculator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .'. 8·84
MM5780 Educational Toy Calculator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . : . . . . . . . . . . . . . . . . . . . . .. 8·90
MM5781 Controller Oriented Processor System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . " . . . . . . . . . . . . . . . . . . . 9·3
MM5782 Controller Oriented Processor System . . . . . . . . . . . . '. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9·3
MM5785 RAM Interface Chip. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . .. 9·15
MM5788 Printer Interface Chip. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . .. 9·21
MM5791 7·Function, Accumulating Memory Calculator . . . . . . . . . . . . . . . : . . . . . . . . . . . . . . . . . . . . . . . . . . .. 8·96
MM5794 7·Function, Accumulating Memory, Vacuum Fluorescent Display Calculator. . . . . . . . . . . . . . . . . . . . . . .. 8·105
MM5795 7·Function, Accumulating Memory, Vacuum Fluorescent Display Calculator Circuit ..... , . . . . . . . . . . . . . 8·114
MM5799 Controller Oriented Processor. . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 9·27
MM5823 Frequency Divider . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . : . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3·8
MM5824 Frequency Divider . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . '. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3·8
MM5829 LED Watch Circuit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ... . • . . 7·2
MM5832 Chromatic Frequency Generator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 3·11
MM5833 Chromatic Frequency Generator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 3·11
MM5837 Digital Noise Source. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 3·14
MM5840 TV Channel Number (16 Channels) and Time Display Circuit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 4·23
MM5841 TV Channel Number and Time Readout Circuit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 4·28
MM5860 LED Watch Circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . '.' ...... , . . . . . . . . . . . . 7·6
MM5863 12·Bit Binary AID Building Block. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 5·30
MM5865 Universal Timer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 2·10
MM5871 Rhythm Pattern Generator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 3·16
MM5879 RC Circuit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 7·12
MM5880 LED Watch Circuit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7·6
MM5885 Direct Drive LED Watch. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 7·13
MM5886 Direct Drive LED Watch. . . . . . . • . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 7·13
MM5889 RC Circuit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 7·12
MM5890 LCD Chronograph Circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . • . . . . . . . . . . . . . .. 7·20
MM5891 MOS Top Octane Frequency Generator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 3·19
MM5899 RC Circuit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 7·12
MM53100 Programmable TV Timer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 4·32
MM53104 TV Game Clock Generator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 4·50
TOUCH·TONE@ is a Registered Trademark of Bell Telephone
7
MM53105 Programmable TV Timer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 4-32
MM53107 17-Stage Oscillator/Divider . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . : . . . . . . . . . . . . . . . . . .. 2-20
MM53108 Digital Alarm Clock . . . . . . . . . . . . . . . . . . ; . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 1-62
MM54C48 BCD-to-7-Segment Decoder. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 11-42
MM55104 PLL Frequency Synthesizer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . • . . . , 6-16
MM55106 PLL Frequency Synthesizer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 6-16
MM55108 PLL Frequency Synthesizer with Receive/Transmit Mode. . . . . • . . . . . . . . . . . .. . . . . . . . . . . . . . . . .. 6-20
MM55110 PLL Frequency Synthesizer with Receive/Transmit Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .' . .. 6-20
MM55114 PLL Frequency Synthesizer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 6-16
MM55116 PLL Frequency Synthesizer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 6-16
MM57100 TV Game Circuit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 4-37
MM57103 Scientific Calculator Circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-123
MM57104 Scientific Calculator Circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ~ . . . . . . . . . . . . . . . . . . . . . . . . 8-132
MM57109 Number Processing Unit. . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ... 9-39
MM57123 Financial Calculator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ',' . . . . . . . . . . . . . 8-141
MM57126 COPS Memory. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 9-40
MM57135 Scientific Calculator ROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . • . . . . . . . . ~ . _ .. 8-153
MM57136 RPN Scientific Calculator Control ROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-157
MM57140 Controller Oriented Processor. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 9-46
MM58104 Direct Drive LED Watch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . , 7-27
MM58106 Digital Clock and TV Display Circuit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 4-53
MM58115 Digitally Tuned, Direct Drive, 6-Function LED Watch . . . . . . . . . . . . . . .'. . . . . . . . . . . . . . . . . . . . . .. 7-32
MM58117 LCD Watch Circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ; . . . . . . .. 7-40
MM58118 LCD Watch Circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . " . . . . . . . . . . . . . _ . . . . . . . . . . . . . . .. . .. 7-40
MM58119 LCD Watch Circuit ...... ',' . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ; . . .. . . . . . . . . . .. 7-40
MM58120 LCD Watch Circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . ; . . . . . . . . . . . . . . . . . . '. . . . . . . . ... . . . .. 7-40
MM58127 LCD Watch Circuit . . . . . . . . . . . . . . . . . . . . .' . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . : . . . .. 7-47
MM58128 LCD Watch Circuit . . . . . . . . . . . . . . . . . . . . . . . . . . ',' . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ; . .. 7-47
MM58129 LCD Watch Circuit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 7-47
MM58130 LCD Watch Circuit ...... : . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 7-47
MM58601 Two Time Zone LED Watch Circuit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-6
MM58801 Two Time Zone LED Watch Circuit. , . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .' . . . . 7-6
MM74C48 BCD-to-7-Segment Decoder. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 11-42
MM54C915 7-Segment-to-BCD Converter . . . . . . . . . . . . . . . . '. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-46
MM54C922 16-Key Encoder ..... . ' . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .' . . . . . . . . . . . . 10-16
MM54C923 20-Key Encoder . . . . . . . . . . . . ; . '. . . . . . . . . . . . . . . . . . . . .' . . . . . . . . . . . . . . . . . . . . ',' ..... 10-16
MM74C915 7-SegmenHo-BCD Converter. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . .. 11-46
MM74C922 16-Key Encoder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-16
MM74C923 20-Key Encoder . . . . . . . . . . . . . ; .......... ',' . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . .. 10-16
NSA 1100 Series,O.100 Inch 9-Digit LED Display ..... " ........ " ........ '- . . . . . . . . . . . . . . . . . . " .. 12-2
NSA 12980.110 Inch 9-Digit LED Display. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . .. 12-6
NSA 51201/8 Inch 12-Digit LED Display. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 12-8
NSA 51401/8 Inch 14-Digit LED Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ;' . . . . . . . . . . . . . . . . . . . ;. 12-10
NSB 5917 0.5 Inch 5-Digit Numeric Display .. ; .. ; . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-12
NSB 59210.5 Inch 5-Digit Numeric Display ... ; . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-12
NSB 5922 0.5 Inch 5-Digit Numeric Display . . . . . . . . . . . . . . '.... ; . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-12
NSN Series Multi-Digit LED Numeric Series . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . _ ...... 12-14,
8
Clocks
For additional application information,
see AN-143 at the end of this section.
TABLEI.
MULTlPLEX~O{::~
Rlil..l ~ 4/6 DIGIT SELECT ~ 4/6 DIGIT SELECr
~~~T~~~~~~~ ffii4..1 ~ MUX TIMING BCD OUTPUTS ~MUXTIMING
INEG~~~VE~ { ROZ..! ~Mlj INEG~~~~~ BC1iZ..! ~ Mlj
mil[O:~ ~:110
mil..1 ~Ml0
• ...! ~Hl DIGIT
~ ~~~:~~S
DIGIT
b..2 MM5309 ~Hl0 ~~~:~~S :..2 MM5311 HI.' 0
MULTIPLEXED
1 SEGMENT
c~
d"":: r-
~SS110 MULTIPLEXED
lSEGMENT
c~
d-"
~SI
~S10
OUTPUTS • ..!.!! ~ 50160 Hz INPUT OUTPUTS • .!!l ~50160 Hz INPUT
,.!.! ~FASTS~T [ ,.11 .!!.FASTSET
g.E ~SLOWSET g.E ..!.!.SLOWSET
12124 HOUR SELECT.ll ~ RE·SET 12/24 HOUR SELECT.ll ~HOLO
50160 Hz SELECT .!!I..-_ _ _ _---Ifl!.vss 50160 Hz SELECT ..!.!L-_ _ _ _--I>1l vss
TOPVIEW TOPVIEW
1-2
absolute maximum ratings
Voltage at Any Pin VSS + 0.3 to VSS -,20V
Operating Temperature -25°C to +70°C
Storage Temperature -65°C to +150°C
Lead Temperature (Soldering, 10 seconds) 300°C
electrical characteristics TA within operating range, VSS = llV to 19V, VDD = OV, unless otherwise specified.
r~
BCD OUTPUTS BCD 2 2. ~VDD 1! MUX TIMING
(NEGATIVE
42
~"'j
MULTIPLEXED BCD
TRUE)' BCili.1 E. MUX TIMING BCD OUTPUTS
.o.!
b...l
~.,
~Ml0
}
DIGIT
ENABLE
(NEGATIVE
TRUE)
BCD Z""!
BCD 1...1
~M1D
~Hl
.!l Hl0
DIGIT
ENABLE
OUTPUTS
r
,OO! .!!. HI OUTPUTS b..1. MM5313 BSI
MULTIPLEXED MM531Z
7SEGMENT d.2 .!!.Hl0 :.J. 11 S10
.
MUL TlPLEXED '9
DUTPUTS
• .J. 7SEGMENT d....;. ~ 1 PPS OUTPUT
l!.1 PPS OUTPUT
DUTPUTS 10
,..!
..;..;;. ..1! so/so Hz INPUT
.!!. 60/S0 Hz INPUT ,.!! ..!!FASTSET
g.!!!. . .!!FAST SET g.E. .!L SLOW SET
12/24 HR SELECT ..!.!. .!! SLOW SET 12124 HR SELECT.!l .!!. HDLD
50/S0 Hz SELECT ..!l ..!lvSS so/so Hz SELECT.!! .!!VSS
{::::2
VDD 1.. . ~ MUX TIMING ~2. 1!MUX TIMING
.- 3 MULTIPLEXED 1!Mlj
~·'I
BCD OUTPUTS '
(NEGATIVE BCD 2..! 1! Ml0 .
b.!. ,!.!.Ml0
TRUE) BCD 1...1 1! HI DIGIT
,.l. p.!!. HI DIGIT 6 23 ENABLE
• ...::. =Hl0 OUTPUTS
. MULTIPLEXED ENABLE
r!! Hl0
MULTIPLEXED:~ ~::O
7SEGMENT do!. OUTPUTS
OUTPUTS MM5314
.2. r!!SI MM5315
1-3
functional description
A block diagram of the MM5309 digital clock is shown which is driven by a multiplex oscillator. The ascillator
in Figure 1. MM5311, MM5312, MM5313, MM5314 and external timing companents set the frequency of
and MM5315 clocks are bonding options of MM5309 the multiplexing functian iand, as controlled by the 4 ar
clock. Table I shows the pin-outs for these clocks. 6-digit select input, the divider determines whether data
will be output for 4 or 6 digits_ A zero-blanking circuit
50 or 60 Hz Input: This input is applied to a Schmitt suppresses the zero. that would otherwise sometimes
Trigger shaping circuit which provides approximately appear in the tens-of-hours display; blanking is effective
5V of hysteresis and allows using a filtered sinewave only in the 12-hour format. The multiplexer addresses
input. A simple RC filter such as shown in Figure 10 also become the display digit-enable outputs. The multi-
should be used to remove possible line voltage transients plexer outputs are applied to a decoder which is used
that cauld either cause the clack to. gain time ar damage to address a programmable (code converting) ROM.
the device. The shaper output drives a caunter chain This'ROM generates the final output codes, i.e., BCD
which perfarms the timekeeping functian. and 7-segment. The sequential output order is from
digit 6 (unit seconds) through digit 1 (tens of hours).
Time Setting Inputs: Both fast and slow setting inputs, Figure 4 also illustrates two methods of synchronizing
as well as a hald input, are provided. Internal depletion the multiplex oscillator- to an external timebase. The
devices provide the narmal timekeeping function. external RC timing components may be omitted and
Switching any af these inputs (one at a time) to VDD this input may be driven by an external timebase; the
results in the desired time setting function. required logic levels are the same as 50 or 60 Hz input.
The three gates in the counter chain (Figure 1) are Reset: Applying VDD to this input resets the counters
used for setting time. During normal operatian; gate A to 0:00:00.00 in 12-hour format and 00:00:00.00 in
connects the shaper output to a prescale counter (-;-50 24-hour formats leaving the input unconnected (internal
or -;-60); gates Band C cascade the remaining counters. cmpletion pull-up) selects normal operation.
Gate A is used to inhibit the input to. the counters for
the duration of slow, fast or hold time-setting input 4 or 6-Digit Select Input: Like the other control inputs,
activity. Gate B is used to. connect the shaper output this input is provided with an internal depletion pull-up
directly to a secands caunter (-;-60), the condition for device. With no input connection the clock outputs data
slaw advance. Likewise, gate C connects the shaper for a 4-digit display. Applying VDD to this input pro-
output directly to. a minutes counter (-;-60) for fast vides a 6-digit display. '
advance_
Output Enable Input: With this pin unconnected the
Fast set then, advances hours infarmation at one hour BCD and 7-segment outputs are enabled (via an internal
per secand and slow set' advances minutes informatian depletion pull-up). Switching VDD to this input inhibits
at one minute per second. these outputs. (Not applicable to MM5312, MM5313,
and MM5315 clacks.)
12 or 24-Hour Select Input: This input is used to pro-
gram the hours counter to. divide by either 12 ar 24, Output Circuits: Figure 5a illustrates the circuit used
thereby providing the desired display format. The for the BCD and 7-segment outputs. Figure 5b shows
12-hour display farmat is selected by cannecting this the digit enable output circuit. Figure 6 illustrates
input to VDD; leaving the input uncannected (internal interfacing these outputs to standard and low power
depletian device) selects the 24-hour format. TTl. Figures 7 and 8 illustrate methods of interfacing
these outputs to common anode and comman cathode
Output MUltiplexer Operation: The seconds, minutes, LED displays, respectively. A method of interfacing
and haurs counters continuously reflect the time of day. these clocks to gas discharge display tubes is shown in
Outputs from each caunter' (indicative of bath units Figure 9. When driving gas discharge displays which
and tens of seconds, minutes, and hours) are time- enclose more than one digit in a common gas envelope,
division multiplexed to provide digit-sequential access it is necessary to inhibit the segment drive voltage(s)
to the time data. Thus, instead af requiring 42 leads to during inter-digit transitions. Figure 9 also illustrates a
intercannect a 6-digit clock and its display (7 segments method of generating a voltage for application to the
per digit), ai/ly 13 output leads are required. The multi- output enable input to accomplish the required inter-
plexer is addressed by a multiplex divider decoder, digit blanking.
functional description (Continued)
5~~~~~;0- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _....
~------------~IOHz
HOLOo-------------------,
~~~--------~~IHz
FAST SET o - - - - - - - - J - - + - - - + - - - - - - + - - ,
RESETo--------J--+---+---~._---;_-~~--~...-~~-_,
VSSo---.}
VDD C>---+ AS REC'D
~---------_o~~!~~~
MULTIPLEXED
BCTi 0 UTPUTS
MULTIPLEXED
4/:E~I~~~ 0---------_ 7-SEGMENT
OUTPUTS
MUL TlPLEX L-_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _"'- DIGIT ENABLE
TIMING
OUTPUT 1-----------------------------..,. . . OUTPUTS
VOO----~J_-
50/60 PPS
OUTPUT OR
50/60 Hz X>.....- ... MULTIPLEX
INPUT OR OSCILLATOR
MULTIPLEX - - - - - - - ' OUTPUT
TIMING lOOk
COMPONENTS ~.
VSS
:I:
.... I
>
z
r K
10k ~-F:r.
I ::>
I ~
><
I Ik ~
.~
I ::;:
~V~~ = OV
I 100
R '2.2~~
I 0.0001 0.001 0.01 0.1
I C - CAPACITANCE (~F) WITH R = 220k
I VSS I
L~I. "A FIGURE 3. Multiplex Timing Component Selection Guide
I~-----O< 1- _ _ ':""" _ _ ...1
r11 ~
I Dotted components added to shaping
vss circuit to form multiplex oscillator
*Effectively
Vss
MM5309
VOO
Vss
Vss
Cl
C2
EXTERNAL ~
. TIME MM5309 MM5309
BASE
. (INPUT OR OUTPUT)
VOO
VOO
Note. Free running frequency should be set to run slightly lower than system frequency
over temperature. External time base may be inputor output.
* R=100k.
vss vss
.-f}--1 . .
OUTPUT
vOO _
7-SEGMENT BCO OR lpPS
OUTPUT
(OPEN ORAIN)
600
VOO vOO
'·6
functional description (Continue.d)
ss
SS
(11(11
MM5l09
ww
~~
(111\)
VOO
VOO = -12V
For VSS = 5, VOO = 12, R = 10k For VSS = 5, VOO = -12, R = 7.5k
For VSS = 10 to 17V, VOO.= Gnd, R = 3k Note. ~igit select will drive TTL directly when
5, -12 supplies are used.
VSS VSS
TYPICAL 1 - - - - - - - - - 1 TYPICAL 1 - - - - - - - - 1
DIGIT SEGMENT
ENABLE OUTPUT
OUTPUT
I
TYPICAL LEO
J
MM5l09 TYPICAL LEO MM5l09
SUCH ~S NSN74R.
I OR EIlUIV.
SUCH AS
NSN71L. OR
EIlUIV.
TYPICAL
TYPICAL 2k
SEGMENT I - - -......""~,....-t EN~~~~ 1--.....,--
.-------1
OUTPUT ....I"""L..
OUTPUT ........
vOO
5.1k
VOO--~----------4~----
FIGURE 7. Interfacing Common Anode LED Displays FIGURE 8. Interfacing Common Cathode LED Displays
1·7
functional description (Continued)
(OV)
TYPICAL
DIGIT
ENABLE
OUTPUT ~
TYPICAL
SEGMENT
MM5J09
TYPICAL
..JI.....
SEGMENT
OUTPUT
MULTIPLEX
TIMING
INPUT
OUTPUT
ENABLE O.OOS
(X7)
J9k
4.7k
VDD
(-15V)
MUL TIPLEX TIMING AND
INTER·DIGIT BLANKING
-JSV
-12SV
. FIGURE 9. Interface Panaplex 11* Neon Display Tube *TM of Burroughs Corp .
OV
lN914
lOOk
AC IN
15 27 01 2S
---mICiUl
ANODE I
Vss 4/6
02 24
OJ 2J
2NS086
(X4)
• DRIVER IOJ
0422
IONLY
MMSJ09
14
28 26
.
6
b c
7 8
SEG
d e f
9 10 11 12
9
II I" ,.,
0.02
2DOV
lOOk
TvPiCAil
CATHODE I
2NJ9D4 DRIVER I
J90 pF
, -JSV--~------------------__- -....-~+------~----~-~---4---4~
-105V------------------------------~-----_4~-----~---~---
40
AM OUTPUT PM OUT
10HRS- b&<
HRS-I
HRS -g BLANKING IN
36
HRS -. ~0/60 Hz SELECT
3&
HRS- b 50/60 Hz IN
AL~~~ +"'--_ __. HRS - d FAST SET IN
ALARM HRS-< SLOW SET IN
OFF TO HRS
DIGIT HRS-. SECONDS DISPLAY IN
SNOOZE 10MINS-I ALARM DISPLAY IN
10MINS-g SLEEP DISPLAY IN
SLEEP
OUT TO 10'S 10MINS-.&d
OF MINS 10MINS-b
DIGIT
10MINS-.
10MINS-< ALARM OFF IN
16 25
SLEEP DIS 0------------------+1
-+I
ALA~~ O-,-31~_ _ _ _ _ _ _ _ _ _ _ _ _ _ _
16-22
TOMINS
MINS -I
11 24
ALARM OUT
SNOOZE IN
DIGIT MINS-g
18 23
SECO~~ 0-:;32:....,,-_ _ _ _ _ _ _ _ _ _ _ _ _ _ _-+1 MINS-. OUT COMMON SOURCE
19 22
MINS-b MINS-<
BLANKING 0-'-3;...1_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _+1 BLANKiNG 20 21
MINS-< MINS-d
INPUT 33 DETECTOR
SLOWSET~
TOP VIEW
34
FASTSET~
28 Order Number MM5316N
VSS~
29 See Package 24
VOO~
FIGURE 1. FIGURE 2.
1·9
absolute maximum ratings
electrical characte,'istics
T A within operating range, VSS = 21 V to +29V, VOO = OV, unless otherwise specified.
1·10
functional description
A block diagram of the MM5316 digital alarm clock is fluorescent tube displays, VSS or a display, brightness
shown in Figure 1. The various display modes provided control voltage is permanently connected to this pin.
by this clock are listed in Table I. The functions of the Since the brightness of a fluorescent tube display is
setting controls are listed in Table II. Figure 2 is a dependent on the anode (segment) Voltage, applying a
connection diagram. The following discussions are based variable voltage to pin 23 results in a display brightness
o,n FiflUre 1. control. This control is shown in Figure 6.
50 or 60 Hz Input (pin 35): A shaping circuit (Figure 3) 12 or 24-Hour Select Input (pin 38): By leaving this pin
is provided to square the 50 or 60 Hz input. This circuit unconnected, the outputs for the most-significant
allows use of a filtered sinewave input. The circuit is a display digit (10's of hours) are programmed to provide
Schmitt Trigger that is designed to provide about 6V of a 12-hour display format. An internal depletion pull
hysteresis. A simple RC filter, such as shown in Figure 6, down device is again provided. Connecting this pin
should be used to remove possible line-voltage transients to VSS programs the 24-hour display format. Seg-
that could either cause the clock to gain time or damage ment connections for 10's of hours in 24-hour mode
t~e device. The shaper output drives a counter chain are shown in Figure 5b.
which performs the timekeeping function.
Power Fail Indication: If the power to the integrated
50 or 60 Hz Select Input (pin 36): A programmable circuit drops indicating a momentary ac power failure
prescale counter divides the input line frequency by and possible loss of clock, the power fail latch is set.
~ither 50 or 60 to obtain a 1 Hz time base. This counter The power failure indication consists of a flashing of the
is programmed to divide by 60 simply by leaving pin 36 AM or PM indicator at a 1 Hz rate. A fast or slow set
unconnected; pull-down to VOO is provided by an input resets an internal power failure latch and returns
internal depletion device. Operation at 50 Hz is pro- the display to normal. In the 24-hour format, the power
grammed by connecting pin 36 to VSS. failure indication consists of flashing segments "c" and
"f" for times less than 10 hours, and of a flash ing
Display Mode Sel~ct Inputs (pins 30-32): In the segment "c" for times equal to or greater than 10 hours
absence of any of these three inputs, the display drivers but less than 20 hours; and a flashing segment "g"for
present, time-of-day information to the appropriate times equal to or greater than 2.0 hours.
display digits. Internal pull-down depletion devices allow
use of simple SPST switches to select the display mode. Alarm Operation and Output (pin 25): The alarm
If more than one mode is selected, the priorities are as comparator (Figure 1) senses coincidence between the
noted in Table I. Alternate display modes are selected alarm counters (the alarm setting) and the time counters
by, applying· VSS to the appropriate pin. As shown in (real time). The comparator output is used to set a latch
Figure 1 the code converters receive time, seconds, alarm in the alarm and sleep circuits. The latch output enables
and sleep information from appropriate points in the the alarm output driver (Figure 4), the MM5316 output
clock circuitry. The display mode select inputs control that is used to control the external alarm sound gener-
the gating of the desired data to the code converter ator. The alarm latch remains set for 59 minutes, during
'inputs and ultimately (via output drivers) to the display which the alarm will therefore sound if the latch output
digits. ' is not temporarily inhibited by another latch set by the
snooze alarm input (pin 24) or reset by the alarm "OFF"
Time Setting Inputs (pins 33 and 34)': Both fast ana input (pin 26). If power fail occurs and power comes
slow setting inputs are provided. These inputs are back up, the alarm output will be in high impedance
applied either singly or in combination to obtain the state.
control functions listed in Table II. Again, internal
pull-down depletion devices are provided; application of Snooze Alarm Input (pin 24): Momentarily connecting
VSS to these pins effects the control functions. Note pin 24 to VSS inhibits the alarm output for between 8
that the .control functions proper are dependent on the and 9 minutes, after which the alarm will again be
selected display mode. For example, a hold-time control sounded. This input is pulled-down to VOO by an
function is obtained by selecting seconds display and internal depletion device. The snooze alarm feature may
actuating the slow set input. As another example, the be repeatedly used during the 59 minutes in which the
clock time may be reset to 12:00:00 AM, in the 12-hour alarm latch remains set.
format (00:00:00 in the 24-hour format). by selecting
seconds display and actuating both slow and fast set Alarm "OFF" Input (pin 26): Momentarily connecting
inputs. pin 26 to VSS resets the alarm latch and thereby silences
. the alarm. This input is also returned to VOO by an
Blanking Control Input (pin 37): Connecting this internal depletion device. The momentary alarm "OFF"
Sch!TIitt Trigger input to VOO places all display drivers input also readies the alarm latch for the next compara-
in a non-conducting, high-impedance state, thereby tor output, and the alarm will automatically sound again
inhibiting the display, (see Figures 3 and 4). Conversely, in 24 hours (or at a new alarm setting). If it is desired
VSS applied to this input enables the display. to silence the alarm for a day or more, the alarm "OFF"
input should remain at VSS. '
Output Corr-rnon Source Connection (pin 23): All
disp'lay output drivers are open-drain devices with all Sleep Timer and Output (pin 27): The sleep output
$Ol/rces common to pin 23 (Figure 4). When using at pin 27 can be used to turn off a radio after a
1-11
functional description (Continued)
desired time interval of up to 59 minutes. The time and the sleep output current drive is removed, thereby
interval is chosen by selecting the sleep display mode turning off the radio. The turn off may also be
(Table I) and setting the desired time interval (Table II). manually controlled (at any time in the countdown) by
This automatically results in a current-source output a momentary VSS connection to the snooze, input
via pin 27, which can be used to turn on a radio (pin 24). The output circuitry is the same as the other
(or other appliance). When the sleep counter, which outputs (Figure 4).
counts downwards, reaches 00 minutes, a latch is reset
Voo
50/60 HZ
SIGNAL
VSS
il(OATA)~~
BLANKING
---i
(FROM OUTPUT
SHAPER) ,(OPEN ORAIN)
VSS
1·12
functional description (Continued)
*SELECTED
DIGIT NO.1 DIGIT NO.2 DIGIT NO. 3 DIGIT NO.4
DISPLA Y MODE
Time Display 1D's of Hours & AM/PM Hours 10's of Minutes Minutes
Seconds Display Blanked Minutes 1D's of Seconds Seconds
Alarm Display 1D's of Hours & AM/PM Hours 1D's of Minutes Minutes
Sleep Display Blanked Blanked 10's of Minutes Minutes
* If more than one display mode input is applied, the display priorities are in the order of Sleep (overrides all others), Alarm,
Seconds, Time (no other mode selected). '
*When setting time sleep minutes will decrement at rate of time counter, until the sleep counter reaches 00 minutes
(sleep counter will not recycle).
typical application
Figure 6 is a schematic diagram of a general purpose alarm clock using the MM5316 and a fluor~scent tube display.
BRIGHTNESS
CONTROL
...--.+_>---'...,..-.......,vss
3
1156~~~ IBV lOOk
[tl
Z1k ALARM
OUTPUT COMMON DRIVE
SOURCE
~~--+---+----l50/60 Hz INPUT MMSJI6
Z1k
~--....-+-..-~--lVOD
r t,L. .o:,;~·rcz-.:;l;:.:O':;: S: . .OF-:H" OU_R_S- =.:;.: . ;. . ;-i-UN_IT-iH~O_UR;S+T- rI.;.O.S_O. .:F~M. :.IN_UT.:;.E. .:;S-T- i-;-;.UN_IT_M;-IN_U_TET-S+SL;~- ,~ SLEEP
DRIVE
I IHOURS
I I FOR
I I Z4·HR
L___ _ ___ J MODE
FIGURE 6. Schematic
1·13
Clocks
general description
The MM5370 and MM5371 digital alarm clocks are • AM/PM drive output in 12-hour format
monolithic MOS integrated circuits utilizing P-channel • Leadi,ng-zero blanking in 12-hour format
low-threshold, enhancement mode and ion-implanted
• 24-hour alarm setting
depletion mode devices. They provide all the logic
required to build several types of clocks an.d timers. • All counters are resettable
Three display modes (time, alarm and sleep) are pro- • Fast and slow set controls
vided to optimize circuit utility. The circuits interface • Power fail indication
simply with 7-segment gas discharge displays. The Blinking colon-12-hour or 24-hour mode
timekeeping function operates from either a 60 Hz Blinking AM/PM indicators-12-hour only
(MM5370) or 50 Hz (MM5371) input, and the display • Brightness control capability
format may be. ~jther12 hours (with leading-zero • Simple interface to gas discharge display
blanking and AM/PM indication) or 24 hours. Outputs
• Presettable 59-minute sleep timer
consist of display drives, alarm enable and sleep (e.g.,
timed radio turn off). Power failure indication is • 9-minute snooze timer
provided to inform the user that incorrect time is being
displayed. Setting the time cancels, this indication.
These clocks are packaged in 28-pin dual-in-Iine packages. applications
connection diagram
SNOOZE
INPUT
ALARM
OUTPUT
ALARM
OFF INPUT
2
Dual-In-Line Package
28
HOURS
27 10 HO URS
10MINUTES
I DIGIT
ANODE·DRIVE
OUTPUTS
SLEEP 4 MINUTES
OUTPUT
vSS
VDD
SLEEP
Order Number MM5370N DISPLAY MM5370
or MM5371N OR MULTIPLEXED
ALARM MM5371 7·SEGMENT
See Package 23 OUTPUTS
DISPLAY
RESET
SLOW
, SET
FAST
SET
LINE COLON
FREQUENCY INPUT OUTPUT
12124·HOUR AM/PM
SELECT OUTPUT
MULTIPLEX BRIGHTNESS
TIMING INPUT CONTROL INPUT
TOP VIEW
1·14
3:.
absolute maximum ratings 3:
(l'1
Voltage at Any Pin~~ VSS + 0.3V to VSS - 29V W
Voltage at Any Disp ay Output Pin VSS + 0.3V to VSS - 55V
.....
0
Operating Temperature -25°C to +70°C
Storage Temperature -65°C to +150°C s:
Le~d Temperature (Soldering, 10 seconds) 300°C s:
(l'1
W
electrical characteristics T A within operating range, VSS = OV, V DD = -21 V to -29V unless otherwise specified. .....
....
PARAMETER CONDITIONS MIN TYP MAX UNITS
Power Supply Voltage
I
Fun·ctioning Clock No Output Loads -8.0 -25 -29 V
Outputs Driving Display -21 -29 V
Power Supply Current No Output Loads, (See "Power
III
5.0 mA
Supply" Section)
60 Hz (or 50 Hz) Input Frequency
MM5370 dc 30k Hz
MM5371 dc 30k Hz
60 Hz (or 50 Hz) Input Voltage
Logical High Level VSS-1.0 VSS VSS V
Logical Low Level VDD VDD VDD+1 V
Brightness Control Voltage
Logical High Level VSS-2.0 VSS VSS V
Logical Low Level VDD '{DD VSS-4.0 V
All Other Input Voltages
Logical High Level VSS-1.0 VSS VSS V
Logical Low Level Internal Depletion Load to VDD VDD VDD VDD+2.0 V
functiona I description
A block diagram of the MM5370 and MM5371 clocks is functions of the clocks (proper counting, etc.) except
shown in Figure 1. The various display modes provided output drive capabilities. In order to ensure proper
by these clocks are listed in Table I. The functions of the output levels and breakdown voltages it is necessary to
controls are listed in Table II. A connection diagram for provide supply voltages between -21V and -29V. At
these devices is shown on page 1. Unless indicated other· some point between -7V and -3V, the power fail
wise, the following discussions are based on Figure ,. latch becomes "set". All counters will then hold their
count at least 0.5V below this point. This ensures power
Power Supply: Even though these clocks do not require failure indication before any count is lost. For proper
a regulated supply, and operate over a wide voltage power failure indication, power supply rise time should
range, certain factors should be remembered. Power not exceed 10 V/ms, since faster rise times may be
supply voltages between -8V and ·-21V will provide all faster than propagation delays within the latch circuitry.
1·15
functional description (Continued)
Line Frequency Input (pin 12): A shaping circuit is frequency of the multiplexing func_n. Each digit
provided to square the 60 Hz (MM5370) or 50 Hz anode is sequentially enabled for a time equal to the
(MM5371) input., This circuit allows use of a sinewave period of one cycle ofthe multiplex oscillator frequency.
input. The Schmitt Trigger shaper (Figure 2) is designed
to provide approximately 6V of hysteresis. A simple RC When driving gas discharge displays which enclose more
filter, such as shown in Figure 8,' should be used to than one digit in a common gas envelope, it is necessary
remove possible line·voltage transients that could cause to either (1) inhibit the segment drive voltage(s) for a
the clock to gain time o'r damage the device. The shaper short time' during inter-digit transitions, or (2) avoid
output drives a counter chain which performs the time- physically adjacent. inter-digit transitions. The MM5370
keeping function. A prescale counter divides the line and MM5371 clocks utilize an interlaced output sequence
input frequency to obtain a 1 pps timebase. to eliminate the need for inter·digit blanking circuitry
and to prevent display arcing problems. The digit
Display Mode Select Inputs (pins 7 and 8): In the sequence is: (1) digit no. 1 (ten's of hours), (2) digit
absence of, either of these inputs, the display drivers no. 3 (ten's of minutes), (3) blank for one digit time,
output time·of-day information to the display. Internal (4) digit no. 2 (unit hours), (5) digit no. 4 (unit min-
,pull·down (to VDD) depletion loads allow use of simple utes), (6) blank for one digit time, etc. The two blanking
SPST switches for connecting these inputs to VSS, intervals are provided to recharge level-translating
thereby selecting alternate display modes. If more than capacitors located in the display segment drive lines
one mode is simultaneously selected, the priorities are (see Figure 8). Both segment data and digit enables are
are noted in Table I. As shown in Figure 1 the multi- blanked. Figure 3 is a ,timing diagram which illustrates
plexed code converter receives time, alarm and sleep output timing.
information from appropriate points in the clock
circuitry. The display mode select inputs control the MUltiplex Timing Input (pin 14): The multiplex oscil-
gating of the desired data to the multiplexed code lator is shown in Figure 4. Adding an external resistor
converter inputs and ultimately (via output drivers) and capacitor to this circuit via the mUltiplex timing
to the display. input produces a relaxation oscillator. The waveform at
this input is a quasi-sawtooth that is squared by the
Time Setting Inputs (pins 10 and 11): Both fast and shaping action of the Schmitt Trigger in Figure 4. Figure
slow setting inputs are provided. These inputs are 5 provides guidelines for selecting the external com-
applied either singly or In combination to obtain the ponents relative to the desired multiplex frequency.
control functions listed in Table II. Again, internal Figure 6 illustrates a method of synchronizing or driving
pull-down depletion loads are provided; application of the multiplex oscillator with an external timebase. The
VSS to these pins effects the control functions. Note external RC timing components may be omitted and
that the control functions proper are determined by the this input driven by an external timebase; the required
selected display mode. An optional hold-time control logic levels are the same as the 60 Hz or 50 Hz input.
function can be obtained as shown in Figure 8.
Output Circuits: All display output drivers are open-
Reset Input (pin 9): Applying VSS tO,this input results drain devices with sources common to VSS (pin 5),
in resetting the timekeeping function' of the clock; see Figure 7. Figure 8 illustrates interfacing the clock'
a pull-down depletion load is provided at this input I outputs and a gas discharge display.
Time is reset to 12:00 AM in the 12-hour format,
or 00:00 in the 24-hour format. See Table II. Brightness Control Input (pin 15): Since display bright-
ness is a function of cathode segment current, a capa-
12 or 24-Hour Select Input (pin 13): By lE)aving this bility of interrupting this current for a variable per-
pin unconnected, the clock is programmed to provide centage of the digit interval results in a brightness
a 12-hour display format. This format provides for control. Connecting this Schmitt Trigger input (see
zero-blanking the most significant display digit (ten's of Figure 2) to VDD places all cathode segm'ent drive
hours). An internal pull-down depletion load "is again voltages at the high level, thereby inhibiting the display.
provided; connecting this pin to VSS' programs the Conversely, VSS applied to this input enables the
24-hour display fprmat. (See Figure 8). cathode segment drives. The Schmitt Trigger shaper
provides approximately 1V of hysteresis, which facili-
Output Multiplexer Operation: Depending upon the tates using a waveform such as a sawtooth with a variable
selected display mode (see Table I), outputs from the slope (or variabledc component) to effect the shaper
appropriate internal counter are time division multi- output duty cycle and, therefore, the display brightness.
plexed to provide digit-sequential access to the data. The control waveform should, be derived from the multi-
Thus, instead of requiring 28 leads to interconnect a plex frequency; a circuit is included in Figure 8.
4-digit clock and its display (7 -segments per digit),
only 11 output leads are required. Note that the Alarm Operation and Output (pin 2): An alarm com·
MM5370 and MM5371 actually provide 13 outputs parator (see Figure 1) senses coincidence between the
(4-digit anode drive outputs plus 9 "segment" cathode alarm counters (the alarm setting) and the time counters
drive outputs). The two additional "segment" drives (real time). The comparator output isused to set a latch
are provided to accommodate displays which feature a in the alarm and sleep circuits. This latch enables the
colon and/or AM/PM indication. (See sections on alarm output driver (see Figure 7), the output of which
pin 16 and pin 17). The multiplexed code converter and is used to control the external alarm sound generator.
output drivers are controlled by a multiplex oscillator. The alarm latch remains set for 59 minutes, during
The oscillator and external timing components'set the which the alarm will sound if the latch output is' not
1-16
functional description (Continued)
temporarily inhibited by another latch set by the snooze sleep display mode (see Table I) and setting the desired
input (pin 1) or reset by the alarm "OF F" input (pin 3). time interval (see Table II). This automatically results
Alarm time setting and resetting are outlined in Table II. in a current-source output via pin 4 which. can be used
When initially powered, alarm is in "OFF" state. to turn on a radio. When the sleep counter, which
counts downwards, reaches 00 minutes a latch is reset
Alarm "OFF" Input (pin 3): Momentarily connecting and the sleep output drive current is removed, thereby
this pin to VSS resets the alarm latch and thereby turning off the radio. This turn off also may be manually
controlled (at any time in the count-down) by a momen-
silences the alarm. This input is also returned to VDD
by an internal depletion load. The momentary alarm tary VSS connection to the snooze input (pin 1). This
"OFF" input also readies the alarm latch for the next input is also returned to VDD by a depletion load. The
alarm comparator output; the alarm will sound again in output circuitry is the same as the alarm output (see
24 hours (or at a new alarm setting). If it is desired to Figure 7).
silence the alarm for a day or more, the alarm input
should remain at VSS. AM/PM Cathode Output (pin 16): Current with this
.J ' writing, gas-discharge clock displays are available with
two types of AM/PM indications, (1) AM and PM
Snooze Timer Input (pin 1): Momentarily connecting
this pin to VSS inhibits the alarm output for between
8 and 9 minutes, after which the alarm will again be
indicators common to digits 3 and 4 respectively; and
(2) a PM only indication common to digit 1_ Figure 3
illustrates an AM/PM cathode drive output that is com-
III
sounded. This input is pulled to VDD by an internal patible with both display types. Note that this same
depletion load. The snooze feature may be repeatedly output also provides a non-blinking (steady) colon drive
used during the 59 minutes in which the alarm latch common to digit two. Power failure is shown by turning
remains set. off this output at a 1 Hz rate.
Sleep Timer and Output (pin 4): The sleep output at Colon Cathode Output (pin 17): As an optional indica-
pin 4 can be used to turn off a radio (or other tion of clock operation, some users may prefer to
appliance) after. a desired time interval of up to 59 display a 1. Hz activity_As shown in Figure 3, a cathode
minutes. The time interval is chosen by selecting the drive output is provided to facilitate a blinking colon.
VSS 0--+
VDD 0--+
MULTIPLEX
MULTIPLEX
TIMING O-----------i~ OSCILLATOR
INPUT
12/2~EHL~~~ 0-------------------------------.
~DO:::RS
LINE
FREQUENCY 0----+1
INPUT
)
DIGIT ANODE
DRIVE OUTPUTS
lD MINS
MINS
ALARM
OUTPUT ...- - - - - . . . . ,
ALARM 0-------, AMIPM AUXILIARY
OFF CATHODE DRIVE
COLON } OUTPUTS
INPUT
MULTIPLEXED
7·SEGMENT
CATHODE DRIVE
OUTPUTS
)
ALARM
DISPLAY o---_________..:...______________--.J
SLEEP
DISPLAY
o--------------------...;.--------.....J
BRIGHTNESS
SHAPING
CONTROL O-----------i~ CIRCUIT
INPUT
1-17
...
,...
M functional description (Continued)
it)
~
:E
~ TABLE I. MM5370 and MM5371 Display Modes
M
it) *SELECTED
DIGIT NO.1 DIGIT NO.2 DIGIT NO.3 DIGIT NO.4
:E DISPLA Y MODE
:2 Time 10's of Hours Unit Hours 10's of Minutes Unit Minutes
Alarm 10's of Hours Unit Hours 10's of Minutes Unit Minutes
Sleep Blanked** Blanked 10's of Minutes I Unit Minutes
* If more than one display mode input is :applied, the display priorities are in the order of Sleep (overrides all others), Alarrii,
Seconds, Time (no other mode selected). "
* * F segment is lit in 12-hour disP"lay mode_ This may be eliminated by using circuit shown in Figure 9. (~I
SELECTED CONTROL
CONTROL FUNCTION
DISPLA Y MODE INPUT
Time* Slow Minutes Advance at 2 Hz Rate
Fast Minutes Advance at 60 Hz Rate
Both Minutes Advance at60 Hz Rate
Reset Time Resets to 12:00 AM (12-hour format)
Reset Time Resets to 00:00 (24-hour format)
Alarm Slow Alarm Minutes Advance at 2 Hz Rate
Fast Alarm Minutes Advance at 60 Hz Rate
Both Alarm Resets to 12:00 AM (12-hour format)
Both Alarm Resets to 00:00 (24-hour format)
Sleep Slow Subtracts Count at 2 Hz Rate
Fast Subtracts Count at 60 Hz Rate
Both Subtracts Count at 60 Hz Rate
*When setting time sleep minutes will decrement at rate of time counter, until the sleep counter reaches
00 minutes (sleep counter will not recycle).
vss
LINE
FREQUENCY
SHAPEO LINE
8RII~~~~E~~ 0----4..........
CONTROL X>-"'--1~ ~~E~~I~~CT~ESS
INPUT CONTROL SIGNAL
VOD
FIGURE 2. 60 Hz (or 50 Hz) Input (or Brightness Control Input) Shaping Circuit
1-18
s:
functional description (Continued)
s:
U1
eN
MULTIPLEX -...J
TIMING
INPUT
I
I
o
n
II
l
DIGITNO.l
10'S OF HOURS I
I
'~I----------------~'
r 11---
I II
DIGIT NO. 3
10·SOFMINS.
~
~
~ r I11.-.__________--;
U~II~I~~~R~ I
I
I
I
I
I
~I--~I--------~
n ~--------~
I
~I;I~ ~I~S~ I
I
I
I
I _ _ _1L
~--~--------------~
ANY
SEGMENT
AMII'M
CATHODES
NON·BlINKING .
COLON DRIVE
I COLON
I I
COLON
CATHOOES
~l'HZBlINKING
COLON DRIVE
: COLON :
L ___ ..1
ExTERNAL...Lc
TIMING
COMPONENTS
I
"'-0-...-1 OSCillATOR
OUTPUT
1.000.000
~
F
5 100.000 15
:c
~ Iil!: voo=-a.DvR
~ VOO=-2IV
VOO
~~ ~I
10.000
~
;=
"" r- VOO = -29V~ ~
~ 1000
::;
VOO UlL
1111 11111
100
10 pF 100 pF 1000 pF O.DI~F O.I~F
VSS
Voo-------4I.....- - -...- - - - - -
1·19
functional description (Continued)
Vss
"M"'«
n (DATA)
ALARM DR
SLEEP OUTPUT
TYPICAL DIGIT
DR SEGMENT
VOO OUTPUT
(OPEN DRAIN)
VSS
~ 55k
O.OT5~F
J.
VSS
VOD
:~ 1,
TOOk
°t/ 5
T2k
en
MUX TIMING BRIGHTNESS CO NT.
~ VSS ALARM
} CONTROLS TO
ALARM ANDIDR
~o- SLOW SET SLEEP RADIO CIRCUITS
~o-
.
RESET
~o- SNOOZE
10M
0- SLEEP DISPLAY
H
~
.
10H
T2/24 HOURS
,,+,~,~
10H H TOM M
.
VDD
> > GAS DISCHARGE
DISPLAY
!
60Hz
. . . .
" .r
IN LINE FREn.
TOOk AMI AMI
b c d I 9 PM COLON b c d I 9 PM COLON
H~""
TM(x9)
II
II
II
TOk II
II
II
II
VSS -T50
II
II t.
-190
II
II
II
II 4.7k
VSS= OV II
VOO = -2TV TO -29V II rv
II II
2N5 08)
-40V t. -45V
T50V
(xg) ......
~I-
820
'·20
s:
Clocks s:
U'1
W
-..J
U'1
X
X
en
(t)
~.
(t)
en
MM5375XX series clocks
general description
MM5375XX series clock is a monolithic MOS integrated
circuit utilizing P-channel low threshold enhancement-
mode and ion-implanted depletion-mode devices_ It
provides all the logic required to give a 4 or 6-digit
•
•
•
Brightness control capability
No illegal time display at turn-on
Simple interface to gas discharge displays and LED's
III
• Internal digit multiplex oscillator
12-hour or 24-hour display from a 50 or 60 Hz input_
An auxiliary counter allows various options. Available • Leading zero blanking
options have been listed under features. Power failure • Activity indicator
indication is provided to inform the user that incorrect • 4 to 6-digit operation
time is being displayed. Setting time cancels this indica- • Available options t
tion. MM5375XX is available in a 24-lead dual-in-line
epoxy package.
application
• Alarm clocks
features • Desk clocks
• Single power supply • Automobile clocks
• Low power dissipation • Industrial clocks
• All counters resettable • Date clocks
• Fast and slow set controls • Minute timer clocks
• Power failure indication • Seconds timer clocks
Dual-in-Line Package
r"~
10m} DIGIT OPTION NAME
FEATURE FUNCTION
·········
23 OUTPUTS AA AB AC AO AE AG AH AI AJ
10MIN 2- ~lSEC
Input Frequency 60 Hz
OIGIT
· · · · · · · · ··
50 Hz
OUTPUTS. J
1 HR ...;... r2!- 8TH SEG OUT Time Display 12-Hour
···· ···
24-Hour
10HRS ~ r1!- BRIGHTNESS CON Auxiliary Counter Alarm Counter
Date Counter
~
·· ·· ··
VOO .l. MUXOSC Minute Timer
Second Timer
AUX COUNTER DIS ..!. ~B Alarm Signal Tone * N/A N/A N/A N/A
·· · ··
DC Level N/A N/A N/A N/A
ALARM "OFF" ..!.. ~C Alarm Output Modulated at 2 Hz N/A N/A N/A N/A
·· · ··
Not Modu lated N/A N/A N/A N/A
Alarm at Power Failure "ON" N/A N/A N/A N/A
ALARM OUTPUT ..!. r!!-A
·· ·· · · · · · ·
·
"OFF" N/A N/A N/A N/A
Segment Output Polarity VSS for Display
SLOW SET .2.. ~D SEGMENT
OUTPUTS VOD for Display
· ···
AM or PM Indication "OFF" During Time Display N/A N/A N/A N/A
FASTSET .!!!. ..!;.E
Displayed at All Times N/A N/A N/A N/A
60 Hz INPUT
VSS
.!!..
.2l..
..!!.F
..!!.G
8th Segment Blanked
During Alarm Display
Yes
No
TOPVIEW
1-21
(/)
CD
'': absolute maximum ratings
CD
en Voltage at Any Pin VSS + 0.3V to VSS - 30V
;
Voltage at Any Display Output Pin VSS + 0.3V to VSS - 55V
X --
X Operating Temperature -25"C to +70°C ,-, - ~., .. ". .' ;
Ln Storage Temperature -65°C to +150°C
"
M
Ln
Lead Temperature (Soldering, 10 seconds) 300°C
~ electrical characteristics
~ T A within operating range, VSS = OV, VDD = -21 V to -29V unless otherwise specified.
60 Hz Input
Frequency DC 50/60 30k Hz
~ogical High VSS-l.0 VSS VSS V
Logical Low VDD VDD VDD+l.0 V
functional description
A block diagram of the MM5375XX series of clocks supply. Activating Fast Set (pin 10) causes the minutes
is shown in Figure 1. The display modes are listed in counter to advance at a 60 Hz rate, thus clocking the
Table I. The functions of the setting controls are listed hours counter at a rate of 1 hour per second. Slow Set
in Table II. The following discussions are based on (pin 9) advances the minutes counter at a rate of 2 min-
Figure 1. utes per second. Activating either Fast Set or Slow Set
resets the seconds counter to zero. When Fast Set and
60 Hz Input (Pin 11): A shaping circuit is provided to Slow Set are activated simultaneously, all counters are
square the 60 Hz input (50 Hz optional). This circuit reset to 12:00 p.m. and remain in that count until Slow
allows use of a filtered sinewave input. The circuit is a Set is deactivated. The 2 time setting inputs affect only
Schmitt trigger that is designed to provide about 3V of the counters that are displayed (either the timekeeping
hysteresis. The shaper output drives a counter chain counters or the alarm counters).
which performs the timekeeping function.
Time Setting Inputs (Pins 9 and 10): The time setting 8-Segment Test (Pin 24): For testing purposes, all
control functions are affected by the application of VSS S-segment output lines may be activated by connecting
to these 2 pins, which are internally pulled to the power pin 24 (S10 digit output) to VSS.
1-22
s:
functional description (Continued) s:
CJ'1
Brightness Control (Pin 21): In LED applications, the real time matches with the alarm time, the alarm
brightness of the display may be varied by use of an comparator sets the alarm latch. This latch activates the ~
external time constant. This time constant is used in the alarm output (pin 8). The alarm will remain activated CJ'1
integrated circuit to control the pulse width or duty until the alarm "OFF" input is connected to VSS
X
X
cycle of the 6-digit enable outputs, (Figure 2). In gas temporarily. This readies the alarm latch for next com-
discharge applications, connect as shown in Figure 3. parison. To deactivate the alarm output for more than en
24 hours, the alarm "OFF" input is held at VSS for ..,
CD
Activity Indication (Pin 23): When all 6 digits are being· that long. When the alarm output is active, connecting (6'
used, it is not necessary to blink the colon to indicate pin 6 to VSS will interrupt the alarm signal for 6 to 8
en
operation of the clock, because the seconds digits pro- minutes (snooze function).
vide this information. When only 4 digits are in use, the
Sl digit (pin 23) may be connected to VSS. In this case, Auxiliary Counter: Date Counter Optiori: In this option,
the colon flashes at a 1 Hz rate. the auxiliary counter is programmed and used as a
month and day counter. The day counter counts up to
Multiplex Frequency (Pin 20): Applying an external 31 days and increments the month counter. The day
time constant to this pin allows the multiplex frequency counter rolls over from 31 to 1. The month counter
to be adjusted, (Figure 2).
SELECTED
DIGIT NO.1 DIGIT NO.2 DIGIT NO.3 DIGIT NO.4 DIGIT NO.5 DIGIT NO.6
DISPLA Y MODE
Time Display 10's of Hours Units Hours 10's of Minutes Units Minutes 10's of Seconds Units Seconds
Alarm Display 10's of Hours Units Hours 10's of Minutes Units Minutes </J </J
Date Display Month Month Date Date </J </J
Minute Timer Display 10's of Hours Units Hours 1O's of Minutes Units Minutes </J </J
Se.cond Timer Display 10's of Minutes Units Minutes 10's of Seconds Units Seconds </J </J
1-23
(/)
Q)
.~
Q)
functional description (Continued)
CJ)
TABLE II. Setting Control Functions
><
><
I!)
SELECTED DISPLAY CONTROL
CONTROL FUNCTION
MODE INPUT.
~
I!) Time Display Slow Minutes advance at 2.0 Hz rate and seconds are
~ held at a reset (00) condition
~ Fast Minutes advance at 60 Hz rate and seconds are
held at a reset (00) condition
Both Time resets to 12:00:00 p.m. (12-hour mode)
or 00:00:00 (24-hour mode)
Alarm Display Slow Alarm minutes advance at a 2.0 Hz rate
Fast Alarm minutes advance at a 60 Hz rate
Both Alarm resets to 12:00 p.m. (12-hour mode)
or 00:00 (24-hour mode)
Date Display Slow Date advances at a 2.0 Hz rate
Fast Date advances at a 60 Hz rate
Both Date count~r resets to 12 :00
Minute Timer Display Slow Mi,nutes (auxiiiary counter) advance at a
2_0 Hz rate
Fast Minutes {auxiliary counter) 'advance at a
60 Hz rate
Both Timer counter resets to 12 :00 (12-Hour mode)
or 00:00 (24-hour mode)
Second Timer Display Slow Seconds {auxiliary counted advance at a
2.0 Hz rate
Fast Seconds (auxiliary cou~ter) advance at a
60 Hz rate
Both Timer counter resets to 12:00 (12-hour mode)
or 00:00 (24-hour mode)
MULTIPLEX
TIMING
INPUT MULTIPLEX
OSCILLATOR
50/60 Hz
SELECT
50/60 H,
INPUT
SLOW SET
0---+
FAST SET
0---+
ALARM
OUTPUT
'j
OUTPUT
ORIVERS MULTIPLEXED
7SEGMENT
AUXILIARY e CATHODE
COUNTER : ORIVE OUTPUTS
OISPLAY
8th
BRIGHTNESS
CONTROL
INPUT
PULSEWIDTH
O~------------------~~I MOOULATOR CIRCUIT
1-24
functional description (Continued)
VOO
,. BRIGHTNESS CONTROL
INPUT OR MU. TlPLEX
FREQUENCY INPUT
j SOk
TVSS
FIGURE 2
150k
20k
r!-
°r~
I ~
MUX. TIMING BRIGHTNESS
ALARM
OUT 10k I?
200
III
....
I
VSS VSS
-Q" U"
SLOW SET
"'V' -
U' ALARM OFF
MMS37SAA
"
n
VD a .... VOO
4
o.OI
T I.
10H H 10M M
, ,I
.
LINE AMIPM AM/PM
50/60 Hz IN~ FREIl. COLON b c d e f 9 COLON
lOOk
b c d e f 9 lOOk (X6)
II 1.0MX7
II
II
II
II
l r
, II
II
VSS = OV II
II
VOO = -21V to -29V II
II
II
II
10M
II
0.05"F
@150V(X8)
II
~~ ~ .. ~
,. ,~ ~ r ,.. ., ~ ~ ..
f- f- -
-40VT 0
lN914(XB)
-50 V 20k (XB)
.. 33k
I'"
...AAA
4.7k
...r. 150VTO
-190V
,,,.. ~
-,o"T
Note . LED interface - common cathode LED's (NSN74R) can
be in terfaced with MM5375AB by using two OM75491 segment
drive rs, one OM75492 digit driver, eight 150.11, 1.0W resistors 1.0"F/150V 820
and a 10V power supply.
VSS 0---1 1
I
LINE
FREIlUENCY SHAPED
INPUT LINE
FREIlUENCY
1·25
functional description (Continued)
MULTIPLEX
TIMING INPUT
BRIGHTNESS
CONTROL
INPUT
DIGIT NO.6
UNIT SECS.
DIGIT NO.4
UNIT MINS.
DIGIT NO.2
UNIT HOURS 1-+-+--+------1
DIGIT NO.5
10'S OF SECS. 1-+-+--+---------....
DIGIT NO.3
10'S OF MINS.
DIGIT NO.1
10'S OF HOURS 1-+--+-_-+__________________....
ANY
SEGMENT
8TH 1-+-+--+--,
SEGMENT
'·26
Clocks
general description
MM5376XX series clock is a monolithic MOS integrated • Brightness control capability
circuit utilizing P-channel, low threshold, enhancement- • No illegal time display at turn-on
mode and ion-implanted depletion-mode devices_ It • Simple interface to gas discharge displays and LED's
provides all the logic required to give a 4 or 6-digit
12-hour or 24-hour display from a 50 or 60 Hz input. • Internal digit multiplex oscillator
An auxiliary counter allows various options. Available
options have been listed under features. Power failure
indication is provided to inform the user that incorrect
time is being displayed. Setting time cancels this indica-
•
•
•
Leading zero blanking
Activity indicator
4 to 6-digit operation
II
• Available options t
tion. MM5376XX is available in a 24-lead dual-in-line
epoxy package.
application
• Alarm clocks
features
• Desk clocks"
• 50 or 60 Hz operation • Automobile clocks
• Single power supply • Industrial clocks
• Low power dissipation • Two time zone clocks
• All counters resettable • Date clocks
• Fast and slow set controls • Minute timer clocks
• Power failure indication • S~conds time r clocks
OPTION NAME
Dual-In-Line Package FEATURE FUNCTION
AA AB AD AE AG AH
Input Frequency 60 Hz
·· ·· ·· ·· ·· ··
r"~
~10SEC
28 } DIGIT
50 Hz
······
27 OUTPUTS
10MIN..l r 1SEC Time Display 12-Hour
DIGIT 3
~ ~8THSEG OUT 24-Hour
·· ··
OUTPUTS 1 HR
VOO ..!.
~
~
BIRGHTNESS CON
MUXOSC
Minute Timer
Second Timer ··
AUX COUNTER OISP...!.. ~B Alarm Signal Tone*
DC Level ·· · N/A
N/A
N/A
N/A
N/A
N/A
ALARM "OFF"-1.
ALARM OUT....2.
~C
.!2.A
Alarm Output Modulated at 2 Hz
Not Modulated ·· · N/A N/A
N/A" N/A
N/A
N/A
·· ·· · ." · ·
FAST SET..!!
Segment Output Polarity VSS for Display
50/60 Hz IN....!!. .!!..E
VDD for Display
50/60 HZSEL....!l 2!..F
AM or PM Indication "OFF" During N/A
~G
· ··
VSS..!! Time Display
Displayed at N/A
TOP VIEW All Times
N/A N/A N/A
·· ·
8th Segment 81anked Yes
Note 1: 50 Hz input at pin 12 connect pin 13 to V DO.
During Alarm Display No N/A N/A N/A
Note 2: 60 Hz input at pin 12 connect pin 13 to V 55.
*Tone is '16 multiplex frequency
Order Number MM5376XXN
See Package 23
1-27
absolute maximum ratings
Voltage at Any Pin VSS + 0.3V to VSS - 30V
Voltage at Any Display Output Pin VSS + 0.3V to VSS - 55V
Operating Temperature -25°C to +70°C
Storage Temperature -65°C to +150°C
Lead Tenipe~ature (Soldering, 10 seconds) 300°C
electrical characteristics
T A within operating range, VSS = OV, VDD = -BV to -29V unless otherwise specified.
functional description
A block diagram of the MM5376XX series of alarm allows use of a filtered sinewave input. The circuit is a
clocks is shown in Figure 1. The two display modes are Schmitt trigger that is designed to provide about 3.0V
listed in Table I. The functions of the setting controls of hysteresis. The shaper output drives a counter chain
are listed in Table II. The following discussions are which performs the timekeeping function.
based on Figure 1.
50 or 60 Hz Select (Pin 13): 50 or 60 Hz input at pin
12 is selected by pin 13. 50 Hz operation is selected by
50 or 60 Hz Input (Pin 12): A shaping circuit is pro: connecting pin 13 to VOD (pin 6) and 60 Hz operation
vided to square the 50 or 60 Hz input. This circuit is selected by connecting pin 13 to VSS (pin 14).
1-28
functional description (Continued)
Time Setting Inputs (Pins 10 and 11): The time setting completely, the clock will reset itself (on resumption of
control functions are affected by the application of VSS power) to a legal state, and the AM or PM and colon
to these two pins, which are internally pulled to the indicators will flash at a 2.0 Hz rate. In addition to the
power supply. Activating Fast Set (pin 11) causes the flashing AM or PM and colon indicator, if a power
minutes counter to advance at 50 or 60 Hz rate, thus failure occurs when alarm "OFF" (pin 8) is at VDD
clocking the hours counter at a rate of one hour per (logic "0"), the alarm output will be activated (non-
second. Slow Set (pin 10) advances the minutes counter activated optional). A logic "1" (VSS) on pin 8 will
at a rate of 2 minutes per second. Activating either Fast deactivate the alarm signal.
Set or Slow Set resets the seconds counter to zero. When
Fast Set and Slow Set are activated simultaneously, all 8-Segment Outputs (Pins 15-17, 19-22 and 26): These
counters are reset to 12:00 p.m. and remain in that outputs contain multiplexed information for the display
count until Slow Set is deactivated. The two time setting of 7-segment numerical readouts. The eighth segment
inputs affect only the counters that are displayed (either is for the activation of AM/PM and colon(s) as included
the timekeeping counters or the alarm counters). in the gas discharge displays for which these outputs are
SELECTED
DIGIT NO.1 DIGIT NO.2 DIGIT NO.3 DIGIT NO.4 DIGIT NO.5 DIGIT NO.6
DISPLAY MODE
Time Display 10's of Hours Units Hours 10's of Minutes Units Minutes 1O's of Seconds Units Seconds
Alarm Display 1O's of Hours Units Hours 1O's of Minutes Units Minutes <t> <t>
Date Display Month Month Date Date q;, <t>
Minute Timer Display 10's of Hours Units Hours 10's of Minutes Units Minutes q;, q;,
Second Timer Display 10's of Minutes Units Minutes 10's of Seconds Units Seconds rt> q;,
1-29
functional description (Continued)
Time Display Slow Minutes advance at' 2.0 Hz rate and seconds are
held at a reset tOO) condition
Fast Minutes advance at 60 Hz rate and seconds are
held at a reset tOO) condition
Both Time resets to 12:00:00 p.m. (12·hour mode)
or 00:00:00 (24-hour mode)
Alarm Display Slow Alarm minutes advance at a 2.0 Hz rate
Fast Alarm minutes advance at a 60 Hz rate
Both Alarm resets to 12:00 p.m. (12-hour mode)
or 00:00 (24-hour mode)
Date Display Slow Date advances at a 2.0 Hz rate
Fast Date advances at a 60 Hz rate
Both Date counter resets to 12:00
Minute Timer Display Slow Minutes (auxiliary counter) advance at a
2.0 Hz rate
Fast Minutes (auxiliary counter) advance at' a
I 60 Hz rate
Both Timer counter resets to 12:00 (12-Hour mode)
or 00:00 (24-hour mode)
Second Timer Display Slow Seconds (auxiliary counter) advance at a
2.0 Hz rate
Fast Seconds (auxiliary counter) advance at a
60 Hz rate
Both Timer counter resets to 12:00 (12-hour mode)
or 00:00 (24-hour mode)
VSS
0-+
VOD
0-+
MULTIPLEX
TIMING
INPUT MULTIPLEX
OSCILLATOR
50/60H.
SELECT
50/60 H.
INPUT
SLOW SET
0---+
10',HRS J
FAST SET
0---+ ~::MINS ~~G~~E
ALARM MINS. ORIVE
OUTPUT 10', SECONOS OUTPUTS
ALARM OFF MULTIPLEXED SECONDS
INPUT
'j
CODE
CONVERTER
AND
OUTPUT
DRIVERS
MULTIPLEXED
7SEGMENT
AUXILIARY , CATHODE
COUNTER : ORIVE OUTPUTS
DISPLAY
8th
BRIGHTNESS
CONTROL
INPUT
0---------------------., PULSEWIDTH
MODULATOR CIRCUIT
1-30
s:
functiona I descri ption (Continued) s:
0'1
VOO W
-...J
en
BRIGHTNESS CONTROL
INPUT OR MULTIPLEX
FREOUENCY INPUT
j SOk
X
X
en
..,
(l)
(ii'
TVSS
(/)
FIGURE 2
lS0k
20k
1-
°r~ [~
,, MUX. TIMING BRIGHTNESS
ALARM
OUT 10k
f?
200
II
I
VSS VSS
"'V' -V'
SLOW SET
RESET
"1.J' V" FAST SET VOO
o.OlT~
10H H 10M M IDS
,
II
10M
J L
O.OS~F
@lS0V(X8)
II
U ., ,. ., ,. ~ ,. ., , ., ., ~ .,~
f- f- F-
-40VT 0 lN914 (X8)
-50 V 20k (X8)
~-lS0VTO
...
r
33k
4.1k -190V
Note . LEO interface - common cathode LEO's (NSN74R) can
be in terfaced with MM5376AB by using two OM75491 segment
drive rs, one OM75492 digit driver, eight 150.11., 1.0W resistors
and a 10V power supply.
VSS
1.0~F/lS0V
0----1 1
I
' ' ' '1 820
LINE
FREQUENCY SHAPED
INPUT LINE
FREQUENCY
1-31
functional description (Continued)
MULTIPLEX
TIMING INPUT
BRIGHTNESS
CONTROL
INPUT
DIGIT NO.6
UNIT SECS.
DIGIT NO.4
UNIT MINS. f--+-+--+.....
OIGIT NO.2
UNIT HOURS I--+-+---+-----~
OIGIT NO.5
IO'S OF SECS. 1--+-+-_-+-_________..1
DIGIT NO.3
IO'S OF MINS. 1--+-+-_+_____________......
DIGIT NO. I
IO'SOF HOURS 1-+-+-_+_________________---1
ANY
SEGMENT
8TH 1-+--+---+--....
SEGMENT
1-32
Clocks
general description
The MM5377 Auto Clock is a monolithic MOS integrated II Leading zero blanking
circuit utilizing P-channel low-threshold, enhancement II Hours and minutes set controls
mode and ion-implanted depletion mode devices. The II Crystal tuner output
circuit interface~ directly with liquid crystal 4 digit
II
II Voltage doubler control output
displays and fluorescent tubes. The display format is II Elimination of illegal time display at turn-on
12 hours with leading-zero blanking and colon indication.
II Direct interface to liquid crystal display
A voltage sensitive output is provided that drives an
energy storage network wh ich performs as a voltage II Direct interface to fluorescent tubes
doubler/regulator. The circuit uses a 2 MHz crystal II Low standby power dissipation
oscillator as the reference time base and is packaged in
a 40 lead dual-in-line package.
applications
features
II Automobile clocks
II Crystal controlled oscillator (2.097152 MHz) II Desk clocks
II 12 hour display format II Portable clocks
II Colon output II High accuracy clocks
40
LX BACKPLANE IGNITION INPUT
39
10 HOURS SET HOURS
38
HOURS AI Voo
31
HOURS FI SET MINUTES
36
HOURS GI MOOE SELECT
35
HOURS EI TIME TEST INPUT
34
HOURS 01 OSC 1
33
HOURSCI OSC2
32
HOURS Bl Fas<;/2
31 VOLTAGE CONVERTER
COLON
30 CONTROL
10 MINUTES A2 Voo
29
10 MINUTES F2 CONVERTER ORIVE
28
10 MINUTES G2 NC
10 MINUTES E2 Vss
26
IGNITION 0 - - . IGNITION 10 MINUTES 02 VOL TAGE MONITOR
AMP. 25
10 MINUTES C2 NC
24
10MINUTES82 MINUTES 03
23
MINUTES F3 MINUTES C3
22
MINUTES G3 MINUTES B3
20 il
MINUTESE3 MINUTES A3
TOPVIEW
Vsso--
Voo 0 - - - Order Number 5377N
VGOO--
10'SMIN
See Package 24
HOURS MINUTES
SEGMENTS SEGMENTS SEGMENTS
FIGURE 1. FIGURE 2.
1-33
absolute maximum ratings
electrical characteristics
TA within operating range, Vss = +9V to +20V, Voo = OV, VGG = -1OV, unless otherwise specified.
OUTPUT CURRENTS
1-34
functional description
A block diagram of the MM5377 auto clock is shown in Ignition Input (Pin 40)
Figure 1. A connection diagram is shown in Figure 2.
Unless otherwise indicated, the following discussions are The Ignition Input enables setting of the clock using the
based on Figure 1. set hour or set minute inputs, and enables the drive to
the display and the voltage doubler. When the input is
at a voltage greater than 50 percent of the Vss supply
the time set, display and voltage doubler are enabled.
Oscillator 1 (Pin 34) and Oscillator 2 (Pin 33) When the input is open circuited or at V DD, the time set,
display and voltage doubler are disabled. The display
A quartz crystal, resonant at 2.019752 MHz, two outputs and backplane drive are held to V DD when the
capacitors and one resistor, together with the internal display is disabled. This input does not affect the accu-
MOS circuits form a crystal controlled oscillator as racy of the time keeping logic in any manner.
shown in Figure 3. Varying one of the capacitors
allows precise frequency setting. For test purposes, OSC
1 is the input and OSC 2 is the output of an inverting
amplifier.
Voltage Converter Control (Pin 31)
(I
The Voltage Converter Control input enables the voltage
FOSC/2 (Pin 32) doubler to operate regardless of the state of the ignition
input when it is at V DD' When the input is open
FOSC/2 is the output of the first divide-by-two stage. circuited or at Vss , the voltage doubler is controlled by
This output allows frequency tuning of the crystal the ignition input.
oscillator without adding any additional capacitance to
the oscillator circuit_
Output Circuits
Set Hours (Pin 39) and Set Minutes (Pin 37)
The Converter Drive output and all display outputs are
push-pull stages with. sources common to V 55 (Pill 27)
Set Hours will advance the. hours at a 1 Hz rate when
and drains common to V DD (Pin 38) as shown in
the input is held at V DD . While setting hours, the minute's
Figure 5. FOSC/2 output is a open-drain stage with the
counter may also advance the hours count. Set Minutes
source common to Vssas shown in Figure 6. Figure 8
will advance the minutes at a 1 Hz rate, hold the internal
illustrates the interfacing between the clock and a liquid
seconds counter reset and cause the colon to blink at
crystal display and the clock and fluorescent tubes.
1 Hz rate when the input is held at V DD. Depressing
When driving fluorescent tubes, V GG can be connected
both switches at the same time shall cause the clock to
to V DD .
initiate a hold and not advance until the switches are
released.
1-35
,....
,....
M typical applications
LC')
~
~
v,s
MOS CIRCUIT
TO
r-4~"'-' DlVIOER
CIRCUITS
LX BACKPLANE V,,-
(32 Hz SQUAREWAVEI
V,,-------------------~------------------
MODESELECT
ON SEGMENT
V"
OFF SEGMENT
" ~"'
QWATAI-FtVSS
'" . Fosc/2
(DPEN DRAINI
'·36
typical applications (con't)
VOLTAGE
VSS~
MONITOR --.A-
voo ---=-=LO:.:G:.:IC..:.ON::..:E~_--=::,_:--_ _ _
IGNITION VSS~
INPUT
Voo
CONVERTER DRIVE
OUTPUT (65 kHll
II
MM5317
~
~URS
2mH
BATTERY _+_-I
O-:+....J-y--'rY""'-.... 1---41---+111--"
27V
GNDo-----~~-4~----~-----~~--~----~
IGNITION o----------------------"IMr---------------...I
lOOk Sl OPEN LC DISPLAY
Sl CLOSED FT DISPLAY
'-37
Clocks
general description
The MM5378 and the MM5379 auto clocks are • Leading-zero blanking
monolithic MOS integrated circuits utilizing P-channel • Hours and minutes set controls,
low-threshold, enhancement mode and ion-implanted
• Brightness control capability
depletion mode devices_ The MM5378 circuit interfaces
with vacuum fluorescent 4-digit displays. The MM5379 • No illegal time display at turn-on
circuit interfaces with gas-discharge 4-digit displays. • Simple interface to vacuum fluorescent and gas
The display format is 12 hours with leading-zero discharge displays
blanking and colon indication. The time keeping '. Low standby power dissipation
function operates from a 2 MHz crystal controlled or
externally appl ied source.
applications
features
• Automobile clocks
• Crystal-controlled oscillator (2.097152 MHz) • Desk clocks
• 12-hour display format • Portable clocks
• Blinking colon output • High accuracy clocks
b, 1
MULTIPLEXEO 2
SEGMENT C :: : } MULTIPLEXE'D
OUTPUTS { • 3
16 f ~~;~~~~
15
COLON 9
MM5378 OR 14
OSC 2 SWITCH IN
MM5379
OSC 1 13 VDD
BRIGHTNESS' 7
12 H1 } DIGIT ENABLE
INPUT
11 OUTPUTS
H10
DIGIT ENABLE {M1 B
OUTPUTS M10 9 10
VSS
TOPVIEW
Order'Number MM5378N
or MM5379N
See Package 20
block diagram
M1
M1D
H1
H10
BRIGHTNESS COLON
INPUT
VSSo-.
FIGURE 1.
1·38 .
absolute maximum ratings
Voltage at Any Pin VSS + 0.3V to VSS - 25V
Voltage at Any Display Output or VSS + 0.3V to VSS - 55V
Switch Input Pin (MM5379 Only)
Operating Temperature -40°C to +85°C
Storage Temperature -65°C to +150°C
Lead Temperature (Soldering, 10 seconds) 300°C
electrical characteristics T A within operating range, VSS = 9V to 20V, VDD = OV, unless otherwise specified.
VSS-1.5
2.097152
VSS
2.1 MHz
V
ill
Logical Low Level VSS-5.5 V
Switch In Voltage (MM5378)
Logical High Level Internal Depletion Device to VSS-1.5 . VSS VSS V
Logical Low Level VSS VDD VSS~5 V
Switch In Voltage (MM5379)
Logical High Level Internal Depletion Device to VSS-5 VSS V
Logical Low Level VSS VSS-25 V
Output Currents (MM5378)
Digit Outputs
Logical High Level VOH = VSS - 1V 8.0 mA
Logical Low Level VOL = VDD 40 J.l.A
Segment Outputs
Logical High Level VOH = VSS - 1V 2.0 mA
Logical Low Level VOL = VDD 10 p,A
Output Currents (MM5379)
Digit Anode Outputs
Logical High Level VOH=VSS-5V 8.0 mA
Logical Low Level VOL = VSS - 45V 40 J.l.A
Segment Cathode Outputs
Logical High Level VOH=VSS-5V 2.0 mA
Logical Low Level VOL = VSS - 45V 10 J.l.A
Note 1: These are the input levels required if an external oscillator input is preferred, using Osc. 2 (pin 5) as the input while holding Osc. 1 (pin 6)
to VSS. '.
functional description
A block diagram of the MM5378 and the MM5379 Time Setting: Tim!! setting is accomplished via the
auto clocks is shown in Figure 1. Connection diagrams switch input pin. If this input is a logic high during the
for these devices are shown on the' front page. Unless M1 digit time, the minutes counter will advance at a
otherwise indicated, the following discussions are based 2 Hz rate with no carry to hours counter and will also
on Figure 1. cause seconds counter to reset. If the switch input is a
logic high during the M10 digit time, the hours counter
Crystal Oscillator: A quartz crystal, resonant at will advance at a 2 Hz rate, minutes and seconds counter
2.097152 MHz, two capacitors and one resistor, together will continue in real time. If the switch input is a logic
with the internal MOS circuits form a crystal-controlled high during H 1 digit time, seconds, minutes, and hours
oscillator as shown in Figure 2. Varying one of the counters will reset to 12:00:00. If this input is a logic
capacitors allows precise frequency setting. For test high during Hl0 digit time, a test m.ode will exist in
purposes, Osc. 1 is the input and Osc. 2 is the output which the minutes counter will advance at a 65.536 kHz
of an inverting amplifier. rate with carry to hours counter (see Figure 3). An
1-39
functional description (Continued)
VSS voltage(s) for a short time during inter·digit transitions,
or (2) avoid physical adjacent inter-digit transitions.
MDS CIRCUIT The MM5379 auto clock utilizes an interlaced output
TO
sequence and inter·digit blanking circuitry to prevent
..----41~..... -+ DIVIDER display arcing problems. The digit sequence is: (1) digit
CIRCUITS
no.4 (unit minutes), (2) digit no. 2 (unit hours), (3) digit
no.3 (ten's of minutes), (4) digit no. 1 (ten's of hours),
etc. Blanking intervals are provided to' recharge level·
translating capacitors located in the display segment
drive lines (Figure 6). Both segment data and digit
enables are blanked. Figure 4 is a timing diagram which
illustrates output timing for the MM5379. Figure 5 is a
FIGURE 2. Crystal Oscillator timing diagram which illustrates output timing for
the MM5378.
internal pull·up resistor to VSS provides normal time·
keeping. Brightness Control: Since display brightness is a func·
tion of cathode segment current, a capability of inter-
Output Multiplex Operation: Outputs from the appro· rupting this current for a variable percentage of the
priate internal counter are time division multiplexed at digit interval results in a brightness control. Depending
a 2048 Hz rate. The MM5378 and MM5379 provide on the magnitude of the voltage applied, the digit
12 outputs (4 digit·anode drive outputs plus 8 segment- "ON" time will vary from 0% t01 00% of its possible
cathode drive outputs). The additional "segment" drive period. in 8 1/3% increments. This is illustrated in
is provided to accommodate displays which feature a Figures 4 and 5.
colon. The colon output is switched at a 1/i Hz rate to
provide a blinking colon as a short-time indication that Output Circuits: All display output drivers, both digit
the clock is operating. and segment outputs, are open·drain enhancement
devices (Figure 6). Thus, all outputs are capable of
When driving vacuum fluorescent displays which enclose sourcing currents while external pull-downs are required
more than one digit in a common gas envelope, it is to sink currents. Figure 7 illustrates method of inter-
necessary to either (1) inhibit the segment drive facing these outputs to gas discharge displays,
"
SWITCH IN
VH
- f- 366JJs
WAVEFORM
VL I I • • • • • • • SET HOURS • • • • • • HOURS COUNTER ADVANCES AT 2 Hz RATE.
MINUTES COUNTER UNAFFECTED. COLON BLINKING.
SWITCH IN VH
-
_____IL
f--122JJs
"
SWITCH IN VH~
MORE THAN ONE • • • • • • • REAL TIME' ••• ~ • NORMAL TIME KEEPING.
WAVEFORM VL COLON BLINKING.
vH
SWITCH IN HELO AT VH NORMAL TIME KEEPING.
WAVEFORM VL • • • • • • • REAL TIME • • • • • •
COLON BLINKING.
VH
SWITCH IN TIME SET AND HELD AT 12:00:00.
• • • • • • • • RESET' • • • • • •
WAVEFORM COLON HELD "ON ".
VL
HELO AT VL
1-40
s:
functional description (Continued) s:CJ1
eN
"-J
CO
s:
V-
DIGIT NO.1
UNIT MINS
VSS s:CJ1
eN
"-J
VSS DIGIT NO.2 VSS to
V- UNIT HOURS V-
VSS
ON BRIGHT
100%
33.3%
1 ANY
SEGMENT
! BRIGHT
100%
33.3%
ii
I!
BRIGHT BRIGHT
ON ON ON ON ON
VSS-
-- '00"
ON BRIGHT
COLON '00"
BRIGHT
FIGURE 4. MM5379 Output Timing Diagram FIGURE 5. MM5378 Output Timing Diagram
MM5378 MM5379
VSS VSS
n (DATA) n (DATA)
TYPICAL DIGIT
o----1~OR SEGMENT
(OPEN DRAIN) OUTPUT
TYPICAL DIGIT
o---i'" OR SEGMENT
(DPEN DRAIN) OUTPUT
1-41
functional description (Continued)
nor-
2.097152 MHz
22M
-A
- .
T~
~6
sl2t.
LAMP
VOLTAGE lOOk
BRIGHTNESS 7 5
--11-::!:- I 300k SET
MIN.
S 14 SWITCH IN Iy
SET
HOURS -iIy6
10 OSC 1 OSC2 8
VSS Ml
27V ~
~1"F~ MID
9 1
35V_T
13 12
VO~ HI
MM5379
11
150 HID
I
-;:-
112W
. ,f I I
HID HI MID
., .I
. 3
b
1
c
2
d
18
.
17
f
16
g COLON
15 4
lOOk . b c d .
GAS OISCHARGE DISPLAY
f g COLON
1M
IN4 003~~ II
II 820k
II
+0 - II 820k
BAT TERY II
II 1M
/I
II 1M
NO II
II
~
1M
II
II 1M
II
II 10M
15k
>
II
0.05,)
150V
I ,.,
~~ ~ ~~ "-- ~~ ~~ ~~ ... -'-
, ."
22k
Vss - 45V ..... 1
"'1
I"F~
IN914
IN4003
IG NITION
+ 1liio....i
......
.A
10
~-L . 1 820
~
OOI"F
.:L
T
MI
~
.11:T 2N5081
......
4.7k
3 ..... VSS-180V
......
r---
.,
~
;-42
Clocks
general description
The MM5382 and MM5383 digital calendar clock • Leading zero blanking
circuits provide the timing, control, and interface • ~4-hour alarm setting
circuitry for a minimum-cost, solid state, digital clock
• Power failure indication (the word "OFF" is displayed
radio_
in MM5382 and all "ON" digits blink in MM5383
II
or a 24-hour mode. The MM5382 is the 12-hour version, • Date display (4 year calendar)
and has a month-date format;the MM5383 is the 24-hour • Presettable 59-minute sleep timer
version, and has a date-month format. • Alarm display
• Fast and slow set sleep and alarm
Outputs consist of a presettable 59-minute sleep timer
• 9 minute snooze alarm
(e.g_, a timed radio turn-offl and an alarm tone. A power
failure indication warns the user that the time displayed • Blinking colon
may be in error. • Alarm "ON" indication (MM5382 only)
• Alarm tone output
Other features include: alarm display; brightness control; • No illegal time or date display at turn-on
24-hour 'alarm set; PM indication; fast and slow set
controls; and a 9-minute snooze alarm. (The MM5383
has an alarm "ON" indicator.) Both circuits provide applications
open drain outputs for the direct drive of LED displays
to 15 mAo • Alarm clock
• Desk clock
• Clock radios
features
• Stop watch
• 50 or 60 Hz operation • Industrial clock
• 12 hour, month-date (MM5382) or 24 hour, date- • Portable clock
month (MM5383) display • Timer
• PM indication (MM5382) • Sequential controllers
connection diagrams
Dual·1 n-Line Package Dual-I n-Line Package
NC 10 HRS -,
PM 10 HRS-g
NC HR -, 10 HRS-, HR -,
BRIGHTNESS REF. OUTPUT HR - d 10 HRS- b HR - d
ALARM OUTPUT HR -c BRIGHTNESS REF. OUTPUT HR -c
SLEEP OUTPUT ALARM OUTPUT
• 50/60 Hz ORIVE SLEEP OUTPUT
50/60 HzSELECT HR -, 50/60 Hz ORIVE HR -,
VSS HR -I 50/60 Hz SELECT HR -I
10
VOO COLON VSS 11 COLON
11 MM5382 MM5383 30
OATE OISPLAY/AOVANCE 10MINS - b 10MINS-b
12 VOO 12 29
ALARM ON/OFF 10MINS -. OATE OISPLAY/AOVANCE 10MINS -,
13 13 28
ALARM OISPLAY. SET/SNOOZE 10MINS -I ALARM ON/OFF 14 10 MINS-I
14 21
SEOUENCE/SLEEP OISPLAY 10MINS-g ALARM OISPLAY. SET/SNOOZE 21 10 MINS- 9
26 15 26
BRIGHTNESS REF. INPUT 15 10 MINS -, SEOUENCE/SLEEP OISPLAY 10MINS -,
16 25 16 25
ALARM "ON' INDICATOR 10MINS- d BRIGHTNESS REF. INPUT 10 MINS-d
11 24 11 24
MIN -I 10MINS -c MIN -I 10MINS -c
18 23 18 23
MIN -, MIN -, MIN -, MIN-e
19 22 19 22
MIN -b MIN - d MIN - b MIN -d
20 21 20 21
MIN -9 MIN -c MIN-g MIN -c
1·43
absolute maximum ratings'
VOltage at Any Pin except Segment, VSS +0.3V to VSS -28V
Colon, and PM
Voltage at Segment, Colon, and PM VSS +0.3V to VSS -1 OV
N Operating Temperature -25°C to +70°C
ex) Storage Temperature -65°C to +150°C
M Lead Temperature (Soldering, 10 seconds) 300°C
Lt)
Maximum Power Dissipation 1 Watt
~
Electrical Characteristics
~
T A within Operating Range VSS = +18V to +26V, VDD = OV,
with specified output drive
unless otherwise specified
Functional Clock Voltage VSS = +8V to +26V, VDD = 0
(No output drive spec)
electrical characteristics
PARAMETER CONDITIONS MIN TYP MAX UNITS
50/60 Hz Input
Frequency DC 50 or 60 30k Hz
Voltage VSS =18V
Logical High Level VSS-l VSS VSS
Logical Low Level VDD VDD VDD+l
Switch Input Voltages
(Date, Sequence, Alarm
Enable, Alarm Display)
Logical High Level VSS-l VSS VSS
Logical Low Level (1) Nominal Floating Level VSS-3 Float VSS-6 V
Logical Low Level (2) VDD VDD VDD+2 V
Vsso--
VDDo--
!
PM
ALARM DISPLAY.
SET DR SNOOlE DIGIT 4
DIGIT3
SEQUENCE OR
SLEEP DISPLAY COLON
DIGIT 2
LED LED
ALARM TONE CURRENT REF
OUTPUT CONTROL OUTPUT
FIGURE 2.
functional description
Connection diagrams for the MM5382 and the MM5383 50 or 60 Hz Select Input: A programmable prescale
Digital Clock Radio Circuits are shown in Figure 1. counter divides the input line frequency by either 50 or
A block diagram of these devices is shown in Figure 2. 60 to obtain a 1 Hz base. This counter is programmed
,Unless otherwise indicated, the following discussions to divide by 60 simply by leaving the pin unconnected; a
are based on Figure 2. Figure 3 shows the general pull-down to VDD is provided by an internal resistor.
purpose alarm clock and procedure to set the time, Operation at 50 Hz is programmed by connecting this
month, day, alarm and sleep counters. Table I shows input to VSS.
the display modes and setting control functions.
50 or 60 Hz Drive: A shaping circuit is provided to Alarm Operation: The internal alarm comparator senses
square the 50 or 60 Hz input. This circuit allows use of a coincidence between' the alarm counters (the alarm
filtered sinewave input. The circuit is a Schmitt trigger setting) and the time counters (real time). The comparator
that is designed to provide about 4 V of hysteresis. A output is used to set a latch in the alarm and sleep cir-
simple RC filter should be used to remove possible line- cuits. The alarm latch remains set for 59 minutes during
voltage transients that could either cause the clock to which time the alarm or radio will· sound if the latch
gain time or damage the device. The input should swing outputs are not temporarily inhibited by another latch
between VSS and VDD. The shaper output drives a set by the snooze input or reset by the alarm "OFF"
counter chain which performs the timekeeping function. input.
1-45
M
ex)
M functional description (Continued)
LO Alarm ON/OFF/RADIO Input: Momentarily leaving this increase - the rate at which the sleep counter is decre-
:2 input unconnected resets the alarm latch and thereby mented, also connect the Date/Advance pin to VDD.
:2 silences the alarm. This input is also used to determine The sleep counter will now decrement at a 60 Hz rate.
if the alarm or the sleep output will be enabled when the Momentarily connecting the Sequence pin to VDD steps
N alarm latch is set. By connecting the input pin to VDD, the clock through' its set modes. There are 6 states; they
ex)
M both the alarm output and the sleep output (radio) are are real time, set hours, set minutes, set month (12 hour
LO enabled when the alarm latch is set. If the input pin is model. set day (12 hour model. and the holding state.
:2 connected to VSS, only the sleep output (radio) is When real time is displayed, a momentary connection
:2 enabled when the alarm latch is set. Momentarily leaving to VDD advances the clock to the set hours state. In this
this pin unconnected also readies the alarm latch for the state, hours are displayed, minutes are blanked, the colon
next comparator output, hence, the alarm will auto· is constant, and an A or P is displayed in the unit minutes
matically sound again in 24 hours (or at a new alarm position if the clock is in the 12 hour mode. To set
setting). If it is desired to silence the alarm for a day or . hours, the Date/Advance pin is connected to V DD. The
more, the Alarm ON/OFF Radio input pin should re- next time the Sequence pin is connected to VDD, the
main unconnected. clock is advanced to the set minutes state. In this state,
the minutes are displayed, the hours are blank, the colon
Alarm Output: The alarm output signal is a tone of from is constant and the PM indication is displayed if the
400 Hz to 2000 Hz, which is gated on and off at a clock is in the 12 hour mode and set for PM. The next
2 Hz rate. . state the clock advances to is the set left state. In the
12 hour mode, this is a month set state. For the 24 hour
Alarm DisplaY,Set/Snooze: Momentarily connecting this mode, this is a day set state. In this state, the left two
pin to VDD when the alarm and sleep outputs are dis- digits of the display are shown, the colon and the right
abled displays the alarm setting for 1.5 to 2 seconds. The two digits of the display are blank. The next state the
display shows the hours and minutes of the alarm setting, clock advances 'to is the set right state. In this state,
a constant colon and a PM indication if the clock is in the day in the 12 hour mode or month in the 24 hour
the 12 hour mode. If the input pin is held to VDD for mode is displayed in the right two digits of the display.
longer than 2 seconds, the minutes of the alarm counter
start to advance at a 2 Hz rate. To increase the rate that PMOOT
•
~~~ ~~~
the alarm counter is set at, also connect the Date/
Advance input pin to VDD. The minutes of the alarm ~~~ ~c=J~ 0
~c=J~ ~:~
alarm are set to 12:00 AM, the date is set to the 12th 0
month and the 1st day, and the sleep counter is set to
sETMINUTES
~ ~
00 minutes. If the Alarm Display, Set/Snooze is at VSS,
all outputs and inputs are disabled except 50/60 Hz 0
Select and 50/60 Hz Drive.
~ ~:
minutes. The time interval is chosen by selecting the
SET DATE
sleep display mode and setting the desired time interval. MM5383
1-46
s:
functional description (Continued) s:CJ1
The left two digits and colon are blank. The next transi- Alarm Indication Output: Whenever the alarm is enabled, W
tion on the Sequence input displays real time if the the Alarm Indicator output is turned on. It is used to CO
minutes were not set. If the minutes counter was set, indicate to the user that the alarm has been set. N
the next state the clock advances to is the holding state.
In this state the time and the colon are blinking at a PM Output: The PM Output is available only in the s:
2 Hz rate and held to the set time. To leave the holding
state, the Sequence Input is connected to VDD momen-
MM5382. This output is enabled only when time or
alarm are displayed.
s:
CJ1
tarily. If the clock remains in any state except the w
CO
holding state for more than 10 seconds without being Power Failure Indication: If the power to the integrated W
set, the clock will automatically advance to real time or circuit drops, indicating a momentary ac power failure
the holding state if minutes were set. and possible loss of the correct time, in the MM5382
the word 'OFF' is displayed blinking at a 2 Hz rate, in
Note: Time set mode should not be initiated while in the MM5383 all the 'ON' segments blink at 2 Hz rate
alarm or sleep display 2 second time out. Time set mode and the colon is blank. Momentarily connecting the
should be sequenced only when the clock displays real Alarm Display Set/Snooze input to VDD displays first
time.' the alarm for 1.5 to 2 seconds and then real time. In
addition, if the alarm was "ON" the Alarm "ON/OFF"
Date/Advance Input: If left open, this input has no input should also be momentarily connected to VDD.
effect on the clock. Momentarily connecting this pin t'o
VDD displays' the date for 1.5 to 2 seconds if the clock LED CURRENT CONTROL INPUT AND
was not in a set state. If after 2 seconds the input pin is REFERENCE, OUTPUT
still at VDD, the date remains displayed until the input
pin is released. If the Date/Advance pin is connected to Pin (15) MM5382, pin (16) MM5383 controls the gate
VDD when the clock i~ in a set mode, the counter dis- voltage at all the display outputs and the reference device.
played will advance at a 2 Hz rate until the pin is' released. The output drives can be disabled by connecting pin 15
Connecting this input pin to VDD when the sleep counter MM5382, 16 MM5383 to VSS. This wire-OR capability
or the alarm counter is displayed advances the displayed allows the display to be used for other functions (e.g.,
counter at a 60 Hz rate. If the Date/Advance pin is con- temperature). The output current can be controlled two
nected to VSS, ,the seconds counter is bypassed and ways; 1) driving the output in saturated mode; 2) driving
minutes counter advances at a 1 Hz rate. the output in linear mode. (Refer to Figures 4 and 5.)
1. The reference device pins (4, 15) MM6382 (5, 16)
Colon: The colon output blinks at a 1 Hz rate in the run MM5383 are connected as diodes and an external
mode. It is constant during set hours and minutes, and resistor'is used to set the desired current in these
alarm display. The colon is blank for date display. 'The diodes (see Figure 4). The segment drivers of all
colon blinks at a 2 Hz rate in the holding state. digits are connected as current mirrors. The drain
10SECONOS 10SECONOS
(AOVANCE FLOATING) (AOVANCE flOATING)
10 SECONOS 10 SECONOS
(AOVANCE FLOATING) (AOVANCE flOATING)
"AOVANCE" "AOVANCE"
AT vilo AT VOO
SETS AT SETS AT
10SECONOS 2 Hz RATE 10SECONOS 2 Hz RATE
(AOVANCE flOATING) (AOVANCE flOATING)
10SECONOS 10SECONOS
(AOVANCE FLOATIN'G) (AOVANCE flOATING)
NO NO
SEQUENCE SEQUENCE
Time and Date Set Flow Chart Time and Date Set Flow Chart
MM5382, 12-Hour Mode MM5383, 24-Hour Mode
1-47
functional description (Continued)
voltage V1 of the segment drivers is selected such Clock Set Up Procedure: (MM5382)
that these. devices operate in saturation mode. 1. Connect 110V supply.
Since the drain current variation in saturation 2. Blinking 'OFF' displayed.
mode operation of the MaS device is relatively 3. Momentarily connect alarm display set/snooze pin
constant, the segment drive current does not vary (13) to VOO which removes "OFF" and displays
significantly, even though V1 is increased con· first the alarm for 1.5 to 2 seconds, then real time.
siderably. However, as the voltage across the output 4. Momentarily connect alarm "ON/OFF" to VSS.
buffers increases, average power dissipation also 5. Wait till the colon starts blinking. (Approximately
increases linearly. This technique of current control 2 seconds.)
is recommended to be used only with low current 6. Time setting
LEOs (1-7 mAl. a. Momentarily connect sequence pin (14) to VOO
display shows hour and AM or PM. Connect
advance pin (111 to VOO to advance hour.
2. The high current drive requirement of large LED b. Connect pin (14) momentarily to VOO display
displays can be accomplished by operating the shows minutes, connect pin (11) to VOO and
segment drivers in the linear mode. The circuit set minutes.
for·· high current LED drivers is shown in Figure 5. C. Connect pin (14) momentarily to VOO display
The reference output device is used in series with shows month, connect pin '(11) to VOO and
a reference LED, diode and current setting resistor., set month.
A high beta PNP transistor provides the current d. Connect pin (14) momentarily to VOO display
drive for all the segments. A reference voltage' V3 shows date, connect pin (11) to VOO and set
is 'developed which compensates for variations in date.
MaS process parameters and the variations in the e. Connect pin (14) momentarily to VOO and the
voltage drop across the LED. The resistor ~ets the real time is displayed at2 Hz rate.
current in the reference LED which sets the f. Connect pin (14) momentarily to VOO again
referen'cevoltage V3 which in turn sets the current and real time is displayed continuously.
in the LEOs equal to resistor current minus the . 7. Alarm setting
base current of the transistor. Variation in second a. Connect alarm display pin (13) to VOD and
supply voltage does not vary the LED currents so hold it for more than 2 seconds .. Alarm minutes
long as the PNP transistor is kept operating in the will advance at slow rate.
linear mode. Full wave rectified power supply b. Connecting pin (11) and pin (13) to VOO
without any filtering can be used as a second simultaneously will advance the alarm time at a
supply voltage V2. The LED brightness can be fast rate.
varied by using a variable resisto'r. C. Set the desired alarm time.
8. Sleep time setting
a. Connect, sleep display, pin (14) to VSS and
Figure 6 shows a LED drive circuit which uses a single hold it for more than 2 seconds. Sleep time will
resistor. The resistor controls the total current flowing decrement at slow rate.
through all the segments. Brightness shall vary depending b. Connecting pin (11) and pin (14) to VOO
on number of segments that are "ON" at that time. simultaneously will decrement the sleep time at
a fast rate.
C. Set the desired sleep time.
Radio Frequency Interference: All display outputs in- 9. Connect pin 12 to VOO to activate alarm.
clude circuitry to slow up the switching transition time Note: Time and date setting must be done only in the
to minimize radio frequency interference. real time display mode.
)
\
".
.....
FIGURE 3. Calendar Alarm Clock Using the MM5382 and a LED Display
'-48
· s
functional description (Continued) sCJ'I
eN
CO
N
VOO 12 s
;;(
sCJ'I
OUTPUT
DRIVER
..s 10
eN
OPERATING ....!:." CO
i... eN
Vss------~~---r------~
CONTROL
LOGIC
""LS
FIGURE 4(a). Low Current LED Drive Control Circuit (1-7 rnA)
-Vl
""
!
-3
Voo
""~ -Vl 20
o
o -5 -10 -15 -20 -25 -30
FIGURE 5(a). High Current LED Drive Current Circuits (7-15 rnA) FIGURE 5(b). RON vs VDD (VDS at -1V)
(Typical Output Characteristics)
VLEO SUPPL Y
CURRENT
R LIMITING
VOO RESISTOR
lfs:~
100 I--jr---t-~----::~-+---+-~'l-l
r-V-- /
r-----
IIN,\ I.
/ v,,-1.r:: ~~ -
L \ voo
V t I 1-
Vee
'-49
Clocks
general description
The MM5384 digital clock radio circuit is a monolithic • 24-hour alarm setting
MOS integrated circuit utilizing P-channel low-threshold, • All counters are resettable
enhancement mode and ion-implanted depletion mode
• Fast and slow set controls
devices. It provides all the logic required to build several
types of clocks and timers. Four display modes (time, • Power failure indication
seconds, alarm and sleep) are provided to optimize • Blanking/brightness control capability
circuit utility. The circuit interfaces directly with 3 1/2 • Elimination of illegal time display at turn-on
digit 7-segment LED displays. The timekeeping function • Dir~ct interface to 0.5" LED displays
operates from either a 50 or 60 Hz input, and the • 9-minute snooze alarm
display format is 12 hours (with leading-zero blanking
• Presettable 59-m inute sleep timer
and AM/PM indication) or 24 hours. Outputs consist of
display drivers, sleep (e.g., timed radio turn-offl. and
alarm enable. Po'wer failure indication is provided to
inform the user that incorrect time is being displayed. applications
Setting the time cancels this indication. The device
• Alarm clocks
operates over a power supply range of 8-26V and does
not require a regulated supply. The MM5384 is packaged • Desk clocks
in a 40 lead dual-in-line package. • Clock radios
• Automobile clocks
features • Stopwatches
• Industrial clocks
• 50 or 60 Hz operation
• Portable clocks
• Single power supply
• Photography timers
• 12 or 24 hour display format • Industrial timers
\,
50/60 HZ
INPUT PM OUT
COLON (I H,)
12124 HR SELECT
BLANKING IN
50/60 H,SELECT
50/60 H,IN
TO 10'S 10MINS-b
OF MINS
plGIT 10MINS-e
ALARM OFF IN 10MINS-c
ALARM OUT MINS-f
19-25
SLEEPOIS ~,;",-.----------------~ TO MINS SNOOZE IN
ALA~~ o-:-'o::-________________ ~ DIGIT OUT COMMON SOURCE
19
SECOND~~ O-"g-----------------~ MINS-c
20
MINS--b
MINS-d MINS-.
BLANKING 4 BLANKiNG
INPUT B DETECTOR
TOP VIEW
SLDWSET~
FIGURE 1. FIGURE 2
1-50
absolute maximum ratings
Voltage at Any Pin Except Segment Outputs VSS + 0.3 to VSS - 30V
Voltage at Segment Outputs VSS + 0.3 to VSS -15V
Operating Temperature -25°C to +70°C
Storage Temperature -65°C to +150°C
Lead Temperature (Soldering, 10 seconds) 300°C
electrical characteristics
T A within operating range, VSS = 24V to 26V, VDD = OV, unless otherwise specified.
Note 1: Segment Output Current must be limited to 6 mA maximum by user; power dissipation must be limited to 900 mW at 70°C and 1.2W
at 25°C.
Note 2: Power fail detect voltage is 0.25V or more above the hold count voltage. The power fail latch trips into power fail mode at least O.25V
above the voltage at which data stored in the time latch is lost.
1·51
functional description
A block diagram of the MM5384 digital clock radio (Figure 4). Common source pin should be connected
circuit is shown in Figure 1. The various display modes to VSS.
provided by this clock are listed in Table I. The
functions of the setting controls are listed in Tabie II. 12 or 24-Hour Select Input: By leaving this pin uncon-
Figure 2 is a connection diagram. The following dis· nected, the outputs for the most-significant display digit
cussions are based on Figure 1. (1 D's of hours) are programmed to provide a 12-hour
display format. An internal pull-down depletion device
50 or 60 Hz Input: A shaping circuit (Figure 3) is pro· is again provided. Connecting this pin to VSS programs
vided to square the 50 or 60 Hz input. This circuit the 24-hour display format. See Figure 6 for 24-hour
allows use of a filtered sinewave input. The circuit is a appl ication.
Schmitt trigger that is designed to provide about 6V of
hysteresis. A simple RC filter such as shown in Figure 5, Power Fail Indication: If the power to the integrated
is recommended in order to remove possible line-voltage circuit drops, indicating a momentary ac power failure
transients that could either cause the clock to gain time and possible loss of clock, the AM or PM indicator will
or damage the device. The shaper output drives a counter flash at 1 Hz rate. A fast or slow set input resets an inter-
chain which performs the timekeeping function. nal power failure latch and returns the display to nor-
mal.
50 or 60 Hz Select Inputs: A programmable prescale
counter divides the input .Iine frequency by either Alarm Operation and Output: The alarm comparator
50 or 60 to obtain a 1 Hz time base. This counter is (Figure 1) senses coincidence between the alarm count-
programmed to divide by 60 simply by leaving 50/60 Hz ers (the alarm setting) and the time counters (real
select unconnected; pull-down to VOO is provided by an time). The comparator output is used to set a latch in
internal depletion device. Operation at 50 Hz is pro- the alarm and sleep circuits. The latch output enables
grammed by connecting 50/60 Hz select to VSS. the alarm output driver (Figure 4), the MM5384 output
that is used to control the external alarm sound genera-
tor. The alarm latch remains set for 59 minutes, during
Display Mode Select Inputs: In the absence of any of
which the alar~ will therefore sound if the latch output
these three inputs, the display drivers present time-of-
is not temporarily inhibited by another latch set by the
day information to the appropriate display digits. Inter-
snooze alarm input or reset by the alarm off input.
nal pull-down depletion devices allow use of simple
SPST switches to select the display mode. If more than
one mode is selected, the priorities are as noted in Snooze Alarm Input: Momentarily connecting snooze to
Table I. Alternate display modes are selected by applying VSS inhibits the alarm output for between 8 and 9
VSS to the appropriate pin. As shown in Figure 1 the minutes, after which the alarm will again be sounded.
code converters receive time, seconds, alarm and sleep This input is pulled-down to VOO by an internal deple-
information from appropriate points in the clock tion device. The snooze alarm feature may.be repeatedly
circuitry. The display 'mode select inputs control the used during the 59 minutes in which the alarm latch
gating of the desired data to the code converter inputs remains set.
and ultimately (via output drivers) to the display digits.
Alarm Off Input: Momentarily connecting alarm off to
VSS resets the alarm latch and thereby silences the
Time Setting Inputs: Both fast and slow setting inputs alarm. This input is also returned to VOO by an internal
are provided. These inputs are applied either singly or in depletion device. The momentary alarm off input also
combination to obtain the control functions listed in readies the alarm latch for the next comparator output;
Table II. Again, internal pull-down depletion devices are and the alarm will automatically sound again in 24 hours
provided; application of VSS to these pins affects the (or at a new alarm setting). If it is desired to silence the
control .functions. Note that the control functions pro- alarm for a day or more, the alarm off input should
per are dependent on the selected display mode. For remain at VSS.
example, a hold-time control function is obtained by
selecting seconds display and actuating the slow set
Sleep Timer and Output: The sleep output at pin 14 can
input. As another example, the clock time may be reset
to 12:00:00 AM, by selecting seconds display and actua- be used to turn off a radio after a desired time interval
ting both slow and fast set inputs. of up to 59 minutes. The time interval is chosen by
selecting the sleep display mode. (Table I) and setting
the desired time interval (Table II). This automatically
Blanking Control Inputs: Connecting this Schmitt results in a current-source outputvia pin 14, which can
Trigger input to VOO places all display drivers in a non- be' used to turn on a radio (or other appliance). When
conducting, high-impedance state, thereby inhibiting the the sleep counter, which counts downwards, reaches 00
display. See Figures 3 and 4. Conversely VSS applied to minutes, a latch is rese.t and the sleep output current
this input enables the display. This input does not 'have drive is removed, thereby turning off the radio. This
internal pull-down device. turn-off may also be manually controlled (at any time in
the countdown) by a momentary VSS connection to the
Output Common Source Connection: All display output Snooze input. The output circuitry is the same as the
drivers are open-drain devices with all sources common other outputs (Figure 4).
1-52
functional description (Continued)
VOO
50/60 HZ
BILN:~JI~~ -"---I 50/60 Hz
INPUT )C)-....-~~I~~JNOGR
SIGNAL
Vss
VSS
*OUTPUT COMMON SOURCE BUS (PIN 18)
ii(OATA)=?~
---i
BLANKING
(FROM OUTPUT
r----4~-O UTPUT
VSS
FIGURE 4a. Segment Outputs FIGURE 4b. Alarm and Sleep Outputs
·SELECTED
DIGIT NO.1 DIGIT NO.2 DIGIT NO. 3 DIGITNO.4
DISPLAY MODE
Time Display 10's of Hours & AMIPM Hours 10's of Minutes Minutes
Seconds Display Blanked Minutes 10's of Seconds Seconds
Alarm Display 10's of Hours & AMIPM Hours 10's of Minutes Minutes
Sleep Display Blanked Blanked 10's of Minutes Minutes
*If more than one display mode input is applied, the display priorities are in the order of Sleep (over-
rides all others), Alarm, Seconds, Time (no other mode selected).
'·53
~
00
M functional description (Continued)
Ln
~
~ TABLE II. MM5384 Setting Control Functions
SELECTED CONTROL
CONTROL FUNCTION
DISPLA Y MODE INPUT
*When setting time sleep minutes will decrement at rate of time counter, until the
sleep counter reaches 00 minutes (sleep counter will not recycle).
VSS
BLANKING 1------.-.;.,
OUTPUT COMMON SOURCE 27k
MM5384
Uk
VOO
PM
AM
COMMON CATHOOE
---
LEO DISPLAY
--;--l
d
1 ___ ,
r-
2 1 OJOOIPNP) I I . . I
~~~~------~~---" I I I.1OPTION 2
r:::;o::J I OPTION 1 2
VLEO
SUPPLY I I ~22M I
IL _______
VOO - J1 ~__ . . . __ JI
IL_.:.
1-54
functional description. (Continued)
PM
AM ...+-~""--o-r-o- c.S.
Switch A must be ganged with
Sleep display switch as shown.
1 Hz 10 HR b & c SLEEP
DISPLAY
III
1-55
Clocks
135) 31381
.4
50160 HZ 6
INPUT COLON b4
COLON c4
PM d4
c4 e4
b4 g4
ALARM OUT +-=~----,
SLEEP 0 UT +,-+,"-'----1
TO 10'S
OF MINS
DIGIT
FASTSET~
VSS~
VDO~
121291 FIGURE 1
1-56
absolute maximum ratings
Voltage at Any Pin VSS + 0.3 to VSS - 28V
Voltage at Any Output Pin VSS + 0.3 to VSS - 7.5V
Operating Temperature -25°C to +70°C
Storage Temperature -u5°C to +150°C
Power Dissipation 1W
Lead Temperature (Soldering, 10 seconds) 300°C
electrica I characteristics
T A within operating range, Vss = 18V to 26V, VDD = OV, unless otherwise specified.
Note 1: The power·fail detect voltage is 0.5V or more above the hold count voltage. The power·fail latch trips into the power·fail mode at least
0.5V above the voltage at which data stored in the time latch is lost.
Note 2: Sleep/seconds display (pin 11 on MM5385 and MM5386, pin 30 on MM5396 and MM5397). Connect pin to VSS for Sleep display.
Conf!ect pin to VOO for Seconds display. Leave pin open for normal time display.
1·57
functional description
A block diagram of the MM5385, MM5386( MM5396 in Figure 1 the code converters receive time, alarm and
and MM5397 digital alarm clock is shown in Figure 1. sleep information from appropriate points in the clock
The various display/setting modes are listed in Table I circuitry. The display mode select inputs control' the
and Table II shows the setting control functions. The gating of the desired data to the code converter inputs
following description is based on Figure 1; for simpl ifi- and ultimately (via output drivers) to the display digits.
cation, pin numbers in the text are shown only for
the MM5385 and MM5386, but pin connections for the
Time Setting Inputs (pins 9 and 10): Both fast and slow
MM5396 and MM5397 may be cross-referenced from the
setting inputs are provided. These inputs are applied either
diagrams in Figure 2.
singly or in combination to obtain the control functions
listed in Table II. Again, internal depletion loads to VOO
50 or 60 Hz Input (pin 8): A shaping circuit (Figure 3) are provided, application of VSS to these pins affects
is provided to square the 50 or 60 Hz input. This circuit the control functions. Note that the control functions
allows use of a filteredsinewave input. The circuit is a proper are dependent on the selected display mode.
Schmitt Trigger that is designed to provide about 6V of For example, a hold-time control function is obtained
hysteresis. A simple RC filter, such as shown in Figure 7, by selecting secorlds display and actuating the slow set
should be used to remove possible line-voltage tran- input. As another example, the clock time may be reset
sients that could either cause the clock to gain time or to 12:00:00 AM (midnight), in the 12-hour format
damage the device. The input should swing between (0:00:00 in the 24-hour format), by selecting seconds
VSS and VOO. The shaper output drives a counter display and actuating both slow and fast set inputs.
chain which performs the timekeeping function.
50 or 60 Hz Select Input (pin 7): A programmable Alarm Operation and Output (pin 16); The alarm com-
prescale counter divides the input line frequency by parator (Figure 1) senses coincidence between the alarm
either 50 or 60 to obtain a 1 pps time base. This counter counters (the alarm setting) and the time counters
is programmed, to divide by 60 simply by leaving pin 7 (real time). The comparator output is used to set a latch
unconnected; pull-down to VOO is provided by an in the alarm and sleep circuits. The latch output enables
internal depletion load. Operation at 50 Hz is pro- the open· dra(n alarm output driver to control the
grammed by connecting pin 7 to VSS. external alarm sound generator. The alarm latch remains
set for 59 minutes, during which the alarm will therefore
Display Mode Select I nputs (pins 11 and 17): I n the sound if the latch output is not temporarily inhibited
absence of any of these two inputs (i.e., pin open), by another latch set by the snooze alarm input (pin 17)
the display drivers present time-of-day information to or reset by the alarm "OFF" input (pin 15).
the appropriate display digits. Snooze/alarm display
input has an internal pull-down depletion load to VOD. Snooze/Alarm Display (pin 17): Momentarily connecting
Sleep/seconds display input has an internal voltage pin 17 to VSS inhibits the alarm output for between
control which allows this input to assume three input 8 and 9 minutes after which the alarm will again be
states. The sleep time can be displayed by connecting sounded and display alarm time. This input is pulled-
pin 11 to VSS and seconds can be displayed by con- down to VOO by an internal depletion load. The snooze
necting pin 11 to VOO, and if pin 11 is left open, alarm feature may be repeatedly used during the 59
normal time is displayed. If more than one mode is minutes in which the alarm latch remains are set; con-
selected, the priorities are as noted in Table I. As shown necting pin ,17 to VSS displays alarm time.
24HR 12 HR 12 HR 24 HR
40
lOs HR lOs HR b4 HR f3 HR f3 b4 10,HR 10sHR
39
10, HR 10,HR e4 HR g3 HR g3 e4 10sHR 10, HR
38
10,HR .4 PM HR .3 HF .3 PM 10, HR.4
10, HR d4 COLON HR b3 HR b3 37 COLON 10, HR d4
10, HR.4 36
COLON HR d3 HR d3 COLON 10, HR e4
10,HR g4 1 Hz 35
HR e3 HR e3 1 Hz 10, HR g4
34
50/60 Hz SELECT HR .3 HR e3 50/60 Hz SELECT
50/60 Hz INPUT 10MINSf2 10MINSf2 33 50/60 Hz INPUT
32
FAST SET 10MINSg2 10MINSg2 FAST SET
10 31 10 31
SLOW SET 10MINSa2 10MINS.2
MM5385 -12 HOUR 30 11 MM5396 - 12 HOUR
SLEEP/SEC OISPLAY 10MINSd2 10 MINS d2
MM5386 -24 HOUR ' 29 MM5397 - 24 HOUR
VDD 10MINSb2 10MINSb2
28
Vss 10MINS.2 10MINS e2
27
SLEEP OUTPUT 10MINSe2 10 MINSe2
26
ALARM "OFF" MINfl IViIN fl ALARM "OFF"
25
ALARM 0 UTPUT MIN gl MIN gl ALARM OUTPUT
SNOOZE ANO ALARM OISPLAY MINaI MINaI SNOOZE AND ALARM DISPLAY
18
LEO CUR CONTROL MIN bl MINbl LED CUR CONTROL
19 22
LEO REF OUTPUT MINel MIN.l 21 LED REF OUTPUT
20 21
MINel MINdl MINdl MIN el
1-58
functional description (Continued)
Alarm "OFF" Input (pin 15): Momentarily connecting 14, which can be used to turn on a radio (or other
pin 15 to VSS resets the alarm latch and thereby silences appliance). When the sleep counter, which counts down-
the alarm. This input is also returned to VOO by an wards, reaches 00 minutes, a latch is reset and the sleep
internal depletion load. The momentary alarm "OFF" output drive is removed, thereby turning off the radio.
input also readies the alarm latch for the next comparator This turn off may also be manually controlled (at any
output, and the alarm will automatically sound again in time in the countdown) by a momentary VSS connec-
24 hours (or at a new alarm setting). If it is desired to tion to the snooze input (pin 17).
silence the alarm for a day or more, the alarm "OFF"
input should remain at VSS. Segment Outputs (pins 1-6 and 20-40): All segment
outputs are open drain devices with all sources con-
Vee nected to VSS. Each segment output may source direct
current of 15 mA at 2Von the output device. Figure 5(b)
shows the output resistance (RON) of segment driver
with respect to VOO.
·SELECTED
DIGIT NO. 1 DIGITNO.2 DIGIT NO.3 DIGIT NO. 4
DISPLA Y MODE
Time Display 10's of Hours & AM/PM Hours 10's of Minutes Minutes
Seconds Display Blanked Minutes 10's of Seconds Seconds
Alarm Display lO's of Hours & AM/PM Hours lO's of Minutes Minutes
Sleep Display Blanked Blanked 10's of Minutes Minutes
*If more than one display m';,de input is applied, the display priorities are in the order of Sleep (overrides
all others), Alarm, Seconds, Time (no other mode selected!.
SELECTED CONTROL
CONTROL FUNCTION
DISPLA Y MODE INPUT
*When setting time sleep minutes will decrement at rate of time counter, until the sleep
counter reaches 00 minutes (sleep counter will not recycle).
1·59
functional description (Continued)
The output current can be controlled two ways: 2) The high current drive requirement of large LED
1) d~iving the output in saturated mode; 2) driving displays can be accomplished by operating the segment
the outPiJt.in linear mode. (Refer to Figures 4 and 5). drivers in the linear mode. The circuit for high current
LED drivers is shown in Figure 5. The reference output
1) The reference device (pins 18 and 19) is connected device is used in series with a reference LED, diode and
as a diode, and an external resistor is used to set the current setting resistor. A high beta PNP transistor
desired current in this diode (see Figure 4). The seg- provides the current drive for all the segments. A refer-
ment drivers of all digits are connected as current ence voltage V3 is developed which compensates for
mirrors. The drain voltage V1 of the segment drivers variations in MOS process parameter and the variations
is selected such that these devices operate in saturation in the voltage drop across the LED. The resistor sets the
mode. Since the drain current variation in saturation current in the reference LED which sets the reference
mode operation of the MOS device is relatively voltage V3. This in turn sets the current in the LEDs
constant, the segment drive current does not vary equal to resistor current less the base current of the
significantly, even though V1 is increased considerably. transistor. Variation in second supply voltage does not
However, as the voltage across the output buffers vary the LED currents so long as the PNP transistor is
increases, average power dissipation also increases kept operating in the linear mode. Full wave rectified
linearly. This technique of current control is recom- power supply without any filtering can be used as a
mended to be used only with low current LEDs second supply voltage V2. The LED brightness can be
(1-7 mAl. varied by using a variable resistor.
12
VLED SUPPLY
DC DR-.:::::A:A:T
OUTPUT C(
,u.lt=
DRIVER .§. 10
OPERATING .;-
!-
18
i
!-
2:
V S S - - -...... -+-_......J
CONTROL
-V1 I
LOGIC
-3 -5 -7 -9 -11
v, (V)
FIGURE 4(a). Low Current LED Drive Control Circuit (1-7 mAl FIGURE 4(b). Segment Current vs VI
(VDD at -18V) (Typical Output Characteristics)
VDO
120
'REFERENCE
OU1;PUT
oLEO -IR -lbQ1 100
q 10.7 mA,
".rt=
DRIVER
OPERATING
80 12.5 rnA
S ,,~
60 P'N'-SAND2D-4a, 16.6?,A
----~V3 ~ ~ ~ ...
SEGMENT ....
SEGMENT 40 DR'VER -20 rnA
LEOS
18 20
PINS 1-6 AND. . -V1
20~ o
o -5 -10 -15 -20 -25 -30
Vss VSS Vss VDD (V) (REFERENCED TO VSS)
FIGURE 5(a). High Current LED Drive Control Circuit (7-15 mAl FIGURE 5(b). RON vs VDD (VDS at -lV)
(Typical Output Characteristics)
1-60
functional description (Continued)
Figure 6 shows a LED drive circuit which uses a single Radio Frequency Interference: All display outputs
resistor. The resistor controls the total current flowing include circuitry to slow up the switching transition
through all the segments. Brightness shall vary depending time to minjmize radio frequency interference.
on number of segments that are on at that time.
VLEO SUPPLY
CURRENT
.
20-40
--I
I V'NT I
v
,00,
I
Voo
, -
t o
V
CONTROL
VDD Vss
II
VSS LOGIC Vss Vss
VIN IV)
ALARM
DRIVE
~14-.....---;_I--1>--1 Vo 0
LEO CURRENT
CONTROL SLEEP
DRIVE
1:3
6u:J
VOO
FIGURE 8. General Purpose Alarm Clock Using the MM5385 or MM5396 and LED Display
1·61
Clocks
block diagram
C~~r,;g~ ~23;,.:;(1~8)_ _ _ _ _ _ _ _-,--_ _ _ _ _ _ _ _ _ _ _ _- - ,
SOURCE
lZ12~EHL~~~ ~J8;,,;,{3;:.)_ _ _ _ _ _ _ _ _-,--_ _ _ _ _ _ _ _ _ _...,
50/1i0 HZ
INPUT
SLEEP 0 UT .--"'-'----'
TO 10'S
OF MINS
DIGIT
16-22
SLEEP OIS 0-=:..:.:..:.:......------------------_+ TOMINS
ALARM OIS
3
-------------------+1
0-:,;.;1(:.;,;10:.:.,) (19-25)
DIGIT
SECONOS DIS 0-:3;;.2(~9)_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ __+I
31(4)
NC 0
33(8)
SLOWSET~
34 (1)
FAST SET <>---'-'---+
28(13)
Vss~
29(12) Note. MM53108 pin connections shown in parenthesis
VDO~
FIGURE 1
'·62
absolute maximum ratings
Voltage at Any Pin Except Segment Outputs VSS + 0.3 to VSS - 30V
Voltage at Segment Outputs VSS + 0.3 to VSS - 15V
Operati ng Temperature -25°C to +70°C
Storage Temperature -65°C to +150°C
Lead Temperature (Soldering, 10 seconds) 300°C
electrical characteristics
T A within operating range, VSS == 24V-26V, VDD == OV, unless otherwise specified.
1 Hz Display
Logical High Level, Source VOH == VSS- 4 24 rnA
Logical Low Level, Leakage VOL == VSS -14 10 pA
0
Note 1: Segment output current must be limited to 11 rnA maximum by user; power dissipation must be limited to 900 mW at 70 e and 1.2W
at 25°e.
Note 2: The power-fail detect voltage is O.5V or more above the hold count voltage. The power-fail latch trips into power-fail mode at least O.5V
above the voltage at which data stored in the time latch is lost.
1-63
functional description
A block diagram of the MM5387AA, MM53108 digital gating of the desired data to the code converter inputs
clock radio circuit is shown in Figure 1. The various and ultimately (via output drivers) to the display digits.
display setting modes are listed in Table I, and Table II
shows the setting control functions. The following Time Setting Inputs: Both fast and slow setting inputs
description is based on Figure 1 and refers to both are provided. These inputs are applied either singly or
devices as they are electrically identical. in combination to obtain the control functions listed in
Table II. Again, internal depletion pull-down devices
50 or 60 Hz Input: A shaping circuit (Figure 3) is pro- are provided; application of VSS to these pins affects
vided to square the 50 or 60 Hz input. This circuit the control functions. Note that the control functions
allows use of a filtered sinewave input. The circuit is a proper are dependent on the selected display mode.
Schmitt trigger that is designed to provide about 6V of For example, a hold-time control function is obtained
hysteresis. A simple RC filter such as shown in Figure 7, by selecting seconds display and actuating the slow set
should be used to remove possible line-voltage tran- input. As another example, the clock time may be reset
. sients that could either cause the clock to gain time or to 12:00:00 AM, by selecting seconds display and actu-
damage the device. The shaper output drives a counter ating both slow and fast set inputs.
chain which performs the timekeeping function.
Output Common Source Connection: All display out-
50 or 60 Hz Select Input: A programmable prescale put drivers are open-drain devices with all sources
counter divides the input line frequency by either common (Figure 4a). The common source pin should
50 or 60 to obtain a 1 Hz time base. This counter is be connected to VSS.
programmed to divide by 60 simply by leaving 50/
60 Hz select unconnected; pull-down to VDD is pro- 12 or 24 Hour Select Input: By leaving this pin uncon-
vided by an internal depletion load. Operation at 50 Hz nected, the outputs for the most-significant display
is programmed by connecting 50/60 Hz select to VSS. digit (1 a's of hours) are programmed to provide a
12·hour display format. An internal depletion pull-
Display Mode Select Inputs: In the absence of any of down device is again provided. Connecting this pin to
these three inputs, the display drivers present time-of- VSS programs the 24-hour display format. Segment
day information to the appropriate display digits. connections for 10's of Hours in 24-hour mode are
Internal depletion pull-down devices allow use of simple shown in Figure 6.
SPST switches to select the display mode. If more than
one mode is selected, the priorities are as noted in Power Fail Indication: If the power to the integrated
Table I. Alternate display modes are selected by apply- circuit drops, indicating a momentary ac' power failure
ing VSS to the appropriate pin. As shown in Figure 1 and possible loss of clock, all "ON" segments will
the code converters receive time, seconds, alarm and flash at· 1 Hz rate. A fast or slow set input resets an
sleep information from appropriate points in th~ clock internal power failure latch and returns the display to
circuitry. The display mode select inputs control the normal.
connection diagrams
Dual-ln·Line Package Dual·1 n·Line Package
40
AM OUTPUT PM OUTPUT PM OUTPUT AM OUTPUT
10HRS-b&c COLON (1 Hz) COLON (1 Hz) 10HRS-b&c
HRS -f 12/24 HR SELECT 12/24 HR SELECT HRS -f
HRS -g NC NC HRS -g
HRS -a 50/60 Hz SelECT 50/60 Hz SE LE CT HRS-l
HRS -b 50/60 Hz INPUT 50/60 Hz INPUT HRS -b
HRS - d FAST SET INPUT FAST SET INPUT HRS -d
HRS-c SLOW SET INPUT SLOW SET INPUT HRS -c
HRS -e SECOND DISPLAY INPUT SECOND DISPLAY INPUT HRS -e
10MINS-f ALARM DISPLAY INPUT ALARM DISPLAY INPUT 10MINS-f
10MINS-g SLEEP DISPLAY INPUT SLEEP DISPLAY INPUT 10MINS -g
10MINS-a\!td Voo Voo 10MINS-a&d
10MINS-b VSS vss 10MINS-b
10MINS-e SLEEP OUTPUT SLEEP OUTPUT 10MINS-e
10MINS-c ALARM "OFF"INPUT ALARM "OFF" INPUT 10MINS-c
MINS -f ALARM OUTPUT ALARM OUTPUT MINS -I
MINS -g SNOOZE INPUT SNOOZE INPUT MINS-g
MINS-a OUTPUT COMMON SOURCE OUTPUT COMMON SOURCE MINS-a
19
MINS -b MINS-c MINS -c MINS-b
20
MINS -e MINS -d MINS -d MINS-e
1-64
s
functional description (Continued) sU1
Alarm Operation and Output: The alarm comparator silences the alarm. This input is also returned to VOO by W
to
(Figure 1) senses coincidence between the alarm count- an internal depletion device. The momentary alarm -..J
ers (the alarm setting) and the time counters (real time). "OFF" input also readies the alarm latch for the next l>
The comparator output is used to set a latch in the comparator output, and the alarm will automatically l>
alarm and sleep circuits. The latch output enables the sound again in 24 hours (or at a new alarm setting).
alarm output driver (Figure 4b) which is used to If it is desired to silence the alarm for a day or more, S
control the external alarm sound generator. The alarm' the alarm "OFF" input should remain at VSS. S
latch remains set for 59 minutes, during which the alarm U1
will therefore sound if the latch output is not tempor- Sleep Timer and Output: The sleep output can be used
W
-'
arily inhibited by another latch set by the snooze alarm to turn "OFF" a radio after a desired time interval of up o
input or reset by the alarm "OFF" input. to 59 minutes. The time interval is chosen by selecting
to
the sleep display mode, (Table I) and setting the desired
Snooze Alarm Input: Momentarily connecting snooze time interval (Table II). This automatically results in a
to VSS inhibits the alarm output for between 8 and 9 current-source output which can be used to turn "ON" a
minutes, after which the alarm will again be sounded. radio (or other appliance). When the sleep counter,
This input is pulled-down to Vbo by an internal deple- which counts downwards, reaches 00 minutes, a latch
tion device. The snooze alarm feature may be repeatedly is reset and the sleep output current drive is removed,
used during the 59 minutes in which the alarm latch thereby turning "OFF" the radio. This turn "OFF"
remains set. may also be manually controlled (at any time in the
countdown) by a momentary VSS connection to the
Alarm "OFF" Input: Momentarily connecting alarm Snooze input. The output circuitry is the same as the
"OFF" to VSS resets the alarm latch and thereby other outputs (Figure 4b).
voo
VSS
vss
~
VSS
, OUTPUT
>-f
OUTPUT
, (OPEN DRAIN)
Voo
FIGURE 4(a). Segment Outputs FIGURE 4(b). Alarm and Sleep Outputs
1-65
functional description (Continued)
*SELECTED
DIGIT NO. 1 DIGIT NO. 2 DIGIT NO.3 DIGIT NO.4
DISPLA Y MODE
Time Display 10's of Hours & AM/PM Hours 10's of Minutes Minutes
Seconds Display Blanked Minutes 10's of Seconds Seconds
Alarm Display 10's of Hours & AM/PM Hours 10's of Minutes Minutes
Sleep Display Blanked Blanked 10's of Minutes Minutes
* If more than one display mode input is applied, the display priorities are in the order of Sleep (overrides
all others), Alarm, Seconds, Time (no other mode selected)'
SELECTED CONTROL
CONTROL FUNCTION
DISPLA Y MODE INPUT
*When setting time sleep minutes will decrement at rate of time counter, until the sleep
counter reaches 00 minutes (sleep counter will not recycle).
10
1-~~SD==2:V ./
/'
/
1
I-
2: / AM
a:
a:
:::>
u
I-
/
:::>
I-
I
:::>
o /
,I
/
o /
o'
OUTPUT (DRAIN) VOLTAGE BELOW VSS Switch A must be ganged with Sleep display as shown.
'·66
.typical applications
Figure 7 is a schematic diagram of a general purpose alarm clock circuit (12-hour model using the MM5387 AA or
MM53108 and a 3 1/2-digit LED display.
27k
ALARM
DRIVE
4.7k
VOO
II
PM
---
AM
LEO DISPLAY
'-~-1
COMMON CATHOPE
2
~+&~~------~~---"
ovo
VLEO
SUPPLY
r - --;--1
l
BRICGOH;:ig~
IL _______
VOO -
JI
I
I
I OPTION I
I
2
d
I
I
I
I ~
L_.:.
~220"F
_____ JI
I
I .
I OPTION 2
I.
FIGURE 7
'·67
Clocks
block diagram
C~~~~~ 0--'23..;.(1..;81_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _- - .
12/2~EHL~~~ 0-.:.:
38:...::(3:;,,1_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _- ,
50/60 HZ
INPUT
16-22
SLEEP DIS o-=.:..:..:..:!....-------------------~ TO MINS
ALARM DIS
3
----------+----------+1
0-.:.:..;1(",10.:..;1 (19.-251
DIGIT
FIGURE 1
1·681.';1 I
~
absolute maximum ratings
Voltage at Any Pin
(Note 1)
Lead Temperature (Soldering, 10 seconds) 300°C
s:CJ1
VSS to VSS +12V
Operating Temperature -25"C to +70"C Segment Output Current Note 1 ~
Storage Temperature -65°C to +150°C
o
N
electrical characteristics TA within operating range. Voo = 7V to llV, VSS';' av, unless otherwise specified. ~
~
PARAMETER CONDITIONS MIN TYP MAX UNITS CJ1
~
Power Supply Voltage Output Driving Display 9 11 V o
Functional Clock 7 11 V CJ1
Power Supply Current No Output Loads
VDO = 7V 4 mA
VDD= llV 5 mA
50/60 Hz Input
Frequency VDD = 7V to 11 V dc 50 or 60 10k Hz
Logical Low Level VSS VSS VSS+0.5 V
Logical High Level VDD-3 VDD VDD V
Input Leakage 100 JlA
All Other Input Voltages
Logical Low Level VSS VSS VSS+0.5 V
Logical High Level Internal Depletion Load to VDD VDD-3 VDD VDD V
1 Hz Display
Logical High Level, Leakage VOH = VDD 10 JlA
Logical Low Level, Sink VOL = VSS + 2V 36 mA
'-69," I
functional description
A block diagram of the MM5402, MM5405 digital Time Setting Inputs: Both fast and slow setting inputs
clock radio circuit is shown in Figure 1. The various are provided. These inputs are applied either singly or
display setting modes are listed in Table I, and Table II in combination to obtain the control functions listed in
shows the setting control functions. The following Table II. Again, internal depletion pull-up devices
description is based on Figure 1 and refers to both are provided; application of VSS to these pins affects
devices as they are electrically identical. the control functions. Note that the control functions
proper are dependent on the selected display mode.
50 or 60 Hz Input: A shaping circuit (Figure 3) is pro· For example, a hold·time control function is obtained
vided to square the 50 or 60 Hz input. This circuit by selecting seconds display and actuating the slow set
allows use of a filtered sinewave input. The circuit is a input. As another example, the clock time may be reset
Schmitt trigger that is designed to provide about 0.8V to 12:00:00 AM, by selecting seconds display and actu-
hysteresis. A simple RC filter such as shown in Figure 7, ating both slow and fast set inputs.
should be used to remove possible line-voltage transients
that could either cause the clock to gain time or damage Output Common: All display output drivers are open
the device. The shaper output drives a counter chain drain devices with all the sources connected to output
which performs the timekeeping function. common pin. This pin can be used as a common source
or a common drain. When used as a common source,
50 or 60 Hz Select Input: A programmable prescale this pin is connected to VSS and when used as a com-
counter divides the input line frequency by either mon drain, this pin is connected to VOO. This allows
50 or 60 to obtain a 1 Hz time base. This counter is the use of either common anode or common cathode
programmed to divide by 60 simply by leaving 50/ LED's for displays. Figure 5 shows these connections.
60 Hz select unconnected; pull-Up to VOO is pro-
vided by an internal depletion load. Operation at 50 Hz
is programmed by connecting 50/60 Hz select to VSS. 12 or 24 Hour Select Input: By leaving this pin uncon-
nected, the outputs for the most-significant display
Display Mode Select Inputs: In the absence ot" any of digit (10's of hours) are programmed to provide a
these three inputs, the display drivers present time-of- 12-hour display format. An internal depletion pull-
day information to the appropriate display digits. up device is again provided. Connecting this pin to'
Internal depletion pull-up devices allow use of simple VSS programs the 24-hour display format. Segment
SPST switches to select the display mode. If more than connections for 10's of hours in 24-hour mode are
one mode is selected, the priorities are as noted in shown in Figure 6.
Table I. Alternate display modes are selected by apply-
ing VSS to the appropriate pin. As shown in Figure 1 Power Fail Indication: If the power to the integrated
the code converters receive time, seconds, alarm and circuit drops, indicating a momentary ac power failure
sleep information from appropriate points in the clock and possible loss of clock, all "ON" segments will
circuitry. The display mode select inputs control the flash at 1 Hz rate. A fast or slow set input resets an
gating of the desired data to the code converter inputs internal power failure latch and returns the display to
and ultimately (via output drivers) to the display digits. normal.
'-70
functional description (Continued)
Alarm Operation and Output: The alarm comparator silences the alarm. This input is also·returned to VOO by
(Figure 1) senses coincidence between the alarm count- an internal depletion device. The momentary alarm
ers (the alarm setting) and the time counters (real time). "OFF" input also readies the alarm latch for the next
The comparator output is used to set a latch in the comparator output, and the alarm will automatically
alarm and sleep circuits. The latch output enables the sound again in 24 hours (or at a new alarm setting).
alarm output driver (Figure 4b) which is used to If it is desired to silence the alarm for a day or more,
conUol the external alarm sound generator. The alarm the alarm "OFF" input should remain at VSS.
latch remains set for 59 minutes, during which the alarm
will therefore sound if the latch output is not tempor- Sleep Timer and Output: The sleep output can be used
arily inhibited by another latch set by the snooze alarm to turn "OFF" a radio after a desired time interval of up
input or reset by the alarm "OFF" input. to 59 minutes. The time interval is chosen by selecting
the sleep display mode, (Table I) and setting the desired
Snooze Alarm Input: Momentarily connecting snooze time interval (Table II). This automatically results, in a
to VSS inhibits the alarm output for between 8 and 9 current sink output which can be used to turn "ON" a
minutes, after which the alarm will again be sounded. radio (or other appliance). When the sleep counter,
This input is pulled-up to VOO by an internal deple- which counts downwards, reaches 00 minutes, a latch
tion device. The snooze alarm feature may be repeatedly is reset and the sleep output current drive is' removed,
used during the 59 minutes in which the alarm latch thereby turning "OFF" the radio. This turn "OFF"
remains set. may also be manually controlled (at any time in the
countdown) by a momentary VSS connection to the
Alarm "OFF" Input: Momentarily connecting alarm Snooze input. The output circuitry is the same as the
"OFF" to VSS resets the alarm latch and thereby other outputs (Figure 4b)_
VOO
vss
VSS
.......------.~OUTPUT
(OPEN ORAIN)
VOO
FIGURE 4(a)_ Segment Outputs 'FIGURE 4(b). Alarm and Sleep Outputs
1-71
LO
~ functional description (Continued)
LO
2
2
TABLE I. MM5402, MM5405 Display Modes
*SELECTED
DIGIT NO.1 DIGIT NO.2 DIGIT NO.3 DIGIT NO.4
DISPLA Y MODE
Time Display 10's of Hours & AM/PM Hours 10's of Minutes Minutes
Seconds Display' Blanked Minutes 1O's of Seconds Seconds
Alarm Display 10's of Hours & AM/PM Hours 10's of Minutes Minutes
Sleep Display Blanked Blanked 10's of Minutes Minutes
* If more than one display mode input is applied, the display priorities are in the order of Sleep (overrides
all others), Alarm, Seconds, Time (no other mode selected).
SELECTED CONTROL
CONTROL FUNCTION
DISPLA Y MODE INPUT
*When setting time sleep minutes will decrement at rate of time counter, until the sleep counter
reaches 00 minutes (sleep counter will not recycle). -
10 HR b (24 HR)
Voo
AM --+--4~ PM
--I
1-72
s
typical applications sCJ'I
Figure 7 is a schematic diagram of a general purpose alarm clock circuit (12-hour model using the MM5402 or MM5405 +:ao
and a 3 1/2-digit LED display_ o
N
s
sCJ'I
+:ao
o
, - - - -....-1 VSS CJ'I
OUTPUT COMMON
VOO
PM
d d
LEO DISPLAY
1
COMMON ANODE
~~~~------~r+---"
0:::0
VLEO
SUPPL Y
2
r, -
IL _______
Voo -
--;--l
JI
I
I
I OPTION 1
I
d
2
I·
I..
I
I T
220pF
L_.:. _____ JI
---1
I
II OPTION 2
FIGURE 7
1-7~
Clocks
INTRODUCTION
The following is a description of a technique which An easier method is to. use one or more demultiplexed
allows the use of the National MM5309, MM5311, BCD lines as control waveforms whose edges determine
MM5312 and MM5315 clock integrated circuits as timer data. In Figure 1 we examine the l·bit of the BCD
timers in industrial and consumer applications. What data of the units second time.
will be presented is the basic technique along with some
simple circuitry and applications.
From this 'waveform we observe a one second wide pulse
BASIC TECHNIQUE
every two seconds. If we look at the 4-bit of the 10
minutes digit we find a pulse which is 20 minutes wide
When first approaching the problem of using clock chips
and occurs once each hour.
for timers, the most obvious technique is to attempt to
compare the display data with preset BCD numbers.
Because of the multiplexing and number of data bits
this technique, while possible, is unwieldy and requires a Figure 3 is a chart showing the various pulses and their
large number of components. widths for all digits and the useful BCD lines.
UNIT SECOND
DIGIT TIME
BCD 1
10 MINITE DIGIT
TIME
BCD 1
I U
f - - - 4 0 M I N - + 2 0 MIN-j
L
FIGURE 2.20 Minute Pulse Every Hour
1-74
BCD PULSE RATE PULSE WIDTH BCD PULSE RATE PULSE WIDTH
1 Sec Digit 10 Sec Digit
Units Hrs Digit (12 Hr Model Units Hrs Digit (24 Hr Model
1 1 1 every 24 h rs 10 hrs
2 1 every 12 hrs 9 hrs 2 1 every 24 hrs 4 hrs
4 1 every 12 hrs 9 hrs
8 1 every 12 hrs 9 hrs
*Square waves
FIGURE 3
In the simple case where, for example, a four hour wide Where it is desired to maintain the display, or in more
pulse each day is desired, perhaps to turn on lights in the complex timing of the "10 seconds every two hours"
evening, a simple demultiplexing scheme using one diode variety, external demultiplexing shown in Figure 6 can
is shown in Figure 4. When power is applied, the internal be used. In this figure the BCD lines are demultiplexed
multiplex circuitry will strobe each digit until the digit with MM74C74 flip·flops. Examining the waveforms of
with the diode connected is accessed. This digit will these circuits we see two edges which allow the 10
sink the multiplex charging current and stop the multi- . second each two hours timing. These are differentiated
plex scanning. Thus, the BCD outputs now present the by the NAND and INVERTERS and the first edge sets
data from the selected digit. The waveforms as previously and the second resets the S- R fl ip-fl op. The output of the
discussed are presented at the BCD lines. Note that these flip-flop is ten seconds wide every two hours. Byexam-
pulses are negative true for all BCD outputs. ining the edges of the Figure 3 entries any combination
of timings can be obtained with the circuit of Figure 6.
An advantage of this type of timer over mechanical
types is the elimination of line power drop outs. The LOW FREQUENCY WAVEFORM GENERATION
circuit shown in Figure 5 will maintain timing to within
a few percent during periods of power line failure, but The asterisked BCD lines in Figure 3 are those wave-
automatically return to the 60 Hz line for timing as soon forms which are symmetric. By the use of the simple
as power is restored. diode demultiplexing scheme previously discussed we
1-75
Vss
0.01
MUX
....---4_-1 TIMING
INPUT BCD LINES
FOR SELECTED
DIGIT
}
lOOk DIGIT
LINE
Voo
FIGURE 4
lN914
11=
RElAY
OUTPUT
Vss ENABLE
. MM5J09
1M lOOk
SET TO
60 Hz
WITH LINE
UNCONNECTED
easily obtain square waves with periods of two seconds, circuits. Because of the vast number of timing applica-
two minutes, twenty minutes and two hours. In other tions possible,this can in no way be looked at as the
cases, where the waveforms are asymmetric, a simple limit of clock-timer circuits. Use of the Reset on the
flip-flop can square, while dividing by two, these wave- MM5309 and MM5315 or the use of clocks in conjunction
forms producing other low frequency square waves as with programmable counters such as the MM74C161
long as one per two days. allows other possibilities to meet specific applications.
Also the clock chips themselves can run on frequen'cies
SUMMARY other than 50 or 60 Hz (actually from de to 10 kHz)
We have shown some simple low cost timer and waveform which can allow scaling of the waveforms presented in
generating examples using National clock integrated Figure 3 to different timing rates.
1-76
BCOI---4~~
1/2MM14C14
10k
A MM14C04
OUT
ill
~----------~------------~~
aAJr----J _ __
.--
1
2HRSWIOE-------
as
--l !--10SECWIDE
OUT n
Jr----J I~R-E-SU-L-TA-N-T-l0-S-E-CE-V-E-RY-2-H-R-S------------~1l
1-77
Counters/Timers
general description
The National Semiconductor MM5307 baud rate • External frequency input pin
generator/programmable divider is a MaS/LSI P-channel
enhancement mode device. A master clock for the device • Internal. ROM allows generation of other frequencies
is generated either externally or by an on-chip crystal on order
oscillator (Note 4). An internal ROM controls a divider
circuit which produces the output frequency. Logic • Bipolar compatibility
levels on the four control pins select between sixteen
output frequencies. The frequencies are chosen from • 0.01 % accuracy (typ) exclusive of crystal
the following possible divisors: 2N, for 3 N< < 2048;
• 1 M Hz master clock frequency
2N + 1 and 2N + 0.5 for 4 -:; N -:; 2048. AI~o on-; of the
sixteen frequencies may be gated from the external
frequency input. The MM5307 AA is supplied with the
divisors shown in Table I. applications
features • DAR/T clocks
ROM
Dual·1 n-Line Package
EXTERNAL FREO.
NC
RESET PROGRAMMABLE OUTPUT OUTPUT
OIVIDER
¢1 ¢2 rL.
"-------l
________ --« EXT.
FREO.
vss
EXTERNAL
CLOCK
CRYSTAL
5
"">---..... 90 UT CRYSTAL
EXTERNAL
CLOCK
>r---+' TOP VIEW
2-2
absolute maximum ratings
dc electrical characteristics
T A within operating range, VSS = 5V ±5%, V GG = -12V ±5%, unless otherwise specified.
Output Levels
VOH Logical High Level ISOURCE = -0.5 mA VSS-2.6 VSS V
VOL Logical Low Level ISINK = 1.6 mA VSS-4.6 V
ac electrical characteristics
= 5V ±5%, V GG = -12V ±5%,
T A within operating range Vss unless otherwise specified.
2·3
control table
0 a 0 1 50 50 50 1152
0 0 1 0 75 200 75 768
0 0 1 1 110 110 110 524
" 0 1 0 a 134.5 134.5 134.5 428.5
0 1 a 1 150 150 150 384
0 1 1 0 300 300 300 192
0 1 1 1 600 600 600 96
1 a 0 0 900 900 1050 64
1 0 0 .1 1200 1200 1200 48
1 0 1 0 1800 1800 45.5 32
1 a 1 1 2400 2400 2400 24
1 1 0 a 3600 3600 56.9 16
1 1 0 1 4800 4800 4800 12
1 1 1 a 7200 75 66.7 8
1 1 1 1 9600 9600 9600 6
0 a 0 a EXTERNAL FREQ
Positive Logic: 1 = VH
O=VL
typical appliGations
11 A
Vss Vss
2-4
timing diagram
OUTPUT
RESET
application hints
APPLICATION NOTES
The external clock is brought in on pin 5 and pin 7 is 3) Reset (pin 13) must be at Vss to operate. It may be
tied to Vss to enable the external clock input. Pin 6 necessary to take this to GND or VGG to reset the
can be left open. ROM select circuit. An option is to tie ¢ out (pin 14)
to external Freq In (pin 1), if not otherwise used.
1) To use the MM5307 with an external clock, hook 4) An interesting application might use two MM5307's
it up as follows: in series to generate additional frequencies, i.e., with
one programmed from the 921.6 kHz to 800 Hz out,
a second could divide that by 16 to give a 50 Hz
crystal controlled signal.
5) MM307AA divisors are ~n the data sheet. AB divisors
are the same as the AA except: 1) Code 0010 is .
divided by 288 -+ 32 kHz out, 200 baud; 2) "G~de
1110 is divided by 768 -+ 1.2 kHz, 75 baud. -'
vss -1 ~vss
that of the power supply. For example, most lab power
supplies take at least 0.5 sec for the voltage to reach
90% of full level. A 10 kD resistor and 300 I1F capacitor
combination should be adequate for most applications.
CLOCK TO INTERNAL
CIRCUITRY
2·5
"
o
~M
I.t)
appli.cation h ihts (Continued)
~
~
VDD
r-
25
VDD
VSS
EXTERNAL 13
CLOCK RESET t----t-----.
• 5
LMANUAL
I RESET
VSS
FIGURE 1
2·6
Counters/Timers
Is 7 6 5
OSC OUT
DIVIDER
r-- - OUTPUT
1 2 J
14 FIGURE 2.
DIVIDER Vss Nc Nc
(60Hz)
OUTPUT TOP VIEW
FIGURE 1.
2-7
absolute maximum ratings
electrical characteristics
T A within operating temperature range, Vss = GND, 3V ~ Voo ~ 15V unless otherwise specified.
functional description
2-8
functional description (cant.)
110
100
90 1
OSCIN- ------- -OSCOUT if
80
)(
70 t-"S~AND~RD" ~M53~9N- ~ I-----
RI /
> 60
20M *:::::1k
'"c 50 L'"
V V
0 :;: 40
V
-
Q
C2 30
[Z
30pF 20 -~ I---"
VOO OR VSS 10
0
10 20 30 40 50 60 70
I
DUTY CYCLE (%1
2.5
2.0
E 1.5
!::!
0
1.0
.-J I
~
26875 I
0
I 32.784
COUNTS - - I - - - - - COUNTS - - -
f-o-~-----59.659COUNTS-------1·
0.5
MHz
FIGURE 6. Typical Current Drain Vs Oscillator Frequency FIGURE 7. Output Waveform for Standard MM5369
2-9
CO'unters/Timers
For additional application information, see
AN-168 and AN-169 at the end of this section.
2-10
absolute maximum ratings
Voltage at Any Pin Vss + 0.3V to Vss - 25V
Operating Temperature -25°C to +70°C
Storage Temperature -65°C to +150°C
Lead Temperature (Soldering, 10 seconds) 300°C
electrical characteristics
T A within operating range, 7V -::; Vss -::; 20V, Voo = OV, unless otherwise specified.
Input Levels
Input Logic Low Internal Resistor Voo V oo +l V
Input Logic High -lOOk to Voo Vss-l Vss V
OUTPUT CURRENTS
2-11
functional description
A block diagram of the MM5865 Universal Timer is Voo to Vss switches the display from counter 2.10
shown in Figure 1. A connection diagram is shown in counter 1. Repetitive Start·Stop transitions switch the
Figure 2. Unless otherwise indicated, the following display between counter 2 and counter 1.
discussions are based on Figure 1.
Function 1 Function 2
In Function 1, counters 1 and 2 count up beginning In Function 2, counter 1 and 2 count up beginning with
with a transition on the Start·Stop pin from V DO to a transition on the Start·Stop pin. Counter 2 is displayed
Vss. Counter 2 is shown counting. A second transition counting. A second transition on the Start·Stop pin
from Voo to Vss on the Start·Stop pin inhibits the inhibits the clock pulses to both counter 1 and counter
clock pulses to counter 2, stores and displays the con· 2, stores and displays the contents of counter 2. The
tents of counter 2. Counter 1 continues to count. The third transition on the Start·Stop pin resets counter 2,
third transition from Voo to Vss on the Start·Stop enables the clock to both counters and displays counter
pin resets counter 2, enables clock pulses to counter 2 2 counting.· Subseque'nt Start·Stop transitions repeat
and· displays counter 2 counting. Subsequent Start· this sequence. At the conclusion of the last event to be
Stop transitions repeat this sequence, all this time timed, a Final Event Stop transition. inhibits the clock
counter 1 continues to count. At the conclusion of to both counters and displays counter 2. A Start·Stop
the last event to be timed, a Final Event Stop transition transition switches the display from counter 2 to
from Voo to Vss inhibits the clock to both counters counter 1. Repetitive Start·Stop transitions switch the
and displays counter 2. A Start·Stop transition from display between counter 2 and counter 1.
POWER·ON
RESET
fORCESTO--+
THIS STATE
fiNAL
r------..;~ EVENT
STOP
NO NO
YES
NO
'--------'
2-12
functional description (con't)
Function 3 Function 4
In Function 3, counter 1 and 2 count up beginning with In Function 4, counter 2 counts up beginning with a
a transition on the Start·Stop pin. Counter 2 is displayed transition on the Start·Stop pin. Counter 2 is displayed
counting. A second transition on the Start·Stop pin counting. A second transition on the Start·Stop pin
stores and displays the contents of counter 2, resets stores and displays the contents of counter 2. Subse·
counter 2, and initiates a new up·count in counter 2; quent Start·Stop transitions update the display. of
however, the new up·count is not displayed. Counter 1 counter 2. A transition on the Latch Control pin will
continues to count. A transition on the Latch Control display counter 2 counting until a transition on the
pin will display counter 2 counting until another transi· Start·Stop pin. A Final Event Stop transition inhibits the
tion on the Start·Stop pin. A Final Event Stop transition clock pulses to counter 2 and displays the contents of
inhibits the clock pulses to both counters 1 and 2 and counter 2.
displays the contents of counter 2. A Start·Stop transi·
tion after the Final Event transition switches the display
from counter 2 to counter 1. Repetitive Start·Sto"p
transitions switch the display between counter 2 and
counter 1.
POWERON
2·13
functional description (con't)
Function 5 Function 6
In Function 5, counter 1 and 2 count up beginning with In Function 6, counter 1 is displayed at power-on or
a transition on the Start-Stop pin. Counter 2 is displayed reset. Counter 1 is set to a specific count by Program
counting. A second transition on the Start-Stop pin Digit 1-4 pins. Then the comparator is enabled. Counter
inhibits the clock pulses to counter 2, and the contents 2 is displayed counting up beginning with a transition
of counter 2 are displayed. Counter 1 continues count- on the Start-Stop pin. When counter 2 is coincident with
ing. The third Start-Stop transition enables the clock counter 1, the clock pulses to counter 2 are inhibited,
pulses to counter 2 and counter 2 is displayed counting. the contents of counter 2 are displayed and the Com-
Subsequent Start-Stop transitions repeat this sequence, parator Output is enabled. Upon the transition of Reset,
all the time counter 1 continues counting. At the conclu- ,counter 1 is again displayed with the time that was set,
sion of the last event to be timed, a Final Event Stop and the Comparator Output is disabled. Counter 1 can
inhibits the clock pulses to both counters 1 and 2, and be reprogrammed by the Program Digit 1-4 pins if
displays counter 2. A Start-Stop transition switches desired. A Start-Stop transition repeats the sequence.
the display from counter 2 to counter 1. Repetitive
Start-Stop transitions switch the display between counter If the Comparator Output pin is connected to the
2 and counter 1. Reset pin, Automatic Reset will occur; however,this
connection must be broken during digit programming.
POWER-ON
NO
'---------'
2-14
s:
functional description (can't) s
(J'1
Function 7 CO
en
(J'1
In Function 7, counter 1 is displayed all the time. Stop to affect the counters, it must be held to V ss,
Counter 1 is set to a specific count by Program Digit a logic one. Logic zero results when the pin is tied to
1-4 pins. Then the comparator and Control C1 In V DO or left floating (internal pull-Up to V DO).
are enabled. Pin 4 and pin 35 must be floating or con·
nected to V DO during digit programming. Counter 1 Final Event Stop/Comparator Output
counts down from the set count beginning with a
transition on the Start-Stop pin. When counter 1 counts This pin is used to indicate to the circuit that no more
down to zero, the clock pulses to counter 1 are inhib- events will be timed or counted. Final Event Stop affects
ited and the comparator Output is enabled. This is not the circuit when it is held to Vss. There is an internal
repeatable without setting a new count into counter 1. pull-Up to V DD • This pin is also an output pin, Vss
The comparator and Control C1 In must be inhibited indicates comparison between the two counters.
and a reset pulse must occur before the new count
may be entered. Divide Scale Inputs
DIVIDE
COUNTER 1 COUNTER 2
SCALER
1 2 3 D4 D3 D2 D1 D4 D3 D2 D1
0 0 0 10 10 10 10 10 10 10 10
1 0 0 6 10 10 10 6 10 10 10
0 1 0 10 6 10 10 10 6 10 10
1 1 0 10 10 6 10 10 10 6 10
0 0 1 10 10 10 10 10 10 10 10
1 0 1 10 10 10 10 6 10 10 10
0 1 1 10 10 10 10 10 6 10 10
1 1 1 10 10 10 10 10 10 6 10
Comparator Enable
This input will reset all logic and counters in Functions TABLE II. Resolution Select Code
1-5 and Function 7. In Function 6, Reset will reset
logic but not counter 1. Reset is internally pulled to RESOLUTION FREQUENCY
SELECT DISPLAY
V DD , or a logic zero. For a reset to occur, the Reset pin OF CLOCK TO
1 2 COUNTERS RESOLUTION
must be held to Vss , a logic one.
0 0 100 Hz 0.01 sec
Start-Stop 0 1 10 Hz 0.1 sec
1 0 1 Hz 1 sec
This input is used to control the counters. How it affects
1 1 External
the counters is explained in each function. For Start-
2·15
functional description (con 't)
Clock In/Out plex Output pin is four times the internal multiplex
rate. To use the MUltiplex Output pin, the Multiplex
This pin is either an input or output depending on the Input pin must be tied to Voo. The Multiplex Input
code at the Resolution Select inputs. If the pin is used as must b~ used if the oscillator pins are not used. If the
an output pin, it will output the clock frequency the Multiplex Input pin is used, OSC IN, OSC OUT and the
Resolution Select inputs have selected. When used as an blanking output are not used.
input, an external clock is used to clock the counters.
Control C1, C2 In and Control C1, C2 Out
Blanking Output
These four input pins are used to cascade two chips
This output is used to blank the display at the beginning together. When the Control C1 In pin is floating (inter-
and end of each digit time to allow for internal delay nal pull·up to V oo ) or tied to V oo , the clock pulses to
between two cascaded chips, see Figure 3. The display counter 1 are inhibited. When Control C1 In is at Vss ,
is blanked when the Blanking Output is at V DO. counter 1 is enabled. Control ClOut is at Vss when
counter 1 is at it s maximum count, and it is floating
i------1Dms-----+-+_ at all other times. The Control C1 In pin must be
DIGITI Vss
CHIP 1 Voo floating (or connected to V DO) while digit program-
DIGIT 1 ming in Function 7. Control C2 pins operate on counter
CHIP2
DIGIT2
2 in a similar manner.
CHIP 1
DIGIT2 _______~r_lL________________~1 Program Digits 1-4
CHIP2
DIGIT 3 ____________ ~r_lL _________________
CHIP 1 These four input pins are used to program or set any
DIGIT 3 ______________~r_l~_______________ count desired in counter 1 in Functions 6 and 7. When
CHIP2
Program Digit 1 is at Vss, the least significant digit of
DIGIT 4 ______________~r_l~__________
CHIP 1 counter 1 advances at a 2.5 Hz rate. There is no carry-
""'''~
===
over from digit to digit. Program Digit l.has no effect if
CHIP2
tied to V DO or left floating (internal pull-up to V DO).
BLANKING Vss Only one Program Digit input may be held to Vss at'
OUTPUT Voo
a time.
1.25ms ~
Program Digit 1/Latch Control
1
o.03ms:
~LL r
D122ms
This input has two functions; besides setting a count in
digit 1 of counter 1 in Functions 6 or 7, it also affects
FIGURE 3. Blanking Output Functions 3 and 4. In Functions 3 and 4, this input
allows the display to show counter 2 counting as des-
Oscillator In and Out cribed in FU.nctions 3 and 4.
A quartz crystal, resonant at 32.8 kHz, two capacitors Program Digit 4/Waiting State Indicator
and one resistor, together with the internal MOS circuits
This input besides setting a count in digit 4 of counter 1
form a crystal controlled oscillator as shown in Figure 4.
Varying one of the capacitors allows precise frequency in Functions 6 and 7, also indicates that the chip has
settings. For test purposes, OSC IN is the input and OSC been reset and is in the stand-by mode at power-on. In
OUT is the output of an inverting amplifier. Functions 1-5, the Waiting State Indicator is at Vss
until a Start-Stop transition has occured .. Once a Start-
Vss Stop transition has occured, the output remains at Voo.
Output Circuits
FIGURE 4. Crystal Oscillator For BCD and Digit Outputs, Vss is a logic one. Figure 5
illustrates the circuit used for all outputs except for
Multiplex Input and Output Control C1, C2'Out. The Control C1, C2 Out circuit is
illustrated in Figure 6. Figure 7 illustrates the simple
The Multiplex Input pin allows an external multiplex interface needed for an 8-digit stop-watch. Figure 8
rate to be used in the chip. The multiplex rate inside the' illustrates the MM5865 being used to count how many
chip is one fourth the MUltiplex Input and Multiplex events occur in a specified time. Figure 9 shows the
Output rate. When using the Multiplex Input .pin, the MM5865 as a simple industrial counter when the input
Multiplex Output pin must be tied to Vss. The Multi- clock is a constant frequency above 400 Hz.
2-16
functional description (can't)
a(DATA)~~VSS
~ OUTPUT ",",,,,o---(>---1~"
~CONTRDLCI
PAD
OUTPUT
VDD
,---b
.
I
9
II
.II]
I.
I
[ :II It J] lr [
J II J I:.
l] ~~.=~
,.-c
,.-d
.-- . II. II: :'
D.P.
I :II "ll I :1: I]: :1] I] IL.-JU
L
150
(1)
,----
n16 9 n18 10
MM14511 DM8863
I 500 I
~ tJ L 8 (1 I
I
I
I 9
2N3904
GND
I
+10V 0 - - - -
MM5865 MM5865
~---(/
2
3
4
5
---L.,FINAL
f---o EVENT
f---o
---L., RESE T
---L., ST ART!
~ STOP LATCH
~2-J CONTROL
r-
~ Di,pl.vread,12h 34m 56.18,
I ~~r
Maximum tim. 99h 59m 99,
Decimal point indicates waiting state
DISPLAY ~
~25PFT
INHIBIT
6-25pF-
2·17
LO
(0
(Xl functional description (con 't)
LO
~
~
TIME EVENT
.
I
9
~ ~~~ ~~~ rr----9ab
r--'
~ ~~
~ :~
b r--
LL J~,
150
(7)
I
MMI4511
,I I
OMB863
I
1
L I-
8
11
9
PROGRAM
DIGIT
---L- 4
~---L-3
~
~o-
--1..-1
~I
GNO
I 1 J I I
40 I 30 If ZI 140" II I 30 I Ilzl
+10V 0 - -
MM5865 MM5865
~COMP
1 I I I I I I 101
"ll f-f---
ZO 111 I II I II 1101
I
1
I I Izo
~
f--o--1..- RESET
~--L START/STOP
EVENT
(CLOCK IN)
,--
ZOM Display 15 events have occured in 1 minute
Maximum.venl,99.999.999
HO~
Maximum Time 99m 59s
F
6-Z5pF -:: Z5 PF
T
FIGURE 8. Application of MM5865 to Count Events in a Specified Time
2-18
functional description (con't)
;---b
.
1
9
~ c=J~ =~
~=~
. ~ ~: :~
r----- c
r-- d
150
(7)
116 9 1 18111111111
I
MM14511
.....- 1~ f-U8
I
_-.J 1
OM8863
I
9
'-----
'I I
GNO
<10V
111 I I I I I 1 10 I 1I I I 120
CLOCK I 1
~( RESET
L/, START/STOP
Oisplav readsa count 01 1234
Maximum count 9999
2·19
Counters/Timers
DIVIDER
OUTPUT
MM53107
t
VDD
FIGURE 1
DIVIDER VSS NC NC
(60 Hz)
OUTPUT
TOP VIEW
FIGURE 2
2·20
absolute maximum ratings
Voltage at Any Pin -o.3V to VCC + 0.3V
Operating Temperature O°C to +70°C
Storage Temperature -65°C to +150°C
Package Dissipation :.500 mW
Maximum VCC Voltage 6V
Operating VCC Range 2.5V to 6V
Lead Temperature (Soldering, 10 seconds) . 300°C
electrical characteristics
T A within operating temperature range, VSS = Gnd, 2.5V":; VDD":; 6V unless otherwise specified.
functional description
A connection diagram for the MM53107 is shown in The. network shown provides> 100 ppm tuning range
Figure 2 and a block diagram is shown in Figure 1. when used with standard crystals trimmed for CL =
12 pF. Tuning to better than ±2 ppm is easily obtainable.
DIVIDER
TIME BASE A pulse is generated when divider stages 1-4, 16 and 17
A precision time base is provided by the interconnection are in the correct state. This pulse is used to set or reset
of a 2,097,152 Hz quartz crystal and the RC network individual stages of th.e counter, the modulus of the
shown in Figure 3 together. with the CMOS inverter/ counter is 34,952.
amplifier provided between the Osc In and the Osc Out
termi nals. Resistor R 1 is necessary to bias the inverter OUTPUT
for class A amplifier operation. Capacitors Cl and C2 The Divide Output is the input frequency divided by
in series provide the parallel load capacitance required 34,952. The output is a push-pull output. A typical
for precise tuning of the quartz crystal. application of the MM53107 is shown in Figure 5.
""
Rl
20M : ',lk
1 2.168 1...._ _ _ _ _ --11 : : :
32_.78_4_ _ _
e - - - - - tJ 0 I~--...~
-~ Cl 2.0~7.152IHZ
-r- 5-36 pF CL = T
12 pF
- - C2
30 pF
VDDDRVSS~.----------------------~
*To be selected
. based on the crystal used
FIGURE 3. Crystal Oscillator Network FIGURE 4. Duty Cycle
2-21
functional description (Continued)
12V
VOO VOO
8 60 Hz
20
VOO
20M
MM53107 --1...
HOLO --+ 19
....L Ox
3V
SET HRS --+ 18 241+~--------:"-.,
231+0~y_ _ _ _ _ _ _ _- - ,
L...-_ _ _ _ _ _ _ _ _-.VSS --1... 221..,.O-"Z_ _ _ _ _ _ _- - ,
SETMINS 17
9V
MANUAL TV "ON"· 14
MANUAL TV "OFF" 15
MM53100
DISPLAYSELECT 16
12V
ENABLE
STANDBY
12V TV"ON"
50/60 Hz
OUTPUT
""O---"S.;.;EL;.;;.EC;;.;.T---\ 21
6.Bk
15 I---'lMr--I
VIOEO
OUTPUT 0:-
..nnn.. OV r--------,
18 12V
HORIZ.
6.8k
J1J1 r-----...,..,.,.,.=,-----....;.;;.;~12
13
19 "'V""E""RT'"".- -.....- - ,
MM5840
).'
2k
.,,""""
~:18
~
CHANNEL
>------t 22
> - - - - - - \ 23
UNITS 1 6 1 - - - - - - 4 . . -.........- - . HORIZONTAL
>------\24
POSITION
{
>-----125 17 1--4-JVt.'fv--e ADJ.
12V
. 8>------1
e_' , 2.22
Counters/Timers
introduction
A single chip universal counter and timer is now available Therefore, one or two MM5865s along with two other
from National Semiconductor Corporation through integrated circuits and a 4- or 8-digit display may be
distributors of their products. used in the following applications:
The MM5865 universal timer contains, in one 40'pin 1. Photographic enlarger timer, with each digit indi-
package, two 4-digit count.ers, oscillator, 18-stage divider, vidually programmable
multiplexer, and all the logic required to control the
2. Stopwatch
counters, blank leading zeros, compare the two counters,
3, General purpose timer
program one of the counters, and cascade two MM5865
integrated circuits. 4. Event timer/counter
The MM5865 provides input pins for seven modes of 5. Rally timer
timing and/or counting operations. When the chip is 6. Navigational timer
used as a timer, two input pins may be programmed to
provide a display resolution of 0.01 second, 0.1 second, 7. Industrial timer/counter
1 second, or external clock. In addition, the modulo by
which the counters divide may be programmed using The MM5865 may also be used as a frequency counter,
or it may be used as the time reference of a larger
three divide scaler input pins.
frequency counter. The maximum oscillator frequency
The outputs include the comparator output, multiplexed of the MM5865 is 80kHz; the maximum clock input
BCD segment oUtputs, ·and digit enable. The BCD seg- frequency is 100kHz.
ment outputs interface directly with the MM 14511
(CD4511), a BCD to 7-segment latch/decoder/driver
which interfaces with an LED display. The digit enable how the MM5865 operates
outputs of cascaded MM5865s interface directly with a
DS8863 (DM8863), an MOS to LED 8·digit driver. A
single MM5865 interfaces directly with a DS8877 or As can be assumed from the brief description above, the
DS75492 6-digit driver. MM5865 is a very powerful :integrated circuit, capable
of many appl ications. Therefore, in order to fully stim-
When a suitable crystal is used with the MM5865 oscil-
ulate the imagination of readers, its repertoire will be
lator, the counters of a single chip (or those of two chips
presented in detail.
cascaded) may ,be used as timers with the following
functions: A block diagram of the MM5865 universal timer is shown
in Figure 1, and the connection diagram is shown in
1. Counter 2: Start-Stop timing
Figure 2. As nearly as possible, all technical t~rms in the
Counter 1: Total elapsed time
following discussion conform to definitions presented
2. Counter 2: Start-Stop timing in the Radio Shack Dictionary of Electronics, edited by
Counter 1: Total accumulated time Rudolf F. Graf.
3. Counter 2: Sequential event timing
Counter 1: Total elapsed time Multiplexer
4. Counter 2: Split-timing with total elapsed time Because of the internal multiplexer, only one BCD to
Counter 1: Not actively used 7-segment latch/decoder/driver need be used to inter-
face one or two MM5865s to a suitable display. The
5. Counter 2: Total accumulated time
multiplexer may be controlled in three ways.
Counter 1: Total elapsed time
An externally generated multiplex frequency may be
6. Counter 2': Up counter
applied. to the Multiplex Input pin of the MM5865. An
Counter 1: Programmable counter
external clock is then applied to the Clock Input pin.
7. Counter 2: Programmable down counter (For example, an LM555C may be used as a square-wave
Counter 1: Not actively used oscillator to provide the necessary input to pin 23.)
2-23
PROGRAM CONTROL ClOUT
OIGITS 1-4
OIVIOE
SCALER
FUNCTIONS
1-7 . BCO OUTPUTS
CONTROL
LOGIC BUFFER
CONTRO L Cl IN
OIGIT OUTPUTS
CONTROL C2 IN
RESET
START/STOP
FINAL EVENT
RESOLUTION
SELECT ..:.._ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _..J
2-24
»
:2
Oscillator Control Logic
Figure 3 shows how external components may be The block labeled "Control Logic" con~ains the logic
connected to the Oscillator Input and Output pins. A required to select one of the seven functions, reset all
frequency counter used to adjust the frequency of the logic and counters, start and stop the counters, indicate
oscillator may be connected to the Oscillator Output pin that a final event has occurred, and display counter 2 in
through a 50pF capacitor. Functions 3 and 4.
The selection of a function is accompl ished by connect-
Vss
ing one of the seven function pins to Vss; the other six
function pins are left fl~ating.
The Reset Input will reset all logic and counters in
Functions 1 - 5 and Function 7. In Function 6, Reset
~----~--~"TO will reset logic and counter 2, but not counter 1. For
OIVIOER
CIRCUITS reset to occur the Reset pin must be momentarily
connected to Vss. Internal control logic provides power-
on reset, however, to insure proper power-on resetting
of all logic and the counters a lOflF, 3.5V Solid Tantalum
VOO
Capacitor (Allied #852-5680) should be used across the
Vss - Voo power busses.
INTERNAL In Function 6, the Reset Input pin may be connected
to the Comparator Output pin in order to automatically
reset logic and counter 2. When this connection is made,
a Start/Stop transition is all that is needed to repeat the
Figure 3. Crystal oscillator connections. up count of counter 2.
The Start/Stop Input is used to control the counters by
Divider momentarily connecting pin 14 to Vss. The manner in
which this input affects the counters during the execu-
The divider stages produce the blanking output by tion of each function will be explained as the descrip-
dividing the oscillator input frequency by 41. This tions of the functions are given.
output is used to blank the display at the beginning and
end of ea'ch digit time to allow for internal delay between The Final Event Stop/Comparator Output pin is used to
two cascaded chips. The display is blanked when the indicate to the circuit that no more events will be timed
Blanking Output is at Voo. or counted. Final Event Stop affects the circuit when it
The divider stages then divide the blanking output by 2 is momentarily connected to Vss. When this pin is used
to generate the Multiplex Output. The frequency which as the comparator output, a VSS level at the pin indicates
appears at the Multiplex Output pin is further reduced in comparison between the two counters.
frequency by the divider stages so that the Resolution
Sclect pins may be used to program the resolution of the Additional Control Logic
display. Table I shows how these two inputs are used to The three Divide Scaler inputs permit the counters to
select the frequency ot'the internal clock pulses to be be programmed to count in Modulo 6 or Modulo 10.
applied to the two counters. The frequencies and display Table /I sh~ws the possible codes which may be applied
resolutions for an oscillator frequency of 32.8kHz are to the Divide Scaler pins. A zero indicates that the pin
given. is left floating (or connected to Voo); a one indicates
that the pin is connected to VSS'
2-25
For example, if the Resolution Select pins are program- function switch is switched to function 7), the compara-
med to give a 1 second display resolution (code "10") in tor must be disabled by 1) disconnecting the Comparator
a stopwatch application, and if the Divide Scaler code is Enable pin from IVSS, and 2) momentarily connecting
"110," then the maximum possible count for both the Reset pin to Vss; this must be done before the digits
counters 1 and 2 would be 9959 (99 min, 59 sec). This are programmed. This is necessary, of course, because
means that the unit minutes display will advance by one connecting the Reset pin to'Vss after digit programming
digit every 60 seconds. will simply reset counter 1 to "0000." In function 6, a
Connecting pin 4 to V ss' enables the comparator. In Reset transition after digit programming does not reset
functions 1 -.5 the Comparator Enable pin must be left counter 1 to "0000."
floating (or connected to Voo). In function 6 the
In addition, the Control Cl In pin (pin 35) must be
Comparator Enable pin must be connected to Vss after
floating (or connected to Voo) during digit programming
digit programming; if the Comparator Enable pin is con-
in function 7. After digit programming, the Control Cl
nected to Vss (comparator enabled) at power on, the
In pin must be connected to VSS before the count-down
Reset pin must be momentarily connected to Vss before
begins. A DPDT, Center "OFF" switch connected as
a Start/Stop transition will begin the counter 2 count-up.
shown in Figure 4, may be used to control both the
In function 7, if the Comparator Enable pin is floating Comparator Enable pin and the Control Cl In pin. In
(or connected to Voo) when power is applied to the one position the DPDT switch connects the Control Cl
chip, or when the function switch is switched to func- In pin to Vss for functions 1 - 5. Digit programming may
tion 7, the Comparator Enable pin must be connected to be accomplished in function 7 by placing the switch in
Vss after digit programming as in function 6; however, the Center "OFF" position. In the third position both
in function 7, if the Comparator Enable pin is connected the Comparator Enable and the COl1trol Cl In pins are
to Vss (comparator enabled) at power on (or when the connected to Vss for functions 6 and 7.
~» ~
12
NSA398 13
R3-R9
.:. »::
'~
14 2 10
~»
4 9
:~:~.~ »
.'. >. ... > ... » .~
...
>R2
~
15 14 13 16112 11 10 181 7 5 4 1
~ C014511
4 5 7 1 2 6 8
~
2 3
OS8863
6 8 9
J
VOO
I
~-.J 1-
-
+" -.
VSS
- r---
~~~.-:~.-:~~
Sl
~4~
INHIBIT
~9 ENABLE
S6 S9
-y'y'y'ql
40 393837 36
18
2433323130 292827 2623
21-
r
4 MM5865 20 ~I---
FUNCTION _
:N~
35
2 5 6 7 8 9 1011 12 1314 17 19 Rl: E5 XT:L
COMP
ENABLE
1
I
...
-=r C31V
/II
L
FF l+stt- 4 5 6 7 8
S4 __
-vu----
o 0-- ~ FUNCTION AUTOMATIC
FUNCTIONS SWITCH RESET
1-5
~
y')~ EVENT f)~
S5 1 FINAL SII MANUAL S12 ~ START/STOP
S10 RESET
y'
Figure 4. Stopwatch/Timer application showing the c~nnections for a single MM5865. Two cascaded MM5865s may also be used, as
described in the text.
2·26
l>
;2
I
~
Pins 36 - 39, the Program Digit 1 - 4 pins, are used to must be provided if every digit of the display is to be en
program a desired count into counter 1 when using programmable. In addition, another switch would have CO
functions 6 and 7. When any of the four Program Digit to be provided to break the pin 39 connection between
pins are connected toVss, the display digit of counter 1 the two chips in functions 6 and 7. Of course, all of the
associated with that pin advances at a 2.5 Hz rate (assum- switching action could be provided by one ganged
ing the oscillator frequency is 32.8kHz). The Program rotary switcfl if desired; even the function 6 Reset to
Digit 1 pin advances the least significant digit of counter Comparator Out connection could be. accomplished if
1; the Program Digit 4 pin advances the most significant the proper switch were used.
digit. There is no carryover from digit to digit, and only
one Program Digit Input may be connected to Vss at Electrical Characteristics
a time. The maximum supply voltage which may be connected
The Program Digit 1 pin also functions as a counter 2 between Vss and V DD (VOD = OV) is 20V. National
latch control in functions 3 and 4. In functions 3 and 4, specifies that the minimum voltage. at which the chip
momentarily connecting the Program Digit 1/Latch will operate is 7V; however, some chips will operate well
Control pin to VSS permits the display to show counter down to Vss = 5V. With a 9V transistor battery used as
2 counting. the power supply, and display inhibited, the power
The Program Digit 4 pin also serves two purposes; in supply current will be approximately 7mA to 15mA for
functions 1 - 5 this pin indicates that the chip has been a one-chip stopwatch.
reset and is in the standby mode at power-on. Visual The maximum input frequency at the oscillator is 80kHz;
indication of ' this condition may be accomplished by however, the oscillator and dividers are designed for stop-
connecting a transistor between the Program Digit 4/ watch appl ications using a 32.8 kHz crystal. (A
Waiting State Indicator pin and the Segment DP Anode 32.768kHz crystal, available from Quest Electronics,
of a multiplexed display. With the transistor connected P.O. Box 4430 E, Santa Clara, CA 95054, may be used
as shown in Figure 4, the Waiting State Indicator pin will without much loss in accuracy.)
be at V SS at power-on until a Start/Stop transition Drivers must be provided for the Digit and BCD Outputs.
occurs. After a Start/Stop transition occurs, the Waiting Two MM5865s interface directly with the MM14511'
State Indicator pin will remain at Voo until power is Segment Driver and the pS8863 Digit Driver. A DS8877
removed from the chip. or DS75492 Hex Digit Driver may be used with a single
MM5865.
Leading Zero Blanking
In functions 1 - 5, leading zeros are blanked for both The Seven Functions
'Counters. In functions 6 and 7, counter 2 has leading The one-chip circuit shown in Figure 4 indicates all
zero blanking but counter 1 does not. At power-on the connections necessary to employ the MM5865 as a 4-
display is blank (or all decimal points if the Waiting digit stopwatch/timer. The seven available functions will
State Indicator pin is used) in functions 1 - 5; all zeros be described using this figure, in which ·the desired
are displayed in functions 6 and 7. function is selected by switching S5. When necessary,
refer also to Figures 1 th rough 3.
Control C1, C2 In and Control C1, C2 Out
These four pins are used to cascade two chips together.
Function 1
In this mode of operation the primary MM5865, which
is directly controlled by the crystal oscillator, connects In function 1, at power-on (S1 closed) four decimal
to another MM5865 in the following manner: the points are visible on the display, indicating that the
Control C1 In pin of the primary chip is connected counters have been reset, but not necessarily all logic.
to Vss except during digit programming in function 7; If the Comparator Enable pin is connected to Vss (S3
the Control C1 Out pin connects to the Control C1 In in Function 6 - 7 position) at power-on, a Start/Stop
pin of the other MM5865; the Control C2 In pin of the transition (obtained by momentarily closing S12) will
primary chip is connected to Vss; the Control C2 Out cause the decimal points to disappear from the display;
pin connects to the Control C2 In pin of the other however, the chip will not begin counting. First it is
MM5865; the Control C1 Out and the Control C2 Out necessary to place S3 in the Functions 1 - 5 position,
pins of the second chip are left floating. then to reset the logic (by momentarily closing S11).
When the Control C1 In pin is floating (or connected Once all logic is reset (either by applying power with S3
to Vool. the clock pulses to counter 1 are inhibited_ in the Functions 1 - 5 position or by the method dis-
When the Control C1 In pin is connected to VSS, counter cussed above), a Start/Stop transition will cause both
1 is enabled. Control C1 Out'is at Vss when counter 1 is counters to begin counting up. The up-count of counter
at its maximum count, and it is floating at all other 2 is displayed, the least significant digit advancing at a
times. The Control C2 pins affect counter 2 in a similar 1 Hz rate. A second Start/Stop transition inhibits the
manner. clock pulses to counter 2 and stores and displays the
contents of counter 2; however, counter 1 continues to
Other possible connections between the two chips are: count. A third Start/Stop transition resets counter 2,
1) all function pins connected together, 2) pins 12, 13, enables clock pulses to counter 2 and, again, displays
14, and 15 connected together, 3) all BCD pins con- counter 2 counting up. Subsequent Start/Stop tran-
nected together, and 4) pins 39 connected together in sitions repeat this sequence. Counter 1 continues to
functions 1 - 5 only. count, from the time of the first Start/Stop transition,
When two MM5865s are cascaded as described above, until the occurrence of a Final Event Stop transition
eight momentary switches or individual electrical signals (obtained by momentarily closing SlO). A Final Event
2-27
Stop transition inhibits the clock pulses to both counters transition stores and displays the contents of counter 2.
and displays counter 2. After this Final Event Stop Subsequent Start/Stop transitions update the display of
transition has occurred, a Start/Stop transition switches counter 2. A Latch Control transition will display
the display from counter 2 to counter 1. Each subse- counting until the occurrence of a Start/Stop transition.
quent Start/Stop transition alternately displays one of This Start/Stop transition, following the Latch Control
the counters. transition, does not reset counter 2 as it does in function
3. Rather, counter 2 continues to count up. A Final
To summarize, in function 1 both counters start counting
Event Stop transition inhibits' the clock pulses to
up with an initial Start/Stop transition. Counter 1
counter 2 and displays the contents of counter 2. A
continues to count (recording total elapsed time) until
Reset transition at any time resets counter 2 to "0000."
a Final Event Stop transition. Counter 2 (alternately)
starts, then stops counting with each Start/Stop transi-
tion (timing as many intervals as desired!. until a Final
Event Stop transition. Any time a Reset transition Function 5
occurs both counters are reset to "0000" and the display
Again, in function 5 the power-on conditions are the
blanks.
same as those in functions 1 - 4. Once all logic is reset a
Start/Stop transition causes both counters to begin
Function 2 counting up. Counter 2 is displayed counting. A second
The only difference between functions 1 nnd 2 is thnt in transition on the Start/Stop pin inhibits the clock pulses
function 2, whenever a Start/Stop transition inhibits the to counter 2, and the contents of counter 2 are dis-
clock pulses to counter 2, the clock pulses to counter 1 played. Counter 1 continues to count. A third Start/
are also inhibited. Start/Stop transitions which reset Stop transition enables the clock pulses to counter 2;
counter 2 and enable clock pulses to counter 2 also counter 2 resumes counting where it left off, and counter
enable clock pulses to counter 1; counter 1 does not 2 is displayed counting.
reset, however. The up-count in counter 1 resumes at the Subsequent Start/Stop transitions repeat this sequence
stored count; therefore, counter 1 records total accumu- with counter 1 counting continuously. A Finnl Event
lated time. Stop transition inhibits the clock pulses to both counters
and displays counter 2. A Start/Stop transition switches
the display from counter 2 to counter 1. Repetitive
Function 3
Start/Stop . transitions switch the display between
In function :3 the power-on conditions are the same as counter 2 and counter 1. A Reset transition at any time
those in functions 1 and 2 .. Once all logic,is reset a Start/ resets both counters to "0000."
Stop transition causes both counters to begin counting
up Counter 2 is displayed counting. A second Start/Stop
transition stores and displays the contents of counter 2, Function 6
resets counter 2, and initiates a new up-count. However, At power-on in function 6, counter 1 is displayed with
the new up-count is not displayed. Counter 1 continues "0000." If the comparator is enabled (S3 in the
to count. The initial count remains displayed until a Function 6 - 7 position) at power on, a Reset transition
third Start/Stop transition. This third Start/Stop transi- (obtained by momentarily closing S11) is necessary
tion and subsequent Start/Stop transitions repeat the before a Start/Stop transition can begin the counter 2
sequence described above, indicating the length of time count-up.
between successive Start/Stop transitions. Counter 1 is prog'rammed to the desired count by
The occurrence of a Latch Control transition (obtained holding each of the four Digit Programming Switches
by momentarily closing S5) any time after the second Closed in turn. The comparator must then be enabled by"
Start/Stop transition will cause counter 2 to be displayed placing S3 in the Function 6 - 7 position (unless it was
while counting. The count will continue to be displayed already enabled at power-on). Counter 2 is displayed
until a Start/Stop transition. This Start/Stop transition counting up beginning with a Start/Stop transition.
also stores and displays the contents of counter 2 and When counter 2 is coincident with counter 1, the clock
then resets counter 2. As before, counter 1 continues to pulses to counter 2 are inhibited, the contents of
count, but counter 2 begins a new count. counter 2 are displayed, and the Comparator Output is
enabled. A Reset transition after the counter 2/counter 1
A Final Event Stop transition inhibits the clock pulses coincidence disables the Comparator Output and
to both counters and displays the contents of counter 2. displays counter 1 with the programmed time. The Reset
A Start/Stop transition occurring after the Final Event transition can be obtained either by momentarily'
Stop transition switches the display from counter 2 to closing S11 or by connecting the reset Input pin to the
counter 1. Repetitive Start/Stop transitions switch the Comparator Output pin after Digit Programming so that
display between counter 2 and counter 1. Any time a logic and counter 2 are reset automatically whenever
Reset transition occurs, both counters are reset to counter 2 is coincident with counter 1.
"0000" and the display blanks.
After each Reset transition, subsequent Start/Stop
transitions repeat the sequence. Counter 1 may be- re-
Function 4 programmed after any Reset transition, if desired. If a
In function 4 the power-on conditions are the same as Reset transition occurs while counter 2 is counting up,
those in functions 1 - 3. Once all logic is reset 8 Start/ the clock pulses to counter 2 are inhibited, counter 2
Stop transition causes counter 2 to begin up-counting. is reset, and counter 1 is displayed with the programmed
Counter 2 is displayed counting. A second Start/Stop time.
2-28
»
:2
~
If a Start/Stop transition occurs while counter 2 is output drive capability of 25mA. The DS8863 is an en
counting up, the clock pulses to counter 2 are inhibited 8-digit driver; each driver is capable of sinking up to CO
and counter 1 is displayed with the programmed time. 75mA. The MM14511 may be operated at supply
With the next Start/Stop transition, counter 2 resumes voltages up to 15 V; however, the DS8863 cannot be
counting where it was stopped. operated with supply voltage greater than 10V. For
operation with supplies up to 18V, the DS8963 is a
If the Reset Input pin is not connected to the
direct replacement for the DS8863.
Comparator Output pin and if a Final Event Stop tran·
sition occurs while counter 2 is counting up, the clock
The NSA398 is a 9-digit common cathode LED numeric
pulses to counter 2 are inhibited and the contents of
display with a 1/8-inch character height. Eight inputs
counter 2 are displayed. The next Start/Stop transition
are provided for selection of the appropriate segments
displays counter 1 with the programmed time. Repeti-
and decimals (anodes) and nine inputs for digit
tive Start/Stop transitions switch the display between
(cathodes) selection. The anodes are internally inter-
counter 2 and counter 1. A Reset transition followed by
connected for multiplexing. The NSA398 has a red
a Start/Stop transition starts the counter 2 up-count
faceplate which provides excellent visual contrast and
sequence again.
ease of visibility over a wide angle. Figure 5 shows the
In function 6, and also in function 7, the digit which is physical dimensions and pin connections of the NSA398.
preprogrammed to count in Modulo 6 cannot, of course,
be programmed to a digit greater than 5.
Function 7
In function 7 counter 1 is displayed with "0000" at
practical applications of the
power-on. If S3 is in the Function 6 - 7 position at stopwatch/timer
power-on, it must be placed in the "OFF" position;
then S11 must be momentarily closed. Counter 1 is Now that the basic operation of the MM5865 has been
set to a specific count by holding each of the four Digit presented, it is possible to examinfl practical applications
Programming Switches closed in turn; then the of the seven function universal timer shown in Figure 4.
Comparator must be enabled by placing S3 in the This timer, as shown, has a maximum timing capability
Function 6 - 7 position. of 99 minutes, 59 seconds. If another MM5865 is added
Counter 1 counts down from the se.t count beginning to the circuit, this timing capability may be extended to
with a Start/Stop transition. When counter 1 counts 99 hours, 59 minutes, 99.99 seconds. For very accurate
down to zero the clock pulses to counter 1 are inhibited timing, the crystal should be cut to oscillate at 32.8 kHz,
and the Comparator Output is enabled. This is not and the oscillator frequency should be precisely tuned
repeatable without a new count 'being entered into to 32.8 kHz.
counter 1, A Final Event transition halts the counter 1 When the stopwatch/timer is being used to time any
down-count, and subsequent Start/Stop transitions have event, the display should be disabled with S2 as much
no effect on counter 1 or counter 2. A Reset transition as possible so that battery power will be conserved.
resets counter 1 to "0000."
Function 1 may be used to time two events occurring
simultaneously in the following manner. A driver often
Peripheral travels from his home to a city some hours away. On the
way· he passes a small town about halfway between his
The other components shown in Figure 4 consist of
home and the city. He wishes to know how. long it takes
input/output interfaces between the user and the
him to travel from his home to the small town, how long
MM5865. The crystal used in this stopwatch/timer
it takes to travel from the town to the city, and finally,
circuit is a watch crystal cut to oscillate at 32.768kHz.
how long it .takes him to travel from his home to the
(A 32.8kHz crystal would be best.) This means that the
city.
blanking frequency is 799.2 Hz, the multiplex frequency
is 399.6 Hz, and the clock frequency to the counters is At the beginning of the trip the driver presses the Start/
0.99902Hz. Stop switch. The display begins to record the time
accumulating in counter 2. As he passes through the
The oscillator frequency may be adjusted by connecting
small town he presses the Start/Stop switch again and
a counter to pin 20 of the MM5865 through a 50pF
records the traveling time from his home to the town.
capacitor and then varying the capacitance of C3. Any
Then he presses the Start/Stop switch again. As he
attempt to alter the values of R 1, C2, or C3 will probably
arrives at the city he presses the Final Event Stop switch
fail; that is, the oscillator will probably not oscillate.
and records the time shown in the display as being the
Most of the switches which control the MM5865 are travel ing time from the town to the city. He then
momentary push-buttons which are available from many presses the Start/Stop switch and sees in the display the
sources. The function switch, however, is a very small traveling time from his home to the city.
8-position switch in a TO-5 package; it is available from Function 2 may be used to record the total accumulated
James Electronics, P.O. Box 822, Belmont, CA 94002. time of several events while each event is being timed
individually. For example, a television repairman spends
The 2N4400 (a 2N3904 can also be used) drives the
his day ordering parts, talking to customers, and repair-
decimal point anode of the display and is itself driven
ing televisions on the bench. He wants to record the time
by the Waiting State output of the MM5865.
he spends repairing each set so that customers may be
The MM14511 provides the functions of a 4-bit storage properly billed, and he wishes to record his total bench
latch, an 8421 BCD-to-seven segment decoder, and an time for the day.
2-29
I---~----2.00"---~i
orL~~~~""-------I80B.BBBS.BB
FRONT VIEW
r F8~OB
PIN DIGIT 1 CATHODE
PIN SEGMENT C ANODE
PIN DIGIT 2 CATHODE
PIN SEGMENT DP ANODE
PIN DIGIT 3 CATHODE E 0 C
1/2"
PIN SEGMENT A ANODE c==>D • DP
L PIN
PIN
PIN
DIGIT 4 CATHODE
SEGMENT E ANODE
9 DIGIT 5 CATHODE SEGMENT
DESIGNATION
,",,,lj
PIN 10 SEGMENT 0 ANODE
PIN 11 DIGIT 6 CATHODE
PIN 12 SEGMENT G ANODE
PIN 13 DIGIT 7 CATHODE
PIN 14 SEGMENT B ANODE
PIN 15 DIGIT 8 CATHODE
PIN 16 SEGMENT F ANODE
SlOE VIEW PIN 17 DIGIT 9 CATHODE
At the beginning and end of every bench job he presses With function 4, the total time of an event may be
the Start/Stop switch to record the time for each job. At accumulated, and the display may be updated while
the end of his day he presses the Final Event Stop switch, counter 2 is accumulating the total time. For example,
then the Start/Stop switch to record his total bench a long distance runner desires to pace himself over a 5-
time. mi Ie run. As he starts out he presses the Start/Stop
As an example of a function 3 application, consider an switch. Then, as he passes known checkpoints, he presses
assembly line position at which a worker must fasten the Start/Stop switch to update the display and note the
three parts to a piece of equipment. A supervisor wishes time of arrival at each check point. At the end of the 5-
to record the time it takes the worker to fasten each part mile run he presses the Final Event Stop switch to
and the amount of time the equipment spends at this record the total time for the run.
position. Function 5 may be used to record both total accumu-
As the worker receives the piece of equipment, the lated time and total elapsed time. As an example of an
supervisor presses the Start/Stop switch. The display appl ication of function 5, consider a pilot who wants to
begins counting up. As the worker finishes with the record total flying time as well as total trip time.
first part, the supervisor presses the Start/Stop switch. As the pilot starts out he presses the Start/Stop switch.
This time will remain in the display until the next Start/ He then presses the Start/Stop switch each time he lands
Stop transition; the supervisor therefore has a chance to and each time he resumes flying. At the end of his trip
record the first event time. he presses the Final Event Stop switch and records total
As the worker finishes wit~ the second part, the super- flying time. He then presses the Start/Stop switch to
visor presses the Start/Stop switch again and records the record total trip time.
time of the second event. After the worker finishes with With p;oper interfacing, function 6 can be used as an
the third part the supervisor presses the Final Event enlarger timer. A photographer programs the desired
Stop switch. The display will show the third event time. printing time into the display with the Digit Programming
The supervisor can then press the Start/Stop switch to switches, closes the Comparator' Enable switch; and
record the total time this worker handled the equipment. closes the Automatic Reset switch. For each print he
2-30
ARCHER 279·059
10
F
8
G
14
A
12
B 4 •3 2 1
3
6 C
r---"2
"HfE
0
.
2000!!
(7)
>•
~> • > ~ . ~ >.>
~
13
41 91
7
I. 15 14 13 12 11 10 9 7 5 4 1
MM14511 OM8863 9~
r+" · .J 5 8 7 1 2 6
1
2
-1~
3 6 8 18
r---
I
VOO
GNO
+15V
1 .... O.Olp F .L
0.03 pF
..L I GNO
T
VSS
J
40 35 33 32 31 30 29 28 27 23
II
24 22
I
6
I
2
I
1
-21 5
MM5865 ~4 lM555C .~ lOOk
~ I 9
,,
13 14 15
,.. 16 17 +--3 7 8
.>
.~:
1 I
>k
> 3.6k
SIb, s2b, .~
~1
14 13
"_"l;;. .-U~ .> lk
VSS
2_
- 1-7
74COO
1: 3 - "lui INPUT
RESET START
simply presses the Start/Stop switch to turn on the The 74COO in this circuit debounces the switch used as a
enlarger for the desired length of time. clock, S3. An LM555 is used to provide a multiplexer
It is not necessary to enable the display while operating input frequency of 233 Hz.
the timer. The display must be enabled only to program The MM5865 is operating in function 5, and displays the
counter 1. The Reset switch may be pressed at any time up-count of counter 2. After an initial Start/Stop transi-
to turn off the enlarger. The enlarger may be turned on tion, each closure of the manual switch advances the
for adjusting negatives by pressing the Start/Stop switch displayed digits by one count. A Reset transition resets
without enabling the comparator. counter 2 to "0000."
2-31
A final note: Unless the start pulse is externally synchro- synchronized to the clock using an MM74C221 Dual
nized to the clock (available at pin 15 of the MM5865, if Monostable Multivibrator as shown in Figure 20. The
the internal oscillator is used), the amount of time which time constant of R 1 - C1 should be equal to the display
will elapse between the arrival of the start pulse at pin 14 resolution, the time constant of R2 - C2 should be less
of the MM5865 and the appearance of the first digit in than the programmed display resolution, and the time
the display will not be equal to the programmed display constant of R3 - C3 should be less than the time constant
resolution_ It is possible to develop a start pulse that is of R2-C2.
VSS
START SWITCH 1
16
TO R2
PIN 14
OF
MM5865
FROM R1
PIN 15
OF
MM5866
Voo
2-32
Counters/Timers
introduction
This construction article is the second of a series which 4. Counter 2: Split-timing with total elapsed time
is to concentrate on applications of the MM5865 uni- Counter 1 : Not actively used
versal timer_ The first article, "MM5865 Universal 5. Counter 2: Total accumulated time
Timer Applications," presented in detail the program- Counter 1 : Total elapsed time
mable and functional characteristics of the MM5865_
G. Counter 2: Up counter
This second article illustrates the construction and use Counter 1 : Programmable counter
of a 4-digit, 7-function stopwatch/timer in which the
display resolution and counter modulo may be pro- 7. Counter 2: Programmable down counter
grammed with printed circuit board jumper wires_ Counter 1: Not actively used
2-33
(a) (b) (c)
Figure 1. External Ph~tographs of Stopwatch/Timer. a) View of Function Switch, Comparator Switch, and Digit Programming Switches.
b) With flip·cover raised, four additional switches are seen. The flip·cover is designed so that a press of the closed cover closes the Start/
Stop Switch. c) A miniature jack is mounted at the rear of the case so that a cable may be run to the appliance control box.
VSS
40
Von
24 C4
19 ENABLE
DISPLAY CONTROL
20 (OPTIONAL)
16
S12
R 150"
23 Tl
12 1 R
~--_II
21 C2 2 R
JR 10
11
13
5 R 12
6 R 13
1R 14
12 DISPLAY
-
S
1-----112
1-----113
1-----114
~-----I1S
35
14
MTI GATE
39
MT2
38
31
36 TRIAC
Figure 2. Schematic Diagram of the 4·Digit, 7·Function Stopwatch/Timer. As drawn, the display resolution is 1 second. A SPST switch
may be included betwep.n pin 16 of IC2 and VSS to provide a display resolution of 0.01 second or 1 second. Another option, shown in
the figure,.is the Display Control Switch, which may be used to inhibit the display.
2-34
l>
2
I
~
Table II. Resolution Select Code. A zero indicates that the pin made. The operation of each function is detailed in the
is left floating (or connected to VDD); a one indicates th~t the first article of this series.
en
pin is connected to VSS. Note that when an external clock is CD
applied to pin 15, pins 16 and 17 must be connected to VSS. To operate the timer in function 6, rotate the F switch
to function 6, place the C switch in the CCE position,
--~~------
and press the R switch. The display will show four zeros
Resolution Select Frequency of
Display Resolution when the R switch is pressed.
Pin 16 Pin 17 Clock to Counters
0 0 100Hz 0.01 sec The count·up time is programmed into the timer by
pressing 01 through 04, one switch at a time, until the
0 1 10Hz 0.1 sec
desired count·up time appears in the display.
1 0 1 Hz 1 sec
1 1 External -
After digit programming, pltlce the ARE switch in the
ON position if automatic resetting is desired. The initial
press of the SS switch will cause the display to blunk,
then to indicate the count-up to the programmed time.
Table III. Divide Scaler Code During the up-count the CA3059 will be enabled,
allowing the appliance to be turned on. When the count·
--~ Modulo up reaches the programmed time, the comparator output
Divide ~----~---- ----.------~
2-35
Figure 3. Functions 1 and 2. Pressing START/STOP after FINAL EVENT has been pressed gives Total Elapsed Time in Function 1,
Total Accumulated Time in Function 2.
Figure 4. Function 3. Pressing START/STOP after FINAL EVENT has been pressed gi~e~ Total Accumulated Time.
2-36
l>
:2
I
-10
0')
to
Figure 5. Function 4.
Figure 6. Function 5.
2·37
interfacing the stopwatch/timer
with an appliance circuit
)()..:.;......- - . OUTPUT
Figure 7. Function 6.
2-38
»
2
As shown in Figure 2, the appliance control circuit If the exposure time, the amount of light, and the
consists of a triac and its trigger circuit. When the development time are exactly correct, trace resolution is
CA3059 zero voltage switch is enabled, the trigger usually not a problem. However, it is difficult to compute
circuit applies a brief gate signal to the triac for every and control these variables without performing many
alternation of the AC line voltage. After the triac is experiments. The inspection method described above
turned on by the gate signal, it remains on for the can save many boards which otherwise would be lost
complete half cycle until the zero-crossing point is because of trace resolution defects.
reached at the end of the alternation. The appl iance In addition to the care which must be given to the PC
receives the full AC line voltage under these conditions. board during the etching process, excessive solder should
If the NOR latch inhibits the trigger circuit while the be avoided when soldering to the pads. In case of diffi-
triac is conducting, the triac cuts off when the line culty with timer operation during thecheckout procedure,
voltage approaches zero. It remains off until another suspect the board immediately.
gate signal is applied. Therefore, the NOR latch controls Furthermore, no thought should be given to the idea of
the AC input to the appliance. not using sockets for the integrated circuits. James
With the heat sink specified the triac can safely handle Electronics has four socket styles. All are adequate
appliances rated up to 100 watts (0.83 Amp). For except the wire wrap sockets. (The diameter of the wire
greater appliance loads a larger heat sink should be used. wrap leads is too large.) However, it is easier to insert
The specified triac is able to handle appl iance loads up and remove ICs from the standard tin and gold sockets.
to 10 Amps. Of course, the fuse must be larg~ enough to The drilling guides shown in Figure 10 indicate all drill
handle the current drawn by the appliance. Use a fast sizes for the parts shown in the parts list. Every effort
blow fuse if possible. has been made to allow the board to accommodate a
variety of components. For this reason, there are extra
pads and punch guides on the drilling guides. Refer also
to the component layouts shown in Figure 11. The
boards may be prepared using the Xl positives. shown in
construction Figure 12.
The bottom half. of the James case should be prepared
The printed circuit board was designed specifically for
for the board by removing the 6 plastic pegs at the front
the James Electronics' instrument/clock case only after
of the case if they are present. The pegs may be removed
assurance that the company has a permanent source for
by grasping them in the jaws of a long-nose pliers and
the cases; however, the board may be mounted in any.
shaking them from side to side while pulling on the
case o.f sufficient size.
pliers.
Because the layout of the PC board requires that some The earphone socket should be drilled out from the
traces be proximate, the board must be inspected while outside of the bottom half of the case with a 31/64-inch
it is being etched. During these inspections proper drill bit. This will allow a 7-function rotary switch to be
resolution of the traces is maintained, if necessary, by mounted in the right hand (facing the display) corner of
rinsing the board in water and carefully scraping the the rear section of the top half of the case. When doing
photoresist from any copper which forms a short circuit this, first press the bit to the 3/8-inch hole in the bottom
between adjacent traces. The scraping is done best with half of the case, then turn on the drill. The bit should
an X·Acto blade. Etching should be continued with slice the earphone socket off with 4 or 5 turns of the
frequent inspections. chuck.
FIG. lOA
o 60
0 " _~ORlll-4HOlES
FIG. lOB
~650
' - 60
/1/16 b
16 HOLES
~60D
: 16 HOLES ' - 60 65
'-60
91/16/ / / ' 64
64 "
~ 1I:5H~~'g - 7
54 J
1
60'\. 'I. /' 1/16 "-
60~ "- 1/16 [1/16'/
/' 64 "
64'~
• 0
65./~
J65 6~ :~ /' ... '"
-~
1 16
2·39
p--~ ~ ;:~ c.:::: 0
o-DD-""""
C7 o~CD
~ [J.~, ~GO:.~.p;,
. • 0
s= "
+0 ~ = ~I 0
C6 a: ~II
- 0 1'-
o . .,,_0,\
(b)
I
F;,m, 11 p' I.) .
Stopwatch/T"Imer PC board . b) Layout f
Control
. PC b oard. pp,o,;m",'v
rmted(ACircuit 4/5 size
Boa r d Com pon,n, Loyo"" .
shown). ,I Layout for the . 0' Oh, Appo;,n"
(b)
.' ,(a)
IA .. Po,";'"
Figure 12 . '0'
size the
ppr.oxlmately 4/5' shown).
Printed C·IrCUlt
• . . ., for th e Appliance C .
oSltlve for th e Stopwatch/Timer. b) PoSltlve
.. Boards. a) P .. 2.40 on"o' ,;"";,.
The center portion of the top half of the case has been Figure 13a shows the layout of the flex-circuit; Figure
designed for a switch assembly composed of three push- 131J is a view of the flex-circuit after it has been folded
button switches and one slide switch_ The assembly is over the thin plastic insulator which is shown in Figure
made of calculator-type switches and a flex-circuit; 13e. The insul3tor must be oriented so th3t the circular
however, James Electronics provides neither the switches cutouts 31-e between the two sets of four copper hexa-
nor the flex-circuit. gons. The copper trace through each hex3gon forms one
cont3ct of 3 SPST switch.
,....< - - - - - - - - - - - - - - 1 1 . 6 .. - - - - - - - - - - - - - . ,
~ij-:t:' <{,<f,Y~ .~ g
(b)
["noooOI
(e)
~'~O. o /) 0 (l
~ooo
(d)
Figure 13_ Flex-Circuit Assembly: a) Layout of the flex-circuit. b) Layout of the flex-circuit after it has been folded to form the
contacts of three SPST momentary pushbutton switches and one SPST slide switch_ c) Thin plastic insulator which must be inserted
between the folded portions of the flex-circuit. d) Plastic cover which fits over the flex-circuit assembly to hold it in place in the top of
the case'_
If the automatic reset feature for functi'on 6 is to be The switches should then be placed in the top of the box
included, cut the slide switch hexagon connection to in the spaces provided_ The flex-circuit is then placed
VSS as shown in Figure 74 and cut a little square piece over the switches. Finally, the plastic cover fits over the
from the thin insulator. This small square should be just entire assembly as shown in Figure 75_ Holding the
large enough to allow a solder connection to be made plastic cover firmly in place, touch a clean soldering iron
between the trace going to the slide switch hexagon and tip to each of the plastic pegs protruding through the
the trace going to the FE switch hexagon_ To solder holes in the plastic switch assembly cover until the
the traces together, pretin both traces slightly, fold the assembly cover is sealed to the top of the case_ Cut the
flex-circuit as shown in Figure 73b, and apply a small single tall plastic peg to the rear of the switch assembly
soldering iron tip to the trace going to the slide switch cutout if there is one_
hexagon at a point above the insulator cutout.
0 0 0 0 0 0 0 0 0 0 0 0
0
~ 0
0 0
0
0 0 0 0 0 0 0 0 0 0 0 0
Figure 14_ Full-Size Partial Drawing of the Flex-Circuit Layout Showing the Trace which Must be Cut if the Auto Reset Option is
Desired.
2-41
Figure 15. Photograph Showing the Internal Construction of the Stopwatch/Timer. Note how flex-circuit runs from the top of the case
to the trace,slde of the printed circuit board. ,
2-42
1/4 DRILL -
2 HOLES
1.2
o o
D
-=---+---
0
0,1
0,95 !..'--____-+-_ _ _ _ ~
L~
/4--1,1-'"
I
5/64 DRILL
Figure 16. Drilling Guide for the Case Top if the MRC·1-10 Rotary Function Switch is Used. (Dimensions in inches.)
11/65 DR1LL-
2 HOLES
1.2
D o 0 o
-=----+----
1.2
I I 14-015
-LCV-j,)- I
~224
Figure 17. Drilling Guide for the Case Top if the PS-101 Rotary Function Switch is Used. (Dimensions in inches,)
with leads that are long enough to permit the capacitor Wire jumpers may be used to program the display
to lie on its'side. The diameter of C1 must not b~ greater resolution and the modulo of the counters using the
than 0.7 inch and its length must not be greater than charts shown in Tables I and II. The connections shown
1:2 inch. in Figure 2 cause the display to read in tens of minutes,
minutes, tens of seconds, and seconds; maximum time is
The display mounting pins should be soldered to the
99 min 59 sec. A pad which allows a connection to an
display before the display is mounted to the board. Be
external clock is available at pin 15 of the MM5865.
careful not to lift the display pin pads when soldering.
After all components have been mounted and all wire
Wires must be soldered to the'board and connected'to connections have been made, proceed to the preliminary
the switches mounted to the top of the case. Refer to checkout and adjustments section before applying
the wiring diagram shown in Figure 18. power to the board.
2-43
r----------------. PIN 39 After oscillation has been confirmeCi the display should
r--r---;::==========I--. PIN 38
be 'examined for segment and digit defects. If any
segment or digit, does not appear in the display (The g
r - - - - - - - - f - -.... PIN 35 segment does not appear when the display reads all
zeroes.), the board and the display mounting pin connec-
r-------t---. PIN 37
, tions must be checked.
PIN 36 When handling the stopwatch/timer before it is mounted
'---------+--+--. PIN 4 in its case, extreme care must be used to not break the
connections between the flex-circuit and the printed
circuit board. However, thes~ connections need not be
......--+--+--. PIN 6
made until the oscillator and display have been checked
out.
r---r--t--. PIN 5
After the oscillator and display checkout, the frequency
.,.;.......- + -... vSS of the oscillator should be adjusted to the crystal fre-
quency using C3. Then the board may be placed in the
""---+-.... PIN11 bott~m of the case. The balance of the preliminary
'----r--. PIN 10
checkout consists of stepping through the operational
flow diagrams in Figures 3 - 8; J VOM should be con-
1.....-_ _ _ _ --1. PIN 9 nected to the output jack during the functions 6 and 7
checkout. If any of the switches under the flip cover
' - - - - - - , - - - , . . PIN 8 fail to respond, check to see if the flex-circuit is broken
1.....-_ _ _ _ _ _ _• PIN 7 at the point where it connects to the board.
. Figure 18. Wiring Diagram for the Switches Mounted in the' Case
Top.
final assembly and checkout
2-44
of time the start/stop switch is to be held closed will will elapse between the arrival of the start pulse at pin 14
always be less than any timed event. When C5 and R4 of the MM5865 and the appearance of the first digit in
are omitted, the SS switch simply connects to VSS. the display will not be equal to the programmed display
As to crystal accuracy, the stopwatchltimer will lose resolution. It is possible to develop a start pulse that is
0.001 sec/sec if a 32.768kHz crystal is used instead of a synchronized to the clock using an MM74C221 Dual
32.8 kHz crystal. This should be insignificant for most Monostable Multivibrator as shown in Figure 20. The
users. time constant of R 1 - C1 should be equal to the display
resolution, the time constant of R2 - C2 should be less
Also, the display resolutions which may be programmed than the programmed display resolution,. and the time
by on board jumper wires will be adequate for most constant of R3 - C3 should be less than the time constant
. users. Figure 2 illustrates the connections to the MM5865 of R2-C2.
which will cause the display to read in tens of minutes,
minutes, tens of seconds, and seconds.
When it becomes desirable to achieve a display resolution Vss
which allows the timing of events that are hours in
length, it is necessary to provide the MM5865 with an
external time base. This may be done by cascading two
MM5865s or by using a simple timing circuit builtaround 16
an LM555 timer or a digital clock. Figure 19 shows how II
an MM5315 digital clock may be used as a time base for TO J
PIN 14 R2
the MM5865. The MM5315 itself uses the line frequency OF
as a time base. The MM5315 is shown as it would be MM5865
connected for a 60 Hz line frequency. FROM RI
PIN 1.S
OF
When an external time base is provided for the MM5865 MM5865
in this manner,' an external multiplexer must also be
provided. The oscillator formed with the 74C14 supplies
the desired multiplex frequency as shown in Figure 19. VDO
A final note: Unless the start pulse is externally synchro· Figure 20. Start·Pulse Synchronizer. Time constant of R 1 - C1 =
nized to the clock (available at pin 15 of the MM5865, if display resolution. Time constant of R2 - C2 < display resolution.
the internal oscillator is used). the amount of time which Time constant of R3 -C3 < time constant of R2 - C2.
_ - - - - - - - - - - - - - - - AC
~-----,--------------------~~----_'-------'~-VSS
----------~~~~-+----------------~.-~--~--~---.---+---VOO
R2 R3 02
C2
27~~~--------~
TO PIN 4 OF IC6
Cl O.I~F CAPACITOR
C2· C4 O.OI~F CAPACITOR
01 lN4002 DIODE
02 8.2V ZENER DIODE
Figure 19. Using an MM5315 Digital Clock and an External Multiplexer to Provide an External Time Base for the MM5865 to Generate
a Display Resolution of 1 Minute.
2-45
PARTS LIST
Rl 5kn trimpot Triac HEPRl723
R2 240n, Yt.W, 5% resistor Fl 1 A fast or normal blow fuse
R3 20Mn, Yt.W, 5% resistor XTAL 32.8 kHz crystal (32.768 kHz can be substi·
R4 1 Mn, Yt.W, 5% resistor tuted. Timer will lose about 35 sec in 11 hr
R5 100kn, Yt.W, 5% resistor 20min of use.)
R6 5.1 kn, Yt.W, 5% resistor Sl,S3,S5 SPST, NO, momentary pushbutton switches;
part of flex-circuit switch assembly.
R7 4.7kn, v..W, 5% resistor
S2 SPST slide switch; part of flex·circuit switch
RS 10kn, lW, 5% resistor
assembly.
Cl 470 - 1OOOm F, 25 V capacitor
S4 OPOT, ceriter OFF toggle switch
C2 10mF, 25WV o c solid tantalum capacitor
S6-S9 SPST, NO, momentary pushbutton switches
C3 6 - 25pF variable capacitor. Sprague OT,.,8
S10 7 - 12 position rotary switch - Centralab
4 - 30pF may be used.
PS-l0l or Alcoswitch MRC·l-l0.
C4 25 - 27pF, disc ce~amic capacitor
Sll SPST toggle switch
C5 0.01 m F disc ceramic capacitor
S12 SPOT toggle switch (optional)
C6 100mF, 25WVoc capacitor
~isplay National Semiconductor NSB5411 4-digit
C7 0.05mF, 200WVoc capacitor multiplexed display.
01,02 IN4003 Heat Sink TO·220 heat sink. Two needed.
Tl 10- 16.5 V AC @ 300mA ~ransformer Misc. 16 display mounting pins (strip of 16 pins);
ICl LM317T voltage regulator 1 case; Clock/Instrument (available from
IC2 MM5865 universal timer James Electronics); 1 flex·circuit; 1 flex-
IC3 . CD14511 decoder/driver/latch circuit insulator; 2 Tinnerman nuts, #6;
fuseholder; appliance control box, #LMB
IC4 OS8877 or OS75492 digit driver
C.R.-234; 115V AC chassis mounting socket;
IC5 RA07 - 150 resistor array miniature jacks; phone cable (shielded); IC
IC6 74C02 quad 2·input NOR gate sockets.
IC7 CA3059 zero voltage switch
I"~------ 3.00"------.!.,
RED FACE PLATE
••
FRONT VIEW
SIDE VIEW
PIN CONNECTIONS
SEGMENT
DESIGNATION
Figure 21. Dimensions and Pin Connections for the National Semiconductor Corp. NSB5411 4·Digit, Multiplexed Display. Mounting
holes fora photocell are included on the display board.
2-46
I
~.
Electronic Organ Circuits
2.126MHr
> - - - - - - -....- - - - - - - - - - ,
TRIGGER INPUT
-21V>-----......--+---------<t--+-----,.-------,.-...,
-15V>-----.-I---+--------.
~~:g~::~~
GENERATOR
12Mf~~:~Ll
FREQUENCY
DIVIDERS
IS OUTPUT fRUUENCIUTO
t<EYSWITtHINGCIRCUITRY
Dual-In-line Package
14
VGG .--.f'Tf--_..._ OUTPUT 2B
TRIGGER 2 DJ_ _...1_3 OUTPUT 2A
OUT.2
TOPVIEW
3-2
s:
absolute maximum ratings
s:
CJ1
CJ1
CJ1
Logic Supply Voltage (V GG) Vss + 0.3V to Vss - 33V ~
Buffer Supply Voltage (V ss) Vss + 0.3V to Vss - 18V
Trigger Input Voltage (V IT ) Vss + 0.3V to Vss - 18V
Power Dissipation (Po) 2S0mW
Storage Temperature (Ts) -55°C to +100°C
Operating Temperature (T A) O°C to +70°C
electrica I characteristics
T A within operating range (V GG = -27 ±2V, VBB = -10 ± .qVl. unless otherwise noted.
Trigger Inputs:
Frequency fiT DC SOO kHz
timing diagram
3·3
Electronic. Organ Circuits
14
Ne
TRIGGER INPUT 1 "09
3
TOPVIEW
Order Number MM5555N . Order Number MM5556N
See Package 18 See Package .18
Typical Organ Tone Generator
2.126MHI
TR1GGERINPUT>-------+---------,
CHROMATIC
FREQUENCY
GENERATOR
15 OUTPUT FREDU(NCIESTO
KEYSWlTCHINGCIRCUITRY
3-4
s:
absolute maximum ratings
s:U1
U1
Clock Generator Voltage (V GG) 0.3V to -33V U1
Logic Supply V~ltage (V oo ) 0.3V to -25V U1
Buffer Supply Voltage (V ss) 0.3V to -18V
Trigger Input Voltage (V IT ) 0.3V to -18V
Power Dissipation (Po) 800mW
Storage Temperature (Ts) -55° C to +100° C
Operating Temperature (T A) O°C to +70°C
i
r
electrical characteristics
T A within operating range (V GG = -27V ±2V, Voo = -14V ±1 V, Vss = -10V. ±0.5VI. unless otherwise noted.
Trigger Input
Frequency 7.0 2126.08 2200 kHz
-2.0
O.4T
o
0.6T
0.3 V
1
(T=-)
fiT g
Logical Low Level -16 -10 -8.0 V
C8 Duty Cycle 50 %
C #8 thru C9 Duty Cycle 30 %
fIT=2.2 MHz
V'TL =-12V
--t--_
42 -25 < VGG < -3~
Vee -; -15V- .
38
ct MM5556
oS 34
c
c
3D
26
1"--__ MM5555
22
18
-10 o 10 20 3D 40 50 60 70 -12 -13 -14 -15 -16
TA - TEMPERATURE (OC) Voo (V)·
3·5
Electronic, Organ Circuits
features
• 33 Parallel outputs
• Serial output
• DC-to-250 kHz operation
40
VGG VDD
CLK VSS
SERIAL DATA IN DATA OUT
DATA
BIT 1 TRANSFER ENABLE
OUTPUT
BI12 BIT 33
BIT32
BIT 4 BIT 31
BIT 5 BIT30
(Vss-~~v'l--+ X ~I BIT 12
BIT 13
BIT 23
BIT22
CLOCK
, OATA IN
DATA OUT
(SERIAL)
3-6
s
absolute' maximum ratings s
(J'1
Voltage At Any Pin VSS + 0.3 to VSS - 25V Storage Temperature -55°C to +100°C
(J'1
Voltage At Any Output Pin VSS + 0.3 to VSS - 33V Lead Temperature (Soldering, 10 seconds) 300°C (J'1
Operating Temperature o°c to +70°C CJ:)
dc electrical characteristics
TA within operating range, Vss = OV, VDD = -10V, ±10%, VGG = -20V ±10%, output load reference voltage =
OV to -30V (via external load resistor)
PARAMETER CONDITIONS MIN TYP MAX UNITS
Input Capacitance 7 pF
DI
Rise and Fall. Times 0.2 IlS
Parallel Outputs
Output Voltage 10 = 2 rnA VSS-2 V
Leakage Current T A = 25°C, Vo = VSS-30 10 IlA
ac electrical characteristics
PARAMETER CONDITIONS MIN TYP MAX UNITS
tds Data Setup Time Referenced from VSS - 7 on Data In 0.4 Ils
to VSS - B.6 on Clock In
3·7
Electronic Organ Circuits
general description
These frequency dividers 'provide six stages of binary The MM5823 and MM5824 complement the MM5832,
division to produce six octave-related outputs of an MM5833 and MM5555, MM5556 chromatic frequency
electronic musical instrument tone generator. Each generators; output characteristics and power supply
divider stage consists of an asynchronous, dc-coupled requirements are compatible. The MM5823 and MM5824
flip-flop . are packaged in a 14-lead dual-in-line package.
connection diagrams
TRIGGER 2
INPUT 1 13 OUTPUT 2A
OUT.2
TRIGGER 4 11 OUTPUT 3C
INPUT3
OUT. 1
NC INPUT 1 10 OUTPUT 38
3-8
s
absolute maximum ratings sCJ1
CO
N
W
Logic Supply Voltage (V GG) 0.3V to -30V
s
Buffer Supply Voltage (V oo )
Trigger Input Voltage (V IT )
0.3V to -18V
O.3V to -25V sCJ1
Power Dissipation (Po) 250 mW CO
Storage Temperature (Ts) -55°C to +150°C N
O°C to +70°C ~
Operating Temperature (T A)
electrical characteristics
T A within operating range (V GG = -27 ±1 V, Voo = -11.5 ±0.5V, Vss = OV). unless otherwise noted.
Inputs:
Frequency (fiT) DC 100 kHz
Rise and Fall Times (10% to 90%) (t r , tf) 25 IlS
Pulse Width (at 90%) (pw) 2 IlS
Logical High Level (V ITH ) -2.0 Vss 0.3 V
Logical Low Level (V ITL ) -18 -10 -8.0 V
Leakage Current @ V ITL = -18V (IITL) 1.0 Il A
Trigger Outputs: (loaded 10M ohm
to ground, T A = 25°C)
Logical High Level (V OTH) V ss -1.5 Vss V
Logical Low Level (V OTL ) ,-18 -10 V
"
3·9
typical application
2000024 MHz
TRIGGER INPUT
-27V'"
-14V
-10V
T T
I I,
76 5 4 3 2 1
I I, I
7 6 5 4 3 2 1
CHROMATIC
MM5833 MM5832 FREQUENCY
~ GENERATOR
8 9 10 11 12 13 14 8 9 10 11 12 13 14
I I , I I I I I I I , I I
I I I I I I I I I I
I I I I I I I I I
\ I
T09 AOOol
MM5824
J
I I
7 6 5
no,
4 3 2 1
T
J
7 6 5
01
4 3 2 1
12 (TOTAL)
MM5824
7 6
I
5
n
4 3
I
2 1
~iitlll 7 6 5 4 3 . C ~2 08
~ i itlll
':" 7 6 5 4 3 02 C8
rlilill
-= 7 6 5 4 3 2 C9
85 OUTPUT FREQUENCIES TO
KEYSWITCHING CIRCUITRY
timing diagram
TRIGGER
INPUT
OUTPUT
OUTPUT 11..-__. . . L
OUTPUT - - ,..._ _ _ _ _ _.......
L
3-10
Electronic Organ Circu.its
s
s
CJ'I
00
eN
MM5832, MM5833 chromatic frequency generator eN
general description
The National Semiconductor M'M5832, MM5833 chro- • 7 kHz to 2.1 MHz input frequency
matic frequency generator is an MOS/LSI frequency
synthesizer designed to generate musical frequendes. • Maximum error of 1.16 cent
The circuits provide thirteen semi·tone outputs, fully'
spanning the equal tempered octave. The divisors have
been carefully selected to offer excellent tuning accu· applications
racy. Output characteristics are fully compatible with
the MM5554, MM5823 and MM5824 Frequency Dividers.
The MM5832 or MM5833 is packaged in a 14-lead dual- • Celeste tone generator
in-line package.
• Electronic music synthesizers
connection diagrams
14
GND C8 GND
G8
electrical characteristics
TA within operating range (V GG == -27V ±2V, Vcio == -14V ±1 V, V BB == -10V ±0.5V, Vss == OV), unless otherwise noted.
Trigger Input
Frequency (fiT) 7.0 2000.24 2100 kHz
Capacitance (CIT) 7.0 pF/pkg J
100 vs Ambient
Temperature T A 100 vs VOO
50 50
fiT =2.1 MHz fiT = 2.1 MHz
46 I - Vlll =-12V 46 c-- Vlll =-12V
42 I- -25 <;; VGG <;; -30 -+--+--+----1 42 - -25 <;; VGG <;; -30 -+--+--+----1
Voo" -15V TA '= 25"C
;;t
.s
38
;;t 38 I I I I
~::
34
221--+--+--1--+--+-+-+----1 221~,l
18 ~~~~~~--~~~ 18 "1 I I I
-10 0 10 20 30 40 50 60 70 -12 -13 -14 -15 -16
TA - TEMPERATURE ("C) Voo (V)
3·12
typical application
2.00024MH.
TRIGGER INPUT > - - - - - - - - - + - - - - - - - - - - - .
-27V>--------.---+--------+--f--------------.
-14V >-------4J~---t-------..,
CHROMATIC
fREQUENCY
GENERATOR
121TOTALI
MM5824
MM5824 MM5824 MM5824
fREQUENCY
OIVloERS
C8 C9
85 OUTPUT fREQUENCIES TO
KEYSWITCHING CIRCUITRY
MM5832
MM5833
3·13
Electronic Organ Circuits
general description
The MM5837 digital noise source is an MOS/MSI • Uniform noise amplitude
pseudo·random sequence generator, designed to produce • Eliminates noise preamps
a broadband white noise signal for audio applications. • Self-contained oscillator
Unlike traditional semiconductor junction noise sources,
• Single component insertion
. the MM5837 provides very uniform noise quality and
output amplitude. The shift register starts at a random
non·zero state when power is applied. The circuit is applications
packaged in an 8·lead Epoxy·S mini·DIP.
• Electronic musical rhythm instrument sound
generators
features
• Music synthesizer white and pink noise generators
• Uniform noise quality • Room acoustics testing/equalization
Voo
NC
OUTPUT
OUTPUT
Vss
VGG Voo
TOP VIEW
Order Number MM5837N
See Package 17
3·14
absolute maximum ratings
Optional Gate Supply Voltage, V GG Vss - 33V to Vss + 0.3V
Logic Supply Voltage, Voo Vss - 25V to Vss + 0.3V
Storage Temperature, Ts -55°C to +100°C
Operating Temperature, T A O°C to +70°C
Lead Temperature (Soldering, 10 seconds) 300°C
electrica I characteristics
TA within operating range, Vss = OV, Voo = -14V ±1.0V, VGG = -27V ±2V, unless otherwise noted.
".'
3·15
Electronic Organ Circuits
general description
The MM5871 rhythm pattern generator is an MaS/LSI • 5 trigger outputs
circuit, fabricated with P-channel enhancement-mode • Flexible supply voltages
and ion-implanted, depletion~mode devices. The PLA
• Low power dissipation
implementation is programmed to produce 6 rhythm
patterns which may be combined in any manner and
provide 5 instrument-trigger outputs. Trigger output standard patterns
pulse width is determined by an external RC network,
(Figure 1). A similar network, including a potentiometer, • Waltz (3/4)
determines tempo of the on-chip oscillator. This circuit • Swing (3/4)
is packaged in a 16-pin Epoxy-B DIP, (Figure 2). Figure • CountrylWestern (3/4)
3 illustrates the standard pattern coding. Figure 4 is a • March (4/4)
programming worksheet for ordering custom patterns. • Latin (4/4)
• Rock (4/4)
fe'atures
applications
• On-chip tempo oscillator
• Variable output pulse width • Electronic organs
• 6 rhythm patterns • Portable rhythm boxes
~~MAINING,
CIRCUITS
BASS
DRUM
WOOO
BLOCK
SWING
C/W BONGO
ORUM
WALTZ
LATIN BRUSH
CYMBAL
ROCK
MARCH SNARE
NOISE
FIGURE 1.
Dual-In-Line Package
16 SWING IE) ]3
IS -,TIME
TEMPO CONTROL COUNTRYIWESTERN IFI :ATTERN SELECT
VOO
13 SNARE NOISE) Order Number MM5871 N
VSS 12 BRUSH NOISE See Package 19
TOP VIEW
FIGURE 2.
s:
absolute maximum ratings s:
CJ1
MIN MAX UNITS co
-..J
~
Suppiy Voltages VGG -33 0.3 V
VOO -22 0.3 V
Input Voltage -18 0.3 V
Storage Temperature TS -55 100 °c
Operating Temperature TA 0 70 °c
Lead Temperature (Soldering, 10 seconds) 300 °c
electrical characteristics
T A within operating range, VSS == OV, VOO == -14 V ±2V, VGG == -27V ±2V, unless otherwise noted.
Select Inputs
Logic High Level (Active Level) VSS-0.75 VSS VSS+0.3 V
Input Current VIH == VSS 0.2 mA
Logic Low Level VOO VOO VOO+0.75 V
Trigger Outputs
Logic High Level (Active Level) (w/20k to VOO) VSS-0.37 VSS+0.3 V
Leakage Current VOL == VOO, (Note 2) -10 J-LA
Supply Currents (No Output Loads)
100 20 mA
IGG 5 mA
Note 1: Both the Tempo Control and Pulse Width Control inputs utilize external RC networks to determine tempo and strobe pulse width. Addi-
tionally. these parameters are affected by the VSS - VOO voltage. Therefore, for these tests the RC values apply to VSS - VOO ~ -14 ±0.5 volts.
Note 2: ' All trigger outputs are open-drain transistors. The active output level is therefore high, and the off condition is high impedance as indicated
by the specified leakage current.
3-17
MM5871
Device: MM5871
Customer:
Pattern: AA (Standard),
DEVICE PIN 16 15 14 6 8
Note 1: In this chart, "X" represents the presence of a gate in the spot.
Note 2: "X" = 1; negative logic.
DEVICE PIN 16 15 14 6
Note 1: Combination counts of 5 on 3/4 time are not programmable, i.e" no gates in "555" section.
Note 2: In this chart, "X" represents the presence of a gate in the spot.
Note 3: "X" = 1; negative logic.
FIGURE 4. Programming Worksh'eet For Ordering Custom Patterns'
Electronic' Organ Circuits
general description
The MM5891 top octave frequency generator is an Voo pins. Chip layout also isolates the clock and output
MOS/LSI frequency synthesizer designed to generate buffer areas. Additionally, the outputs are slew-limited
musical frequencies. The circuit provides 13 semitone to reduce R F spectral content of the output signals.
outputs, which encompass the equal tempered octave.
The divisor set approximates the 12V2 semitone interval
to an accuracy of ± 1.16 cent.
features
• Single power supply
Low threshold voltage enhancement-mode and depletion-
mode devices are' utilized; the MM5891 therefore • Broad supply voltage operating range
operates from a single, wide range power supply.
Power dissipation is less than 600 mW. The circuit is • Low power dissipation
packaged in the 16-pin Epoxy B dual-in-line package.
• High output drive capability
Potential RFI emission of the input clock is minimized MM5891AA-50% output duty cycle
by positioning the clock input between the VSS and MM5891AB-30% output duty cycle
16
VSS ~478
15
CLOCK -;-239
14
voe -;-253
13
-0451 ~268
2.00024 MHz
CLOCK -0426
-0402
-;-379 -;-319
-;-358 -;-338
D-+A8
TOP VIEW
OUTPUT
DRIVERS
3-19
absolute maximum r~tings recommended operating conditions
(O°c :s; T A:S; 50°C)
electrical characteristics o°c ~ T A ~ 50°C; Vss = 0, VOO = -11 to -16V unless otherwise specified
tON. tOFF Input Clock "ON" and "OFF" Times at 2.5 MHz 200 ns
CI I nput Capacitance 5 10 pF
t ro • tfo Output Rise and Fall Times. 500 pF Load 250 2500 ns'
3·20
switch ing time waveform
VSS--------~--------~--------~-------------------
V I H - - -__
10%
VIL -----=-t.:..:...~---.IJ
output loading
-16 -16
Voo Voo
20k 20.75k
MM5891 .....- ...J\,IV\J- -16 . MM5891
3·21
TV Circuits
50/60 Hz
INPUT
MULTIPLEXED
OX mOUTPUTS
DY
MULTIPLEXED
OZ 7·SEGMENT
'--_ _..r--y OUTPUTS
DIGIT ENABLE
OUTPUTS
VDD DZ
BCOl 2 DY } ,'On
SELECT
MULTIPLEXEO LINES
BCD OUTPUTS Brif4 OX
(NEGATIVE
TRUE) 8Cif2 MI
{
BCii1 MID
HI DIGIT
ENABLE
HID OUTPUTS Order Number MM5318N
See Package 23
SI
MULTIPLEXED
7SEGMENT
OUTPUTS
50/60 Hz SelECT
TOP Vltw
4-2
absolute maximum ratings
Voltage at Any Pin VSS + 0.3V to VSS - 20V
Operating Temperature O°C to +70°C
Storage Temperature -65°C to + 150°C
Lead Temperature (Soldering, 10 seconds) 300°C
electrical characteristics TA within operating range, VDD = OV, VSS = 14V ±10%, unless otherwise'specified.
BCD Outputs
Logic "1" Output Voltage at VSS ..:: 2 2 10 mA source
Logic "0" 0.01 mA Sink VDD 0.3 V
functional description
A block diagram of the MM5318 digital clock is shown Switching any of these inputs (one at a time) to VDD
in Figure 1. A connection diagram is shown in Figure 2. results in the desired time setting function. Fast set
Unless otherwise indicated, the following discussions are advances hours information at one hour per second and
based on Figure 1. slow set advances minutes information at one minute per
second. The Hold Input stops the clock to the prescale
50 or 60 Hz Drive: This input is applied to a Schmitt counter.
Trigger shaping circuit which provides approximately
5V of hysteresis and allows using a filtered sinewave 12 or 24 Hour Select Input: This input is used to
input. A simple RC filter such as shown in Figure 6 program the hours counter to divide by either 12 or 24,
should be used to remove possible line voltage transients thereby providing the desired display format. The 12-
that could either cause the clock to gain time or damage hour display format is selected by connecting this input
the device. The shaper output drives a counter chain to VDD; leaving the input unconnected (internal 20 kn
which performs the timekeeping function. pull-up) selects the 24-hour format.
50 or 60 Hz Select Input; This input programs the Digital Select Inputs (OX, DV, DZ): These three inputs
prescale counter to diili'dEi by either 50 or 60 to obtain are used to determine what digit will be displayed, Table
a 1 Hz timebase. The counter is programmed for 60 Hz I shows the code for each digit. A logic "1" is when the
operation by connecting this input to VDD. An internal pin is held to VSS. When the pin is tied to VDD, a logic
20k pull-up resistor is common to this pin; simply leaving "0" results.
this input unconnected programs the clock for 50 Hz
operation. Output Circuits: Figure 3 illustrates the circuit used for
the BCD outputs. Figure 4 shows the circuit used for the
Time Setting Inputs: Both fast and slow setting inputs, 7-segment outputs. The digit enables output circuit is
as well as a hold input, are provided. Internal 20 'kn shown in Figure 5. Figures 6 and 7 illustrate typical
pull-up resistors provide the normal timekeeping function. applications for the MM5318.
4·3
-
co
M
Ln
~
functional description (Continued)
DX 1 0 0 1 1 0 0 1
DY 1 1 0 0 0 0 1 1
DZ 0 0 0 .0 1 1 1 1
*Output blanked
output circuits
VDD
3k
n
VSS
VDD
~S
L7.SEGMENT
(OPEN DRAIN) OUTPUT
FIGURE 3. BCD Output Circuit FIGURE 4. 7·Segment Output Circuit FIGURE 5. Digit Enable Output Circuit
typical applications
+12V
+12V
VIDEO
OUTPUT
FASTSETE~
SLOW SET -----\
--1-.
HOLO -----116
ovJLJL
H~""'I\r-'" VERTICAL RETRACE
HORIZONTAL r--....t-...- - f
POSITION
ADJ ......JI,/,'I(I'v. . .-\
VERTICAL ....-M.........;;.;;.~
POSITION
F==--------------JlJL
ADJ ..... 1V.%rv-...
~ DM74COO
----..I
MODE CONTROL .....---~+1~2V~F~O~R~C:':'HA:-:N::-:N":":EL~A:-::N~O-:::TI::-:M~E
GND FOR CHANNEL ONLY
4-4
typical applications (Continued)
AC INPUT +14V
lOOk lN914
19
MM5318
....----414
....----413
Voo
OV
4·5
-TV Circuits
The MM5320 TV camera sync generator is an .. Multi-function gen lock input provides flexi-
MOS, P-channel enhancement -mode, LSI chip ble control of multiple camera installations
designed to supply the basic sync functions for • 16 lead dual-in·line- package
either color or monochrome 525 line/60 Hz • Conventional +5V, -12V power supplies
interlaced camera and video recorder applications.
• Uses 2.04545 MHz or 1.260 M Hz input ref-
Required power supplies are +5V and -12V, or
erence
any other combination resulting in Vss - 17V. All
inputs and outputs are TTL compatible without • Fi-eld -indexing provided for VTR applicat-ions
the use of external components. • Color burst gate and sync allow stable color
operation
CLOCK
INPUT HORIZONTAL
DRIVE OUT
COLOR BURST
DIVIDER SYNC OUT
CONTROL
COMPOSITE
SYNC OUT
COMPOSITE
BLANK OUT
RESET
CONTROL
VERTICAL
RESET
VERTICAL
DRIVE OUT
FIElD
INDEX
VGG 16 COMPSYNCOUTPUT
COtORBURSTSVNC
10 NC
TOPVIEW
4-6
s:
absolute maximum ratings
s:U1
Voltage at Any Pin Vss + 0.3 to Vss - 22 CN
N
Operating Temperature oOe to +70 o e o
-65°C to +150 e
o
Storage Temperature
Lead Temperature (Soldering. 10 seconds) 300°C
dc electrical characteristics
T A within operating temperature range Vss = +5.0V ±5%. VGG = -12V ±5%. unless otherwise stated.
Input Levels
Logical High Level (V IH ) Vss - 1.5 Vss + 0.3 V
Logical Low Level (V IL ) Vss - 18 Vss - 4.2 V
II
Output Levels
Logical High Level (V OH ) ISOURCE = -0.5 mA 2.4 Vss V
Logical Low Level (Vod ISINK = 1.6 mA 0.4 V
Logical Low Level (Vod MOS Load Vss -12.5 Vss - 11 Vss - 9.0 V
ac electrical characteristics
T A within operating temperature range Vss = +5.0V ±5%. V GG = -12V ±5%. unless otherwise stated.
Input Clock Pulse Width (q,pw) Input Clock Frequency = 2.04545 MHz 190 235 280
q,t" q,t, = 20 ns
Input Clock Pulse Width (q,pw) Input Clock Frequency = 1.26 MHz 520 545 570
q,t, = q,t, = 20 ns
(Note 3)
Horizontal Reset Pulse Width Within 400 ns after the Falling Edge of 500 600 800 ns
Master Clock (Figure 5)
Rise and Fall Time = 20 ns
Field Index Pulse Width Within 400 ns after the Falling Edge of 500 600 700 ns
Master Clock (Figure 5) (Note 2)
Rise and Fall Time = 20 ns
4·7
o
N
M
It). functional description
~
~ EXTERNAL CONTROL LEVELS
Horizontal Reset occurs for Logic "0," this resets serration pulse (eleven 0.5H tim'e intervals from
the.horizontal counter to a state shown in Figures leading edge of Vertical Blanking). Refer to the
2 and 3. reset table above. The horizontal divider will
Vertical Reset occurs for Logic "0," th is resets the always be reset to a position which is 8 input clock
vertical counter to a state determined by reset pulses from the leading edge of the serration gate
control input as shown below: in the horizontal timing scheme (Figure 2 and 3).
The generator is reset to the odd field (field one).
RESET I PERMITS THE VERTICAL The Field Index output pulse occurs onc~ each
CONTROL INPUT COUNTER TO RESET TO THE:
odd field at the leading edge of Vertical Blanking.'
V'H. (V ss ) o th count It can be used to reset, or "gen-Iock," similar sync
V'L' (V GG ) 11 th count generator chips by connecting it to their Vertical
and Horizontal Reset inputs.
Logic "0" = V IL
Logic "1" = V IH
OUTPUTS
Divide select input'" V IL , (V GG ) for master clock
frequency of 1.26 MHz. " The generator supplies the following standard out-
put functions: Horizontal Drive Out, Vertical
Divide select input'" V I H, (V ss) for master clock 'Drive Out, Composite 'Blanking Out, Composite
frequency of ?04545 MHz. Sync Out and the Color Burst Gate.
4-8
I r±;H, en
~
HORIZOONR~~~:: r 111 1TI T1 rl-I TTTTl TT III r1-1 11' 1-]-1 111 nl T' r-, 1"I ...
n
':r
:s
to
COLOR BURST
GATE
+5
OV
, I I T - ----T I-nIT In lTI 11 T--~-- - -- Il' '-I ...
3CI)
COLOR BURST +5
SYNC OV
, , , , , ,-, --I -, 11- r--li'T l-'-l-r , -, 1 ~
Q)
<
CI)
~
o...
VERTICAL
DRIVE
+5
OV
,.. 9H .. I \" 9H ~ I 3
I I I ! I : I I _ I I I I I I I
I .. 262,5H .. I
en
FIELD +5
INDEX OV
I..
~I
525H
COMPOSITE
BLANKING
+5
I I I I r" 21H .. r1L..-_~~_ _
-+- -+- ----+- --+- -+-
OV
COMPOSITE +5
SYNC
OV
llllJ--·---------,~
----j H/2 !--
FIGURE 1.
oZ E911\111\1
III
switching time waveforms (con't)
.. 13T.",.1011H .--~.-
HORIZONTAL DRIVE
HORIZONTAL BLANKING
COLOR
BURST GATE
EQUALIZATION GATE
i
==j 6T. - O.OISH
HORIZONTAL SYNC
F
-----1 BT.'O.lH .:lr-------------
HORIZONTAL I BACK PORCH I
DRIVE I 6T.'0.0ISH I""'~_-
_ _ _ _ _ _ __
14T.-O.l1SH
3T.' O.OlISH
l:--=::3H - -
EQUALIZATION GATE
- + 3H -+----3H ==:::=r-
~ERRATION GATE
3H
4·10
s:
switching time waveforms (con't)
s:U1
W
N
o
MASlERCLOCK
V~---+------~r------------
OUTPUT
IV" - gVI---+------J~~..;.;.;--------
+Vss
RESET PULSE
FIGURE 5.
typical application
'SV v~
HORIZ
RESET
l·vu.nICAl
RESET 13
MMS32D
ICOMPOSITE
SYNC INPUT
DIVIDE
SelECT
TTL VGG
-12V
L _ ~ND..J
TTL Interface
4-11
TV Circuits
CLOCK
INPUT HORIZONTAL
DRIVE OUT
COLOR BURST
DIVIDER SYNCOUT
CONTROL
COMPOSITE
SYNC OUT
COMPOSITE
VERTICAL BLANK OUT
RESET
CONTROL
VERTICAL
RESET
VERTICAL
DRIVE OUT
1
Vss
FiElD
INDEX
Dual-In-Line Package
VERTICAL RESET
11 VERT ORIVE
CONTROL
HORIZONTAL RESET
10 OPEN
CONTROL
TOPVIEW
4-12
s:
absolute maximum ratings s:U1
-
Voltage at Any Pin VSS + 0.3 to VSS - 22 W
Operating Temperature DoC to +70°C N
Storage Temperature -65°C to +150°C
Lead Temperature (Soldering, 10 seconds) 300°C
dc electrical characteristics
T A within operating temperature range Vss = 5V ±5%, V GG = -12V ±5%, unless otherwise stated.
Input Levels
VIH Logical High Level VSS-1.5 Vss+0.3 V
VIL Logical Low Level VSS-18 VSS-4.2 V
ac electrical characteristics
T A within operating temperature range VSS = 5V ±5%, V GG = -12V ±5%, unless otherwise stated.
PARAMETER CONDITIONS MIN MAX UNITS
¢PW -Input Clock Pulse Width Input Clock Frequency = 190 280 ns
2.04545 MHz, ¢t r , ¢tf = 20 ns
Horizontal Reset Pulse Width Within 400 ns after the Falling Edge 500 800 ns
of Master Clock, (Figure 5)
Rise and Fall Time= 20 ns
4-13
....
N
M functional description
Ln
~ EXTERNAL CONTROL LEVELS eously by connecting the Vertical and Horizontal Reset
~ pins together and driving them with the same reset
Horizontal Reset occurs for Logic "0." This resets the signal. Actual resetting of the vertical divider is to
horizontal counter to a state shown in Figures 2 and 3. either of two states, depending upon the state of the
Vertical Reset Control input; to zero, or to the fifth
Vertical Reset occurs for Logic "0." This resets the vertical serration pulse (eleven 0.5H time intervals from
vertical counter to a state determined by reset control leading edge of Vertical Blanking). Refer to the reset
input as shown below: table. The horizontal' divider will always be reset to a
position which is 8 input clock pulses from the leading
VERTICAL RESET PERMITS THE VERTICAL edge of the. serration gate in the horizontal timing
CONTROL INPUT COUNTER TO RESET TO THE: scheme (Figures 2 and 3). The generator is reset to the
odd field (field one). The Field Index output pulse
VIH. (VSS) Oth count
occurs once each odd field at the leading edge ot Vertical
VIL. (VGG) 11th count
Blanking. It can be used to reset, or "gen·lock," similar
sync generator chips by connecting it to their Vertical
HORIZONTAL RESET RESETS THE HORIZONTAL and Horizontal Reset inputs. The Horizontal Reset
CONTROL INPUT DIVIDER TO: Control selects Horizontal Reset to the start or center
VIH Beginning of line of a line.
VIL Center of line
OUTPUTS
Logic "0" = VIL
Logic "1' = VIH The generator supplies the following standard output
functions: Horizontal Drive Out, Vertical Drive Out,
Divide select input = VIL, (VGG) for master clock Composite Blanking Out, Composite Sync Out and the
frequency of 1.26 MHz. Color Burst Gate.
Divide select input = VIH, (VSS) for master clock In addition, Field Index and Color Burst Sync outputs
frequency of 2.04545 MHz. are provided. The Field Index identifies the odd field,
or field one, by occurring for two clock periods at the
INPUTS leading edge of Vertical Blanking in that field. Thus, its
rate is 30 Hz. As described above, it can also be used to
The user may select either of two input clock frequencies "gen-Iock" other sync generator chips.
by properly programming the Divider Control pin. In
one case the input frequency is 2.04545 MHz, which is The Color Burst Sync output signal occurs at half the
14.31818 MHz divided by seven. The other is eighty horizontal rate with the same timing as the Color Burst
times the horiz'ontal frequency, or 1.26 MHz. The Gate output. It may be used to sync the color burst as
divider control will be programmed by connecting it to it will have the same delay characteristics as the other
VIH (VSS) and VIL. (VGG) respectively. outputs (including, of course, the Color Burst Gate) -
the color burst sync is present during the vertical interval.
There are separate Vertical and Horizontal Reset inputs
which allow directly resetting the appropriate divider(s) Differ~nces in phasing between outputs are minimized
by a control pulse generated by external means. Both by the use of identical push-pull output buffers clocked
horizontal and vertical dividers may be reset simultan- by the internal clock.
4-14
switching time waveforms
HORIZOo~~e~:: 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
VERTICAL '5 - - - - - , . -, H
DRIVE OV ~ 9H 1------ 9 ~
~I illlllllll~
1-. ----------262.5H-----------1'I
FielD '5 - - - - _ _ , - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
INDEX OV
1 - - - - - - 525H - - - - - - -
COMPOSITE
BLANKING
'5
OV nTTl:"=====~~~~_21_H_=__=__=__=__=__=__=__=_==rlL__.....,__~-_:__---
-t-lH+lH--+lH-I- +lH-j-lH+lH+
COMPOSITE .5
~_."""T'"~~~,~~~~~_."""T'"...,....._-----------~~~~F~~" ~vTrrn~"""T'"-r-~r--
SYNC
OV
HOR SYNC
• b
~--------------~
----J H/2 I-
FIGURE 1.
MASTER
CLOCK
INPUT
I
---.- 9TA>O.0629H 4
LL-........::,==~I=-:--~--l
SERRATISGATE f-- FRONT PORCH' l TA' O.02l1H
------+I--~....;5TA'.O.OlB6H-
EQUALIZATION
t GATE
10TA~O.0774 ._. j
HORIZONTAL SYNC
HORIZONTAL DRIVE
22 TA ~ O.1694H
HORIZONTAL BLANKING
- - 5 TA ~ O.OlB6H
COLOR
BURST GATE
4-15
or-
N
~ switching time waveforms (Continued)
~
~ o
-i 1 H
"I rTB~ 1.Z60MH,= iii = 0.794",
1
r31.5kH, =O,~3175sec ZH PERIOD
18lf
~~____________________~VE~R~TI~CA~L~BL~A~NK~IN~G__________________~,~
ZlH
t--:--- ---:=F3H
EQUALIlATION GATE
3H +==:-3H---j-
SERRATION GATE
3H
Display
VSS
MASTER CLOCK
OV--f",,",",",",",,1
Vss--II----""""'\ ~--.----
OUTPUT
IVSS-9V)---+---.....I~:::....:.;.;..----
VSS
RESET PULSE
IV VSS
HORIZ
RESET
16
15
RESET 14
13
I
COMPOSITE
SYNC iNPUT
MMI321
12
11
HORIZ
RESET
CONT OIVIDE
SELECT
TTL
L - }GNO.J
TTL Interface
TV Circuits
~
\ I/
~I Ov+ OSCILLOSCOPE
TRIGGER '
=NSL5D23
1+>
LEO OUTPUT
INOTE 4)
9V BATTERIES SWl . +
~ . - - -.....-----_.-~ 0 - -
INOTE 1)
v· "*5 F P
62pF
f)""7----ts-----1r;--r-;-213il-----+-.......I ~
22M I::J 378 kHz
10pF
NPO
INOTE 3)
470
1.5k
COLOR ><If--"'V'II'Ir-t---t
LEVEL PATTERN
SELECTORS
100
. - - - - - -....-_.-~I\r_O 15V
Alternative Resonator 47
PIN 1 3 0 - - - - - . . - - - - - - - . 30pF
3,3k
Ll. C1 1
~kOOULATION
O,OOlpF
r - - _ t -.....c:;,
LEVEL
PIN 12 0 - - - - -....- - - - - ,
'TOKO RMC,2A7287HM 1 ' 7 5 PF(39)
Uk
1455 kHz TRANSFORMER) 47
4-18 I ..
absolute maximum ratings
Voltage at Any Pin Vss+0.3V to V ss -25V
Operating Temperatures -25°C to +75°C
Storage Temperature -65°C to +150°C
Lead Temperatures (Soldering, 10 seconds) 300°C
Video Output
Note 1: The oscillator may be operated with external components to oscillate at 378 kHz or it may be driven by an external pulse source using
OSC 2 (Pin 13) as an input.
Note 2: These inputs are driven by switches.
Note 3: The color gate outputs are push·pull buffers.
Note 4: The trigger output and Z output are open drain outputs and require a resistor to V GG for operation. Two possible resistor values are shown
with their associated voltage and current levels.
Note' 5: The video output requires a resistor to V GG for operation. This resistor must be trimmed externally to achieve the desired output levels.
The minimum voltage swing is 4.0 volts with a 10% change with temperature and from unit to unit. The percentage magnitude change with supply
voltage can approach one.
.-____---'tL..-__...-__ V
150n, _~F400;75n'
--...
__
~150ns
3.6-7.2% J SVNC
..L..'- - - y - . , . - - - J VBLANK
-
t -
l}['''~"
VBLACK
100%
FIGURE 1. White Dot Video Inform'ation Pulse Width FIGURE 2. Composite Video Voltage Percentages
4·19
N
~ composite video output (con't)
It)
~
~
I
250n,
----r-MAX
1 - - - - - - SH 5.07936"' - - - - -
±0.65472",
1 _ - - - - - - BH ll.42856",MAX-------l_1
VWHITE Note: Line time equals 63.492~s with oscillator at exactly 378 kHz.
FIGURE 3. Composite Video Rise and Fall Times FIGURE 4. Composite Video Pulse Timing, Horizontal Sync
SH
L....-..IL...-....IL--<~
- - - - - - - B v l . 3 9 6 8 2 4 mS± 5~~~: I •
VfOEO OUT
HORIZONTAL SYNC
""~
SYNC
.'""""~
OUTPUT
0.2", _ _ 1_ _
n~
MIN
"..
BLANKING . .
COG _ _ 0.2"'jrLll
MAX--
TRIGGER.~
. OUTPUT
2.6±0.1", _
FIGURE 6. Color Gate Signal Timing FIGURE 7. Trigger Output Timing Relationship
·4-20
video output patterns
.....................
.....................
.....................
.....................
.....................
.....................
.....................
.....................
.....................
GATEonAINBDW DARK
.....................
lBAns RASTER
.....................
.....................
.....................
.....................
.....................
Note: P.n,rnlwllchcodn.rl BCD 1241 pOllllYI l0!l'c
Gated Rainbow Dots 15 x 21
0011 0100 Purity
0101
GAHDRAINBOW
10 BARS
4-21
N
~ connection diagram
Lt)
~
~
TRIGGER 16 TRIGGER
OUT SELECT
Vss Z OUT
BCO 1 VGG
BCO 2 OSC 2
BCD 4 OSC 1
BCD 8 COG
-
DIFF 2 COG
COMP
DIFF 1 VIDEO
OUT
TOP VIEW
Order Number.MMS322N
See Package 19
4-22
s:
TV' Circuits s:
U1
CO
,J::a.
o
general description
The MM5840 TV Channel Number and Time Display The position of the display is controlled by adjusting the
Chip is a monolithic metal gate CMOS integrated circuit external RC time constants of the horizontal and vertical
which generates a display of channel numbers (up to monostable multivibrators.
16 channels) and time readouts on the television screen.
A 7-segment decoder is used to decode either channel
inputs or time which is stored temporarily in the channel
By external connection, it has the option of displaying number buffers or 4-bit latches, respectively, depending
the channel number only while switching channels with on the time slot of the display. Each digit of time is
a period controlled by the external RC time constant of stored in a 4-bit latch while it is being decoded and
a timeout monostable. displayed, and the next digit enters the latch while the
horizontal sweep is between digits,
TIME
4·23
absolute max,imum ratings
Supply Voltage (VDD - VSS) -o.3V to +15V
Voltage at Any Pin VSS - O.;3V to VDD + 0.3V
Operating Temperature O°C to +70°C
Storage Temperature -55°C to +150°C
Lead Temper.ature (Soldering, 10 seco~ds) 300°C
External RC
CVERTICAL 0.1 - /1 F
CHORIZONTAL 0.001 /1F
RVERTICAL 50 kSl
RHORIZONTAL 100 kSl
CTIMEOUT 5 /1 F
RTIMEOUT 1 MSl
Propagation Oelay
Video Gating and Osc. From Input Clock to Oscillator 2 clock
Inhibit Outputs Inhibit or Video Gating Outputs pulses
Input Leakage 1 /1A
Input Capacitance 5 pF
4-24
block diagram
TIMEOUT
MONOSTABLE
HORIZONTAL VERTICAL (EXTERNAL RC
PULSE PULSE CHANNEL OR TO VDO) TIME
truth table
DURING DIGITS
CODES
RESET 1 2 3 4 5 6 7 8
OX 1 0 0 1 1 0 0 1 1
OY 1 1 0 0 0 0 1 1 1
OZ 1 1 1 1 0 0 0 0 1
timjng diagram
f.ol-----------16.7ms------------i1
VERTIC~L - - , ,,......----------------------(1 ~ I
RETRACE U U
VERTICAL - - ,
TIME OUT L-..
. §ADJUSTABLE
L
HORIZ.
RETRACE U ~
If.o--------63.5"S--------~1
-, C
, -'-1'-'-'--'
'C --I ::,-::, ,
4-25
typical applications
Horizontal and Vertical One-Shot Circuit
PORTION ON. CHIP
r----- --------,
+-----.-----~~------~----~-.~--~14 V+
J+
I
INPUT OUTPUT
CONFIG.URATION } CONFIGURATION
FOA CHANNEL . FOR OSC INHIBIT, RETRACE
INPUTS ANO VIOEO OUTPUT, J INPUT
v,
CONTROL INPUTS OIGIT SELECT
{
I
I V-
L _______________
":---~~----4--------4I~':"V- ~
RETRACE
INPUT U
0.01 +12V
lOOk
-P
(12e~~s; >---Jl,fl/'v----~t-....- t 19
15 BCD 1 14
6.8k
BCD 2
15
....L-
BCD 4
18 BCD 8 VIDEO
FASTSETF....L-
MM5318 OUTPUT ':"
SLOW SET 11 ·DX
HOLD
....L-
16
26
21
DY
10
9
JUUl ov
DZ
28 18 I-=___-----+---...--"",...,..~t-----< +12V
HORIZ.
13
6.8k
1-
12
':"
13 19
MM5840 VERT.
2k
"'''''''''~
16 \ - - - - - - -.... --.f---, HO AIZONTAL
POSITION
11 1--_4....~~........ ADJ.
TIMEOUT MONOSTABLE
.-------~ ~------_426 21 I---------+--.I--~ VERTICAL
POSITION
NC 21
20 1----4I~.JV""'--. ADJ.
NC 2B
+12V
NC
4-26
typical applications (Continued)
VDD
60 Hz 1 roll
20
vDD ITO 2
!lUi 4
3
...I- !lUi B
HOLO 2
3V Ox
SET HRS 24
DV
23
VSS Dz
SETM1NS 22
9V
MANUAL TV "ON"
...L
MANUAL TV "OFF" 15
MM53100
...L
D1SPLAVSELECT 16
...L 12V
ENABLE
....L
STANDBV
12V TV"ON"
50160 Hz
OUTPUT
SELECT
21
10
PERIOO AUTO "ON"
NORMALL V SELECT X OUTPUT
HARO WIREO 11
FOR EACH
APPLICATION
TO TV VIOEO
OUTPUT CIRCUIT
6.Bk
15
VIDEO
OUTPUT ':"
JUUL ov
lB 12V
HORIZ.
':"
TO TV VIDEO GATING 6.8k
12
CIRCUIT
JUl ':"
13 19
MM5840 VERT.
VERTICAL
RETRACE
'''''''"'')
{~
22 ':"
CHANNEL 23
UNITS 16 HORIZONTAL
24
POSITION
AOJ.
25 17
26 21 VERTICAL
POSITION
27 AOJ.
,""'n
TENS
{; 20
4 2B
+12V
8
4·27
TV Circuits
connection diagram
Dual·1 n·Line Package
TOP VIEW
4·28
absolute maximum ratings
Supply Voltage (V oo - Vss ) -0.3V to +15V
Voltage at Any Pin Vss - 0.3V to Voo + 0.3V
Operating Temperature O°C to +70°C
Storage Temperature -55°C to +150°C
Lead Temperature (Soldering, 10 seconds) 300°C
electrical characteristics
Voo = 12V, Vss = OV, unless otherwise specified.
Channel Inputs
Logical Low V ss --o·3 V oo:-5 V oo -4.5 V
Logical High V oo -0 .. 5 Voo Voo+0.3 V
Input Frequency
Oscillator 1 4 4.5 MHz
Horizontal Pulse Width = 14/ls 15.75, kHz
Vertical Pulse Width = 1 ms 60 Hz
Output Drive
Video Output
Logical Low Vss + 1.0V 1-11 mA
Logical High Voo - 1.0V 1 mA
Oscillator Inhibit Output
Logical Low Output Forced Up to Voo - 4.5V f-21 mA
Logical High Voo - 1.0V 0.2 mA
External RC
CVERTICAL 0.1 /IF
CHORIZONTAL 0.001 /IF
RVERTICAL 50 kD pot
RHORI'ZONTAL 100 kD pot
Propagation Delay
Oscillator Inhibit Output From Input Clock to Oscillator 2 clock
Inhibit Output pulses
Input Capacitance 5 pF
4-29
block diagram
HORIZONTAL VERTICAL
PULSE PULSE CHANNEl TIME
4MHz
CLOCK
timing diagram
~----------16.7mS------------j1
1--1
VERTCAL-----' 1..----------------------...... ~ r -
RETRACE U U
VERTICAl-----' j"=ADJUSTABLE
TIMEOUT ~
HORIZ. RETRACE
U i_I ----'u
If-~---~---63.5~S----------i1
r----------~!~l---~
HORIZ. TIME
OUT
1.-_ _ :+_....1 ADJUSTABLE
VIDEO
OUTPUT '_____________________________.....l
nnn1..-_______________________
CHARACTER
DISPLAYED
J+
. {I
INPUT
CONFIGURATION
FOR CHANNEl
INPUTS AND
CONTROL INPUTS
OUTPUT
. } CONFIGURATION
FOR OSC INHIBIT,
VIDEO OUTPUT,
DIGIT SELECT'
RETRACE
INPUT V2
RETRACE~
INPUT
I
I
Horizontal and Vertical One-Shot Circuit
4-30
typical applications (con't)
0.01
'12V
lOOk
-P
112~~:S; >--""'{\r----t~...-t 19
15 BCD 1 14
6.8k
BCi'i2
.4 15
BCi'i4
3
BCO 8 VIOEO
2
17 MM5318
OX
OUTPUT -=
16
26
27
OY
10
..1lfUl ov
OZ
28 18 I-:-:-:=--+-...
HORIZ.
.....Jw'v-.....---< +12V
13
6.Bk
12
-=
13 19
MM5841 VERT.
VERTICAL
RETRACE
[
22
CHANNEL 23
UNITS 16 HORIZONTAL
24
POSITION
AOJ.
25 17
,"",n
TENS
[ ;
4
26
27
28
21
20
VERTICAL
POSITION
AOJ.
+12V
a
If
4·31
TV Circuits
block diagram
50/60 Hz SET SET
SELECT HaLO MINUTES HOURS
Oz
D~~i~~~ ------------.. . .
ENABLE
MAN "ON" ---+ CONTROL LOGIC ~--~---... TV "ON" alP
AND
MAN "OFF"---+ alP BUFFERS AUTP "ON" alP
STANOBY ---+ VIEW PERIOD alP
MUL TlPLEXED
BCD DIPS
4-32
s:
absolute maximum ratings (MM53100) (VDD common voltage reference) s:
CJ1
Supply Voltage (VDD - Vss) 6V
W
Voltage at 50/60 Hz Select and Period VSS - 0.3V to VDD + 0.3V ~
Select Inputs
0
0
Current Into or Out of Any Other Input 100 /1A max
s:
electrical characteristics (MM53100) T A = 25°C, VDD = 4.5V, VSS = OV unless otherwise specified. s:
CJ1
PARAMETER CONDITIONS MIN TVP MAX. UNITS W
~
0
Supply Voltage 2.8 5.0 V CJ1
Supply Current VDD = 4.5V 10 25 /1A
HI
Display Select Input Delay 0.5 2.0 /1S
Output Logic Levels
BCD Outputs External Resistor, 15 kU to
VDD - 12V, CL = 15 pF
Logic "1" VDD-0.8 V
Logic "a" VDD-11.2 V
Note 1: If input voltages go more negative than V 55, the input current must be limited to a maximum of 100 pA by the use of external series
resistors. No resistors are required on the OX, Oy, Oz inputs when interfacing with the MM5840.
electrical characteristics (MM53105) TA = 25°C, VDD = 4.5V, VSS = OV unless otherwise specified.
4-33
electrical characteristics (Continued) (MM53105) T A = 25°C, VOO = 4.5V, VSS = OV unless otherwise ~pecified.
PARAMETER CONDITIONS MIN TYP MAX UNITS
functional description
A block diagram of the MM53100, MM53105 TV timers 50 or 60 Hz Select Input: This input programs the
is shown in Figure 1. A connection diagram is shown in prescale counter to divide by either 50 or 60 to obtain a
Figure 2. Unless otherwise indicated, the following 1 pps time base. The counter is programmed for 60 Hz
discussions are based on Figure 1. Figures 5a and 5b operation by connecting this input to VOO. An internal
illustrate the system configuration for a crystal controlled 1 MQ pull-down resistor is common to this pin; simply
TV display system using both circuits. leaving this input unconnected programs the clock for
Dual-In-Line Package, Top View 50 Hz operation.
VDD .....!. U 24
-OX
Time Setting Inputs: Inputs to set hours and set minutes
as well as hold input, are provided. Internal 1 MQ
BCD 8...1. .31.. Dy
pull-down resistors provide the normal timekeeping
8CD 4.2- .E. DZ '
function. Switching any 1. of these inputs (1 at a time)
to "1" results in the desired time setting function. Set
BCD2~ -
21
50/60 Hz SELECT
Hours advances hours information at 1 hour/second and
Set Minutes advances minutes information at 1 minute/
20 second, without roll over into the hours counter. Set
BCD 1.2. - 50/60 Hz DRIVE
Minutes also resets the seconds counter to O. The hold
STANDBY -2. 2!.. HOLD input stops the clock to the minutes counter and resets
the seconds counter. Activating Set Minutes and Set
7
ENABLE - 2!.. SET HRS Hours simultaneously resets the displayed counters
to all a's.
TV"ON" 8
OUTPUT -
22.. SET MINS
PE~:~~ -! 2!.. DISPLAY CONTROL Display: This input controls the display and time-
setting operation. It has an internal 1 MQ pull-down
AUTO "ON" ..!.!!. .!l.. MAN "OFF" resistor'to VSS. When taken to Logic "a" or in open
circuit condition, the real time is displayed and the Set
PERIOD 11
SElECT X -
~ MAN "ON" Hours and Set Minutes inputs operate the real time
counters. When taken to logic "1 ", the "ON;' time is
PERIOD 12 13
SELECT Y - -VSS displayed and the time-setting inputs operate on the
"ON" counters.
FIGURE 2.
Order Number MM53100N or MM53105N
See Pa~kage 22
I
Digital Select Inputs (OX, Dy, OZ): These 3 inputs are
used to determine which digit will be displayed. Table IA
50 or 60 Hz Orive: This input is applied to a Schmitt shows the code for each digit. Seconds will be displayed
trigger shaping circuit which allows use of a filtered as"qo" when the "ON" time is being displayed.
sinewave input. A simple RC filter should be used to
remove possible line voltage transients that could either Enable: This input has an internal resistor to VSS.
cause' the clock to gain time or damage the device. The
When taken to logic "1", this input disables the pro-
input should swing between VSS and VOO. The shaper grammed "ON" time for the TV output.
output drives a counter chain which performs the time-
keeping function.
Period Select Inputs (X, V): These inputs have pull-
Alternatively, in a crystal controlled battery operated down resistors to VSS. They determine the view period,
system, an oscillator and prescaler such as the MM53107 i.e., 5, la, 20 or 30 mins. Table IB shows the Period
could be used as a time base. Select Code.
4-34
3:
functional description (Continued') 3:
(J1
Standby Control Input: This input has an internal period, a signal on the manual "ON" input will prevent
resistor to Vss. Its function is to sense when the line the automatic switch-off.
w
....
generated 12V supply is turned off and to then disable o
the outputs. In the TV, th is input should be connected Manual "OFF" input will always reset the output to a
o
to the 12V supply. logic "1" state.
3:
Auto "ON" TV Output: An additional output is pro- 3:
(J1
Manual "ON" Input: This input has an internal resistor
to VSS. When taken to logic "1", this input turns the
TV output to the "0" state. It is designed to have
vided to indicate that the TV is "ON" in the automatic
mode of operation. This· output goes to a logic "0" ....w
o
for the duration of the auto "ON" time. Manual "ON" (J1
typically 0.75 second debounce time to prevent mal- switches this output back to a logic "1".
operation.
View Period Indicator: This output normally is a
Manual "OFF" Input: This input has an internal resistor logic "1". When the TV switches on at the programmed
to VSS. When taken to logic "1", this input turns the time, this output transmits a 1 Hz waveform for the
TV output to the "1" state. It is designed to have duration of the selected view period. Hence, it can be
typically 0.75 second debounce time to prevent mal- used to indicate that the TV is switched on for a limited
operation. period only by means of a flashing on-screen and/or
off-screen display. The output will permanently return
to "1" at the end of the viewing period or when a valid
TV "ON" Output: Figure 3 illustrates the CMOS manual "ON" cij- "OFF" input signal is received during
inverter output circuit used. the view period.
In the manual mode of operation, the manual "ON" BCD Outputs: Figure 4 illustrates the open drain output
input sets this output to "0", the manual "OFF" input circuits used, a) MM53100, b) MM53105.
resets this output to "1". The manual "ON" input
inhibits the auto "ON" output. With the use of the external respective pull-Up and pull-
down resistors, these outputs are designed to be com-
In the programmable mode, this output goes to "a" patible with the MM5840 and MM5841 TV display
when the programmed "ON" time coincides with the circuits.
real time (unless enable = 1). The output will then
stay at "a" for the selected period of 5, 10, 20 or 30 Note. Case (a) for common VDD, case (b) for common
minutes before returning to "1" state. During this VSS when used with the MM5840.
Ox 1 0 0 1 1 0 0 1
Oy 1 1 0 0 0 0 1 1
Oz 0 0 0 0 1 1 1 1
X Y
0 0 5 mins
0 1 10 mins
1 0 20 mins
1 1 30mins
VDD
VDD ---4..-----4..- VPDS
DIP
DIP
+
DIP
Vss VSS
FIGURE 3. CMOS Output (TV FIGURE 4a. BCD Outputs, MM53100 FIGURE 4b. BCD Outputs, MM53105
"ON", Auto "ON", Indicator)
4-35
functional description (Continued)
50160 Hz
SElECT lBV lBV
o ...-"",..,...----TVVIOEOOIPCCT (lBV)
o
~
UELL
BATTERY
lBV.r MMS3l07
PRE·SCAlER
50160 Hz
lSV lBV
M
Il)
~
6V
~ HORIZ
t--t--+--"''''''-......--:--- lBV fROM TV
t - - -.....-'lM,-- HORIZ RETRACE
Ox
6V
Oy VERT
MM~840
Oz
VERT RETRACE
OSC INH---.
6V
CLOCK
S6:s~~~~ - - - .
MOOE-.
: ) eo,,,,,, '"'""
TV "ON" DIP
A'UTO "ON" DiP
CHANNEl
liPS
HEll
50160 Hz BATTERY
SELECT 3V l2V
l2V
3V
TV VIDEO alP CCT
MMS3l07 50160 Hz
2 CELL . r
BATTERY PRE SCALER BCDl
3V
HOLD i- stQ2
':'
HORIZ
l2V
SETM
HORIZ RETRACE
SET H
Ox
':'
Oy VERT
MAN "ON" MMSB40
DZ
VERT RETRACE
MAN "Off"
OSC INH---.
':'
DISPLAY SELECT
CLOCK
ENABLE
PERIOD SELECT
s6:s~~~~ - - - .
MOOE-.
:=) "'' ' ' '"'""
TV "ON" OIP
AUTO "ON" OIP
VIEW PERIO~ DIP
':' CHANNEL
I/PS
4-36
TV Circuits
Note, SKll15 kit includes: MM57100N,
MM53104N and LM1889N
4·37
r - - ' \ M -.....-""tRIGHT
500k
"']I033"F
':' 23 RESET VIDEO I!--------IJ-r---"--,
AUDIO ~-----,
o-_ _..:;.24:..fSELECT
MM57100N
VIDEO GAME
..--'lM.-......-..:.j lEFT
500k
-9V
Tennis Since each player has four men who can return the
puck, the play is very fast. To make it even more diffi-
Tennis consists of a green court with a blue border, cult, a point can only be made when the puck slips
a yellow net, orange paddles and a light green ball. through either player's goal - a small opening located
It is played by two players who, th'rough the use of their directly in the middle of the side walls. Since only a
individual controllers, can vertically raise or lower their small portion of the left and right walls is used for
paddles. Play starts when the machine automatically scoring, the puck can essentially rebound off all four
serves the ball cross court. This can be from either the walls. Scoring is the same as in tennis - first player to
left or the right. The player who is served must hit the reach 15 is the winner. The score is yellow.
ball back to his opponent, who must then return it.
Handball
As the volley begins, the speed of the ball increases once,
making it more difficult to return. The speed change Handball consists of a brown court, two paddles - one
occurs on the fourth hit. When either player misses the blue and one orange, and a yellow ball. It plays identical
ball, a point is scored for his opponent and the next to tennis except only one player plays at a time and
serve comes to him after a wait of 1.6 seconds. To both are on the same side of the court, playing against
increase the play value, the ball can bounce off both the opposite wall. After the ball is served, the serving
the top and bottom walls. In addition, before the play player disappears from the screen and the other player's
begins, each player can choose a large, medium or small I paddle appears. He must hit it, or he loses the point and
paddle, depending on his playing skill. The paddles the other player serves again. If he hits it, his paddle
are sectioned, giving a "spin" effect tothe ball. disappears and the other paddle comes on the screen.
The other player must return it to the wall. The object
The score, which is yellow, is automatically displayed in of the game is to keep the ball in play by continuously
large, easy-to-read numerals_ The score appears when hittil'")g it to the back court wall. The ball can be reflected
the ball is missed and remains on until the ball is served. off three sides - the top, bottom and right wall. The
Play ends when the first player reaches 15 points. At the first player to score 15 is the winner. The score colors
end of the game, the score remains on until the game match the paddle colors - one blue and one orange.
is reset.
Hockey SUMMARY
Hockey consists of a blue playing field which is sur- Table 1 describes how the game will appear on a standard
rounded by yellow walls, two yellow player-controlled 25" TV. The actual appearance will vary somewhat
goalies, six light yellow machine-controlled forwards from set to set as a function of color control settings,
and a light bl.ue hockey puck. fine tuning, overscan, etc. Table 2 and Figure 10 define
the Chroma Outputs and the approximate color they
Hockey, while similar to tennis, is a much faster and generate.
more exciting game. Each player controls only his
goalie, who. moves in a vertical motion. In addition,
each player has three forward men who also move SYSTEM CONFIGURATION
vertically. These men are not under player control but
move up, and down, as a group, automatically. As in Figure 2 is a detailed schematic of how the MM57100
tennis, the opening serve comes cross court and can TV Game Chip would appear in a completed system,
come to either player. Further serves are to the player including the MM53104 clock generator and the LM1889
who has just lost a point. channel modulator.
4-38
3.579545 MHz 43 pF
-15V 0 •• ~--••~IDI~--4.~----~ I
NC
2.2k r O01
.
5.1k
~RIGHT 16
-NC ';'
PADDLE
To.o33 MM57100N CLKt*
CLK 13
MM53104N
CLDCK DRIVER
6.8M
VIDEO
---L-o GAME LM1889N
231GAME TEST 3k 171 -15V MODULATOR
RESET ----------f
CHROMAB~8 ~."
';'
-15VO-VV\'.,..-4...... 0.01
CHROMA A
VBIAS B 10
• R·Y
B·Y Q
v~::':E 0
241 GAME
O~-----t SELECT BIAS
'-""H -
LEFT VIDEOt----------
151 AUDIO IN
",~PADDLE
~100
VDD
VGG PON Vss
T o.033 114 22 112
2k
1.0 43 pFI
.J:o>
tv H1V~?E_O IN
to
11 --0.01
75
... • • • • • • • • I I 0-15V
';' I I -=
T
..... I. 0-9V
I
VESTIGIA!.
~IIE}~~·
SL00216 ';'
15VOLT SIDEBAND
REGULATOR FILTER*
';'
I
-~';'
~ o!J~ . II C~N p~T
*Model CTI55B Surface Acoustic Wave Output Modulation Filter.
(Crystal Technology Inc., 2510 Old Middlefield Way, Mountain View, Calif. 94043). I }
- "" No".. All capacitors. inn JlF_
DPDTTHROW
LONG SLIDE , All resistors In •
SWITCH _
'CENTRALAB Model 2 ULTRALIFE
FIGURE 2. Schematic Diagram
potentiometer or equivalent.
m 00 LL 911\111\1
dc electrical characteristics 0°C:STA:S75°C
4AO
s:
s:U1
......
~
Note 1: Chroma A, Chroma B and the Chroma bias output leve!s are specified for dc current = O. Typical dc loading conditions are 30~A or less.
The resistor network in Figure 9(a) can be used to determine the shift and interaction in outputs for dc load conditions.
Note 2: Video output levels are specified for dc current = O. Any other loading conditions will influence the output levels and the resistor network
in Figure 9(b) can be used to calculate output levels. Typical dc currents are 30~A or less.
Note 3: All diffused resistors have a ±30% tolerance, and tracking of tolerance can be assumed.
Note 4: All MOS switch impedances include all variations, i.e., due to process, and supply variations, tracking of MOS switch impedances can
be assumed.
Note 5: Tracking of diffused resistor tolerances and MOS device tolerances cannot be assumed.
Note 6: Power On Clear input pin is reset by the MM57100 to the VOH level near the end of the internal Power On Clear cycle. as shown in Figure 8.
4-41
ac electrical characteristics (Doc to +70°C, except where otherwise noted)
4-42
s:
s:
(J1
....,
~
o
o
¢1
Al------;
ISCB
CHROMAA AO-------~---------~,I
ABURST-----4--------~~·~-~
VDD
A3-----'
CHROMA A If A
Bl------o IrA
CHROMAB BO-------~-------~----------------------~~~-------------~I~------
VDD
B3------'
CHROMA B
4-43
I ~
TIME
=t L1r~E 20 ~ =r
*
LINE 262 THROUGH LINE 3
LINEI LINES 4 THROUGH LINE 6 - - THROUGH
LINE7 - - - L I N E 21 LINE 22
YSLANK-
YBLACK
YWHITE -
H ~ 63.557J.ls
Note: Interlaced scan and
equalization pulses are not used.
FIGURE 5(a). Video Output Waveform
IrS
YSYNC --------------1fj-:::~~~
IrL
tfL
'l----------,ON , ~IDFF
AUDIO
------------~~ nnnnnnnnnr--
~ U U U U U U U U U
HIT CAN OCCUR FROM HORIZONTAL
LINES 48TO 232
f-----------lpW.-----------1
VOH-------------r--------------,
90% 10%
VOL-------------------JI
f------- Ih.---~_1
4-44
PLAYER PADDLE
LINE 1 VIOEO
VIDEO
~~~~
__- - - - + ____
I
VOH------~
90%
PLAYER
PADDLE :::::::::t Vpl
INPUT VIL----~ 10% ----'
VGG
Vss -------+-_+_
h:1:
SOOk
10%
0.22"F
S
%
PLAYER
PADDLE
INPUT
VOH-------
i-----tPL-----j
tpOWER
VDD.VGG
.
~L _ _ _ _ _ _ _ _ _ __ VDMAX
':<.-1'1-1-
V-
tdel "t-d'f-
I . -_
- - - . - - - VOH
POWER "ON"
, CLEAR INPUT . Velr . . ~.
(a) Fast Power Supply Edges (b) Slow Power Supply Edges
SYNC
2.Sk
J..
VIDEO
OUTPUT
O.Sk
CHROMA B CHROMA A
OUTPUT OUTPUT 13Sn-7BOn
0.41k
0.4Jk
16011-1JOOll
0.6k 0.67k
VDD VDD
(a) (b)
FIGURE 9. Chroma and Video Output Networks (See Notes on Page 4-41)
4-45
TABLE I. Game Colors and Size on a 25" TV
"-
CHROMA VIDEO APPR.
ELEMENT APPR. SIZE COMMENTS
OUTPUT OUTPUT COLOR
-8
4-46
3:
DESIGN CONSIDERATION FOR THE PLAYER TIMING AND LEVEL DEFINITIONS 3:.
PADDLE INPUTS U1
Calculations are based on an input waveform at the
Rise and fall times of </>1 and r/>2 clock inputs. .....
~
block diagram
Dual:ln·Line Package
1~______~
CHROMA __ 18 CHROMA
~--------~----+--lAG
LEAO
CHROMA 3 16 CHROMA
BIAS SUPPl Y
1--____1-1_5 SO UN D
TANK
14 RF
GROUND SUPPl Y
13 VIDEO
~--~----------+--DCREF
CH B { 6
TANK
CH A
OUTPUT
CHA { 8
TANK
10 CH B
OUTPUT
4-48
tentative electrical characteristics (Applications circuit, V = 15V)
TYP
Supply Voltage Range V14, V16 12-18 VOC
Total Supply Current 114 + 116 35 mAOC
Common·Mode Input Range
Chroma Mod. V2, V3, V4 4-10.5 VOC
RF Mod. V12, V13 3.5-11 VOC
Oscillator Levels
Sound Osc V 15 3.5 Vp·p
Chroma Osc V 17 5 Vp-p
RF Osc V6, V7 or V8, V9 300 mVp-p
Ch'roma Modulator Conversion Gain
V130ut1V4-V3 0.6 Vp-pIVOC
V13 OutIV2 - V3 0.6 Vp-plVoC
Residual Chroma Output, V13 50 mVp-p
V2 = V3 = V4
RF Modulator Conversion Gain 10 mVrmslVoc
V10 or V111V12·V13
*
lk -=-
lk 1 18
, * 4 l PF
5.1k
II
R·Y 11 3.58 MHz
INPUT OUTPUT
Jk"
CHROMA
DC REF
16
-=-
TO.OleF ~,O.Ol"F 10"H
B·Y 15
INPUT
AUDIO
14
lM1BB9N
-=-
240 CH 4 13 VIDEO
DC REF
22pF
12 2k
LUMA+ SYNC
CHSW
11 75
10 75
'J 0 001
. "F
15 Vae
+
~l"F
RF OUTPUT
4-49
TV Circuits
Note. SK 1115 kit includes: MM57100N,
MM53104N and LM1889N
general description
The MM53104 is a monolithic CMOS clock generator All pins are protected against static damages by diode'
designed to generate the 2-phase non·overlapping clocks, clamps to both VCC and ground.
¢1 and ¢2, for the MM57100 TV game chip.
X2 VCC
Xl
Xl GND
MM53104N X2
92
¢1
-.J I 1....-______ 1
¢1
¢2
I L,
TOP VIEW
Order Number MM53104N
See Package 17
logic diagrams
Vcc
Xl
f 1M
731/2
COUNTER
NON·
OVERLAPPING
CIRCUITRY
¢l
92
Yl
lOOk
Vcc
':"
-
X2
1 Y2
f
':" ':"
4·50
absolute maximum ratings (Note 1)
ac electrical characteristics VCC = 15V, CL = 15 pF, all limits apply across temperature.
TR
TF
Rise Time of ¢1 or 92
Fall Time of ¢1 or 92
15
15
30
30
ns
ns
0
TPW,¢l+ Positive Pulse Width of ¢1 410 455 510 ns
ac test circuit
u
=f}F
T2 - - t
5V--
4-.A.!kA
......... .L...o+t5V
OV
- Tt-- INPUT FROM PULSE ~ U
GENERATOR'-""1 I
O.OtI1 F MM53t04N
Tt = 145 ns
T2 = 135 n s _ r--3 6 - TO SCOPE
t r =tf=20ns ~ ~C~
CL = 15 pF including scope probe and all stray capacitunces. -::c-
Note: When the MM53104 is used with the MM57100 OPEN o-! 5 T TO SCOPE
and LM1889, the 4.5 MHz oscillator in the MM53104 - C
is not needed and thus pin 3 should be grounded. ....._ _ _ _ _--1 -::c- L
"4·51
~
$2
('t)
switching time waveforms
an
:E
:E PULSE
GENERATOR
</>1 V C C - - - - - I
¢z GND
~---. ~pPW .~2': ~.I"""F:--D-.5V--TPW.</>2-------l
.'i' . I. TW.¢2-
Note: tr = tf = 20 ns . 1------TPW.¢1+------~
4·52
TV Circuits
The MM58106 is a monolithic CMOS integrated circuit • Single chip clock and display
which generate's a display of channei number and time • 12 or 24·hour operation
on the television screen. The circuit can ei.ther display
• 5 or 8·digit time display
channel number (2-83) or program number (1-16).
Time display can be 4 or 6-digit. in either 12 or 24-hour • Channel or program number display
mode. Timekeeping is controlled from a 50 Hz or • 50/60 Hz operation
60 Hz input. The position of the display on the TV • Charnel and time display on channel change
screen is controlled by adjusting the external RC time
constants.
28
RV VERT
12124 HR 27
Cv DIGIT SEL
26
VDD OSC INHIBIT
25
CTI 4MH. CLOCK
CH/PROG SEL 24 RH
23
CUI HOR
VIOEO OUT 22 CH
CU4 20 50/60SELECT
10 19
CU2 SET HR
11 18 SETMIN
CT4
CTS 12 11 12124 HR
CT2 13 16 HOLO
OSCILLATOR VIDEO
TOPVIEW
INHIBIT OUT
FIGURE 1 FIGURE 2
4·53
absolute maximum ratings
Supply Voltage (VOO - VSS) 5.5V
Voltage at Any Pin VSS - O.3V to +5.5V
o
Operating Temperature O°C to +70 C
Storage Temperature -55°C to +150°C
Lead Temperature (Soldering, 10 seconds) 300°C
All Others
Logical Low VSS-0.3 VSS VSS+0.3 V
Logical High VDD-D·3 VDD VDD+0.3 V
Input Frequency
4 MHz Clock 1 4 4.5 MHz
Horizontal Pulse Width = 14 ps 15.75 kHz
Vertical Pulse Width = 1 rns 60 Hz
External RC
CVERTICAL 0.1 pF
CHORIZONTAL 0.001 jJF
RVERTICAL 100 kst pot
RHORIZONTAL 100 kst pot'
Propagation Delay Oscillator Inhibit From Input Clock to Oscillator 2 clock pulses
Output Inhibit Output
Input Leakage 1 pA
Input Capacitance 5 pF
4-54
functional description
A block diagram of the MM58106 TV timer is shown in Display Control: The channel number and time display
Figure 1. A connection diagram is shown in Figure 2. circuits operate {rom the 4 MHz input clock frequency.
Unless otherwise indicated, the following discussions are The horizontal and vertical position of the display is
based on Figure 1. controlled by adjusting the external RC time constants
(RH, CH, RV, Cvl.
50 or 60 Hz Input: This input has a shaping circuit
which allows using a filtered sinewave input. A simple
RC filter such as shown in Figure 4 should be used to
These monostables are triggered by the horizontal and
remove possible line voltage transients that could either
vertical retrace signals as shown in the timing diagram in
cause the clock to gain time or damage the device.
Figure 3.
The input should swing between VSS and VDD. The
shaper output drives a counter chain which performs
the timekeeping function. A 7-segment decoder is used to decode either channel
inputs or time. Also a time slot decode r is employed to
Alternatively, in a crystal controlled battery operated decode the appropriate time slot and the digit to be
system, an oscillator and prescaler circuit such as the displayed. It generates a video output signal that can
MM5369 could be used as a timebase. modulate the sweep of the television tube for the on-
screen display.
50 or 60 Hz Select Input: This input programs the
prescale counter to divide by either 50 or 60 to obtain
. a 1 pps timebase. The counter is programmed for 60 Hz Channel/Program Number Select: This control pin has
operation by connecting this input to VSS. An internal a pull-up resistor to VDD and, with the input open,
1 MD pull-up resistor is common to this pin; simply the chip will accept a binary plus 1 code on the CU1 to
leaving this input unconnected programs the clock for CU8 inputs and display the program number. For
50 Hz operation. example, an input code of 0000 will indicate channel 1
and 1111 will indicate channel 16.
I I-0 - - - - - - - - - 1 6 . 7 m ' - - - - - - - - 1 1
VERTICAL - - - - , I r - - - - - - - - - - - - - - , { J . f - - - - i r-
RETRACE U U
VERTICAL ----,
TIME OUT Y'
r-1
HOR~~~~~~~ - - - -...U
0-------63.6115
f-I ------11
f r---u--
HOR~~~~~~~----...~ f~
OSCILLATOR
INHIBIT _ _ _ _ _ _ _..... I L..
_ _ _ _ _ _ _ _ __
4-55
typical applications
5V
1M
-.L
r SET
.HRS I9 JVohflOV
0;.;.UT.;.;.P.;;..UT'--_ __ . - - - 5 V
r.
-= -.L
.r
SET
MIN 18 231--+-+--'VI1'Ir...J
FROMTV
-.L HOLD 16
!--_.-J\,J'I/'v-HDRIZONTAL
RETRACE
6.8k
5V-24 HR, GND-12 HR 17
r------------''~-"'_i26
. MM58106
25 28
FROMTV
!--_.-J\,J'I/'v-VERTICAL
RETRACE
~
\ DISPLAY
OFF
10 241---+-....>1-...,
l CHANNEL {
UNITS
4
8 14 22
CHANNEL {
TENS
~
4
13
11
B 12
5V
PRDGRAMICHANNEL SELECT DIGIT SELECT
5V-PROGRAMS (EUROPEAN) 5V-8 DIGITS
GND-CHANNELS GND-5 DIGITS
FIGURE 4.
--~~--~---_.---~~~...-V+
J+ RETRACE
INPUT U
I
Vl~
INPUT OUTPUT .
,,--vr-
CONFIGURATION } CONFIGURATION
FOR CHANNEL . FOR OSC INHIBIT,
INPUTS AND VIDEO OUTPUT,
CONTR,DL INPUTS DIGIT SELECT
{
I
I
FIGURE 5. Horizontal and Vertical One·Shot Circuit
4-56
o
o
M
M
Analog to Digital (A/D) Converters
ll:
~
..oJ
=;::=
.," .. "
IMPL,UT
,'." ..... ",
BI-FET Technology
",
block and connection diagrams
OFFSET CORRECTION
CAPACITORS
ANALOG UNKNOWN
GND INPUT REFERENCE BUFFER OPAMP OPAMP
IAGI IVxl INPUT IVRI OUT IN'PUT OUT COC2 COCI COC3
Dual-In-Line Package
POWER 1 18 ANALOG
SUPPlVGNO GNO
2 11 ANALOG
v· INPUT
COMPARATOR' J 16
VAEF
OUT
15aUFFER
OUT
NEG RAMP 5 140PAMP
UNKNOWN IN
POlOET/POS 6 13 DPAMP
RAMPUNKNQWN OUT
OfFSET 1 12
CORRECT COC2
RAMP 8 11COCl
REFERENCE
OIGITAl 9 10
GNO COC3
TOP VIEW
PQWERSUPPLV v· OPEN·COLLECTOR NEGATIVE RAMP POLARITY OFFSET RAMP DIGITAL Order Number LF13300N
GND (PSG) COMPAAATOROUT UNKNOWN (RU-) DEl/POS. CORRECT REFERENCE OND(OG)
ICOMPI RAMP UNKNOWN lOCI IRRI
See Package 20
IPOIRU>I
TOPVIEW
5-2
r-
absolute maximum ratings ::!2
w
w
Supply Voltage ±18V o
. Power Dissipation (Note 1) 570 mW o
Operating Temperature Range O°C to +70°C
Junction Temperature 110°C
Storage Temperature Range -£5°C to +150°C
Lead Temperature (Soldering, 10 seconds) 300°C
. Logic "0" Input Voltage All Switching Input Pins 5, 6, 7 and 8, -5 0.8 V
O~ TA ~ +70°C
Note 1: For operating at elevated temperatures, the LF13300 in the DIP package must be derated based on the thermal resistance of 100° e/W
junction to ambient.
5·3
o
o electrical characteristics
M
M 12·bit plus sign AID converter system characteristics. (LF13300 with MM5863). (Circuit configured as in Figure 1, VR
~
U. 10.000V, O°C ~ TA ~ +70°C unless otherwise noted.)
-I
PARAMETER CONDITIONS MIN TYP MAX UNITS
POWER GND
-15V
-=
V+ VSS
16 POL!SER OUT
PG COMP 3 POL
+ VR
OUT
C01\1P
REFERENCE INPUT OVERRANGE
VR OR
VOLTAGE
18 22
AG RU- RU- MSB 211 MSB
ANALOG INPUT
VOLTAGE Vx 2SB
17 21
Vx POIAU+ PD!RU+
3SB
1M
15 20 4SB
OC OC
19
LFI3300 RR RR MM5863
ANALOG ONO 12·BIT BINARY
OUTPUTS
POL YPROPYL: { 18
DG GNO
CAPACITOR
-=
DIGITAL
GND
COCI
20 LSB
COC3 END OF
CONVERSION
28
DE !3
SERIAL 250kHz PARALLEL OUTPUT·
CLK CLK !SERIAL ENABLE
START
CONVERSION
5-4
r
typical performance characteristics :::!2
w
w
o
o
~
1
vs· '15V vs- '15V
.3
'"
I-
."
.... " VR =;~I~ =
i
·1111
0
1"\ I'
'" R=IM.vR=10V
I-
U 0.1 0.1 l=-
~ ~
;:::
I-
vR - 4V !;8"",,,
.,.
0'" ....
R=2M.VR=10V~
."
I- ['.
III
'" I'
0
!I
0.01
I-
."
0.01 ~ VR =2V
ill
....
0.001 IIIIIII IIII ~
I
0.001 I
10 100 1M 10 100 1M
fCLK (kHz) fCLK (kHz)
functional description
I
The LF13300 goes through the following 5 states during Polarity Determination (Figure 2)
normal cycle: 1) Offset Correction; 2) 'Polarity Determina-
tion; 3) Initialization; 4) Ramp Unknown; 5) Ramp The simplified diagram of the LF13300 in the Polarity
Reference. Determ'ination state is shown in Figure 3. S5 and S3 are
closed during this period. S5 grounds the buffer input
Offset Correction Description (Figure 1) and Vx (the unknown voltage) is applied through S3
to the non-inverting input of A 1. The equation that
The Offset Correction scheme will drive the input of . describes the op amp output voltage is given in Figure 3.
the comparator to its switching threshold when the When Vx is applied to A 1 at t1, the output of the
analog input is zero and the timing components, RC, op amp slews to Vx and is integrated until t2, when
are bypassed. S3 opens and S4 closes. This causes VOUT to slew down
5-5
o
g
(II)
functional description (Continued)
lL
..J
Ramp Reference (Figure 4)
I
I
T,-I"
AG
L 18
VR Vx
COC2
5-6
functional description (Continued)
VOUT=
Vx dt: Polarity Determination
VOUT
r-----
I +
1
I V2
I V1
I
I
I
I
I
L -<r, _ AG
116 17 18
Vx
OIGITAL
GND
14 VOUT
r--~-
I +
1
I V2
I V1
I
J
I
I
I
L"?;_ AG
116 11
VR Vx
5-7
o
o functional description (Continued)
M
M
u:
..J
r----;-
I +
I
I S1
I
I
I
I
I
'I
L AG
16-r
VR Vx
DIGITAL
GND
*More accurately
OFFSET
INITIALIZATION-
CORRECTION-
OFFSET
CORRECTION RAMP UNKNOWN VX <,0
- =tRAMP
REF
---------- -
OP
AMP
OUT
OC
PO/RU+
RU-
INIOuT
EOC
~~-+--------------------~------~, ~,~~~---------------------------r---~
15 161'01'11'21'3
5-8
r-
application hints ::!2
CAl
CAl
Increasing the Input Impedance of the LF13300, o
MM5863 12-Bit AID Converter Eliminating Errors Due to Power Supply Noise o
The input impedance of the LF13300, MM5863 AID For many applications, power supply noise (f ~ 10Hz)
converter can be increased 1 to 2 orders of magnitude causes errors which reduces the accuracy of the system.
over the typical 1000 Mn cited in the specifications by In most applications, noise can be adequately eliminated·
insuring that the signals that switch the LF 13300 do not by putting a series resistor (lOOn) in the power supply
overlap. A circuit that eliminates switching overlap by Iine with a 10 /IF tantalum capacitor connected at the
introducing a Delay (td) ~ 3.3k x 100 pF ~ 300 ns to power supply pins (Figure 8). The 10 /IF capacitor is,
the rising edge of the signals from the MM5863A is in addition to the normal 0.1 /IF ceramic disc capacitors,
shown in Figure 6. Figure 8 shows the operation of this used as supply bypass capacitors.
circuit. The total delay time tr' of the output will be
equal to the inherent gate rise time, t r , plus the RC Errors caused by noise on the negative supply, -VS,
delay, td. The fall time, tf will be the basic gate delay. can be further reduced by replacing, COC3 with a
10 /IF low leakage tantalum capacitor. Since -VB is
Nulling the Residual Offset in the LF13300 3V above -VS, any noise appearing at -VS appears at
-VB; the 10 /IF capacitor eliminates the noise at -VB.
The residual offset of the LF 13300 is < 200/lV which
is negligible for most applications. This can be reduced Miscellaneous
to < 40/lV by lowering the clock frequency from
250 kHz to about 75 kHz. If a residual offset of Since none of the output pins of the LF 13300 employ
< 40 /lV is required, we may trim out the remainder short·circuit protection, extreme care should be taken
as shown in. Figure 9. This circuit applies a negative when breadboarding or troubleshooting with the power
step to the Offset Correction capacitor, COC2, by means "ON".
of a variable capacitor which is adjusted until charge
injection imbalance of the Offset Correction switches
are cancelled.
~Mm081
RR-~H~~~3.3::-\-:r:---r-D-+-+ RR' VI-i~Ht::k--:R:-\r"'-_-_-....
- ...
A
- _';';'_8 D-+ '.
Va
100pF I :t:
C
~ I T
RU- ~ tJ:u:. - ~
~:t: ~AU-'.
II
FROM
- - ' - I I A C -M
MM5863 100PF~ TO Lf13300
1/ N
POIAU+ ~ tJ:u:
3.3k • : t : -
L..J.M"..--
r-\ I ~
.....-.......,~ POIPU+'
- 'd-J
100PF~ :
- -,, t=', ~IJ-
DC ~ ~ - D - + - + OC'
FIGURE 7. Rise Time Delay Circuit
100 p ; : t : L _ ..J
T
FIGURE 6. Overlap Elimination Circuit
18
18
100 17
11 Vs v+
+
16 ~10"F 16
15 -=- 100
10"f v-
15
-vs
14 14
Lf13300
Lf13300
13 13
COC2
OfFSET OC 7 12
"'"J
CORRECTION
- SIGNAL
11
COCI
l;.f
-=-
LOW LEAKAGE
TANTALUM
FIGURE 8
5-9
0
0
M typical applications
M
.-
u..
...J 15V
5V
POWER
GNO
-15V
-=
v+ 4 V- 2 VGG 2 VSS 24
16 PG 26 PIS SAO 17
VR COMP SERIAL OUT
VR; 10.000V I COMP POL/SER
'OUT
17 22
Vx Vx RU- RU
18 21
ANALOG AG PD/RU+ PDfRU+
GND
-= 1M 15 BUF 20
OC OC
OUT
14 OPAMP 19
LF13300 RR RR MM5863
IN
COC2
-=
DIGITAL
GND
27
COC3 .
VOUTL-u
OPAMP
, OUTPUT .
-VB
COMPARATOR
OUTPUT
END OF
CONVERSION
:~~ __~ ~~~~n~
/I
_______________________ ~
:~t
SERIAL CLOCK
INPUT
SERIAL OUT
1
5V
ov
FIGURE 10. 12·Bit Plus Sign Serial Output AID Using the LF13300 and the MM5863
5·10
r
'"T1
typical applications (Continued) .-
eN
15V eN
0
5V 0
POWER
GND
':"
-15V
v+ vGG 25 VSS 24
16 17
26 POL POLARITY
VR VR COMP OUT COMP
16
OR OVERRANGE
17 22 15
Vx Vx RU- RU- MSB MSB
14
2SB 2SB
ANALOG 18 21
AG PD/RU+ PDIRUt
GND
':"
1M 15 20
OC OC
TRI-STATE"'
DATA OUTPUT
14 19 12-BIT
LF13300 RR RR MM5863 81NARY
0.01 J.JF -
POLYPROPYLENE { OPAMP 18
OUT DG GND
CAPACITOR
28
PIS
LOW LEA""
MY LARS [ COCI SCLK LSB LSB
CAPACITORS
':"
DIGITAL
COC3 GND END OF
CONVERION
TRI·STATE . , TRI·STATE
OUTPUT DATA FROM PREVIOUS CONVERSION ~t
DATA
ENDOF
CONVERSION
(OUTPUT ENABLE)
5V Y' --------------------~l~ t
0V
--I 1- 5 CLOCK PERIODS
5V--------Ir-----------------------------------~
START CONVERSION
OV - - - a l " L~ t
MAXIMUM OF 4864 CLOCK PERIODS TO I
I
- - READ VALID DATA FROM PREVIOUS CONVERSIDN~
4-Channel Differential Multiplexer with Autozeroed during this cycle the multiplexer is disabled. When the
Instrumentation Amplifier and 12-Bit AID Converter system does polarity detection and then AID conver-
sion, the LF352 is active and the multiplexer is enabled.
Figure 12 shows a low speed, high accuracy, data acqui- The zeroing cycle for the LF13300· and the LF352
sition unit where the analog input signal is acquired lasts for 256 clock periods; so the maximum clock
differentially and preconditioned through an LF352 frequency will depend upon the required accuracy and
monolithic instrumentation amplifier. To eliminate the minimum zeroing time of the instrumentation
amplifier offset errors, autozeroing circuitry is added amplifier. Notice here that the system accuracy will be
around the LF352 and is timed through the MM5863 less than 12 bits since it will be affected by the gain
and flip-flop C. Flip-flops A and B form a 2-bit up I inearity of the instrumentation ampl ifie r.
counter for channel select_
For more details concerning data acquisition, see
The instrumentation amplifier is zeroed at power.-up and AN-156 and LF 11508, LF 11509 data sheet. For details
after each conversion as shown in the timing diagram; on the instrumentation amplifier, see LF352 data sheet.
5-11
o
o typical applications (Continued)
M
M 15V -15V
ri:
...J ~
DIGITAL
"4:-
ANALOG
GND GND
Sl .........::...1.--'-~........-
10M'
S2
0.01 pF
S3
S4 lk
S'l '-"":.:..L...J_~"--_
si
S3 LF13333
S4
5V~~--------------------~
2.2 pF MSB
11
0.1 pF* PO 5V
12
LF13300 DC DIGITAL
OUT ~-------------iCLK
-= 0.1 pF*
RR 1/2 MM74C74
1M 20k
1O---...-"IIv..-0 5V
500 PF 10k
TO. 1PF
LSB
T
*Low leakage mYI~r
**Polypropylene fCLOCK MAX = 200 kHz
FIGURE 12. 4·Channel Differential Multiplexer with Autozeroed Instrumentation Amplifier and 12·Bit AID Converter'
DC
PD/RU+
I I I
RR 11 n rL
p~i~~ -, n n r
AO
r
Al
ENABLE .-I U U L
Av (SI-si) AV (S2-si) AV (S3-S3)
~~3~I --fo Vo Va \
FIGURE 13. Timing Diagram for Figure 12
5·12
r
"T1
typical applications (Continued) ...a.
W
S.I W
o
o
INI004
ISV
10"F O.,.F , F
TO. •
~
T'O"F
2.2"F
26
ISV
""1] " 0.1 pF*
0.1 >.IF *
II
12
22
21
18
28
"::"
4.096V ":" VAEF •
lOOk 16 20
LM329 LFI3300 MM5863
lOT
, F
"::" TO. •
19 25
lOOk
23 24
"::"
GIl
O.Ol,uF**
13
27 17 300
ANALOG SV
INPUT .2..
Vx "::" "::" 5V
SV
5V
NS83881 DISPLAY
13
MSO 550 TSO LSD
12
118058871
I 3.lk
"-IVV'v-O() SV
1/8058871
*Low leakage mylar
D.P. POSITIONING FOR
**Polypropylene RANGES
800V
80V
15
5·13
o
o typical applications (Continued)
M
M
u:
..J
3 3/4-Digit (±8191 Counts)/3 1/2-Digit (±1999 Counts) The DPM is able to operate from a single 15V power
DPM
.
In this circuit of Figure 14, the LF13300 and MM5863
supply with the aid of a dc-de converter. The LM555
generates the negative voltages required in the circuit
and also doubles as the clock. The combination of
interact as previously described. The CMOS counter Q1, R2, R3 and R4 forms a level shift to convert the
(MM74C926, MM74C928) is connected to count clock output swing of the LM555 to a OV-5V swing that is
pulses during the ramp reference cycle of the LF 13300. compatible with the logic. The LM340-5 drops the
The counts are latched into the display when the com- incoming ,15V to 5V for use by the logic circuits and
o parator output trips, (goes lowl. as shown in the timing the LED display. .
diagram Figure 15.
This circuit can be a 3 3/4·digit DPM if the MM74C926
The RC network consisting of R 1 and C1 is a low pass is used or a 3 1/2-digit DPM if the MM74C928 is used.
filter that prohibits the fast transients that occur on the These counters are pin compatible and physically inter-
comparator output during Offset Correction from changeable.
loading any erroneous counts into the counter.
OP AMP OUTPUT
PIN 13 (LFI3300)
CaMP OUTPUT
PIN 3 (LF13300)
'>.;n/'1
:$> :j)
RR
(LF1~~~08) _ _ _ _ _ _ _ _.......r--,~ ________ill
liIT) EOC
PINS 3.23 (MM5863) n n
....._ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _...
I~
RESET
PIN13
(MM74C926)
V y
~~~~---------uuuuuu UUUUIf
(MM74C926)
MM5863 ClOCK
LATCH
PIN ENABLE - - - - - - - - -
5 (MM74C926) L--.
- ..
I OISPLAYS NO. OF CLOCK PULSES
COUNTED WHEN CLOCK WAS
LJ
ENABLED
electrical charac'teristics
3 3/4·digits plus sign (±8191 counts) DPM'system characteristics.
A
(Circuit as in Figure 18, Vs = ±15V, VR = 4.096V, T = 25°C, unless otherwise noted).
5·14
r-
typical a pp I·Ications (Continued) ~
w
w
o
o
COMPARATOR
OUTPUT
RESET
PULSE
VOUT
dt RC
INTEGRATOR
dVOUT = 2.2 - Vx
OUTPUT dt RC
-VB --'""--{-
OFFSET
CORRECT
RAMP
UNKNOWN
Note. Here the LF13300 always operates as an autozeroed, high input impedance inverting integrator;
bipolar input voltages are handled by offsetting the analog ground by 2.2V.
5-16
r-
typical applications (Continued) ::!2
w
2.2V
w
o
o
D.DI.f POLYPROPYLENE
II
FS
20D7
OPTIONAL SWITCH
fOR ~Op~~~~ r 6
VARIOUS RANGES I 20 VFS II I 7 ..
2VF
1l
L._~_
1I0V
60Hl
r-----.......---"I~I~V
5-17
o
o typical applications. (Continued)
M
M
z;: Component Side Foil
-I
5-18
r-
typical applications (Continued) ::!2
w
w
o
o
FIGURE 21. Stuffing Diagram for 4 1I2-Digit DVM (Shown 1/2 Size)
_ - - - - -....-18;....a., liN
S2
_,,(')( ).......417_1-1.;.;IN~D Vx r---------~--------++-+~-CVx
16
NCo-.....,l-~ NCo---I-~
'4
-VS()o-+-~ L---------~~O NC -VSo--...........t ' - - - - - + - - - - 0 NC
5V()o-+-~
5Vo--. .~
11 11
lF13300 lF13300
10
-0 -12V
..1;,;:0....____ I-...~-a -12V
5-19
0
0 ac test circuits (Continued)
(\')
...
(\')
LL
Test Circuit 3
Reference Input Characteristic Test with RR High
Test Circuit 4
-VB Voltage Measurement Test
...I
18
17
Vs Vs
, 3 16
NC NC
LF13300 15
-VS -VS NC
NC
NC
5V NC
5V NC
10 10
-12V -V&
':" ':"
5V:rL
Vs Vs
-5V
NC NC
-Vs -vs
5V VOUT
20 pF
lF13300
~
10 IOC3 lac 10
-12V -12V
':" ':"
Vs Vs
NC NC
-Vs -vS 1
AVOL~
VOUT X 105
5V 5V VIN
vOUT .........--<>VOUT
lF13300 20 pF
~
10 10 ':"
-12V
-12V
':" ':"
5·20
r-
ac test circuits (Continued) ::!2
w
w
o
o
Test Circuit 9
Buffer Slew Rate Test
Sl
Vs
16 10V=rL
NC INPUT
-10V
-VS
15
~VOUT
20 pF
NC lOOk
NC ':'
LF13300
5V
10
-12V
Test Circuit 10
Buffer Voltage Gain Test
Sl
TANTALUM
15V -15V
VSn.-......-..! CAPACITORS
NCn--oI-~
-VS 0--+---1
VOUT
LF13300
VOUT
AV ~ 1- 1000 VIN
..1;.,;0...._-0 -12V
5-21
o
~ ac test circuits (Continued)
M
li:
...J
Test Circuit 11
Comparator Response Time Test
LF13300
Vs~--+--""''''''
COMPARATOR~__~__~~
OUT
-Vs o--+-+-----4
5V ().-....-.f-....;;..j
t---"'--G -12V
10
-12 + 100 IN
=-I=E -12V
--12-100IlV
1k
VIN
100 mV =:1~r=
-100 mV =a=J-
5·22
Analog to Digital (AID) Converters
For additional application information, see
AN-155 at the end of this section.
16 15 14 13 12 11 10 9
l.-
t-
r- l-
RESET
CLOCK
TRANSfER
5-23
o
M absolute maximum ratings
M
Lt)
electrical characteristics
T A within operating range, Vss= 4.75V to 5.25V, V DO = -16.5V to -13.5V unless otherwise specified.
MAX
PARAMETER CONDITIONS MIN TYP UNITS
-
Power Supply Voltage (V ss ) 4.75 5 5.25 V
FUNCTIONAL DESCRIPTION transition after the first negative clock transition after a
"1" is applied to the Transfer input. This provides a
Counters: The MM5330' has four -;"10 counters, one transfer pulse at least one half clock cycle wide and a
-;..4 counter, and one -;"2 for a count of 80,000 clock half clock cycle delay to remove the transfer signal
pulses. A ripple carry is provided and all counter flip- before the counters change state.
flops are synchronous with the negative transition of
the input clock. The last flip-flop in the divider chain INT: The integrate output is used ,to set the charge ti me
(-;..2 in the block diagram) triggers with the "0" to "1" , on a dual, slope integrator. INT is "1" from reset to the
transition of the previous flip-flop. The count sequence 18,000th clock pulse, then "0" until the next reset. The
is ihown in the first column of the count diagram. dual slope integrator is the voltage monitoring part of
the external circuitry needed for a DPM. It charges a
capacitor at a rate proportional to the measured voltage
Reset: All counter stages are reset to "0" and the INT
while INT is "1," then discharges at a rate proportional
flip-flop (driving the I NT output) is, set to "1" on the
to a fixed reference as shown in the dual slope diagram.
first negative clock transition after a "0" is applied to
When the output of the integrator reaches OV a pulse is
the Reset input. The internal reset is removed on the
generated and fed into the Transfer input of the chip.
first negative clock transition' after the internal reset As the dual slope diagram indicates, the number in the,
has occured and a "1" has been applied to the Reset latches is proportional to the measured voltage.
input. This timing provides an on-chip reset at least one
clock cycle wide and a one cycle delay to remove reset
Multiplexing: The modulo 4 multiplex counter is
before counting begins. -
triggered by the carry from the second decade counter,
making the multiplex rate one hundredth the counting
Transfer: Data in the counters is transferred to the rate (4 kHz for a 400 kHz clock). The LSD, TSD, SSD
latches when the Transfer input is at "0." If the, and MSD (least significant, third significant, second
Transfer input is held low the state of the counters is significant and most significant digits) outputs indicate
continuously displayed (see count diagram). Data will by a low level which decade latch is displayed at the
cease to transfer to the latches on the first positive clock BCD outputs. '
5·24
s:
FUNCTIONAL D~SCRIPTION (Continued) sign digit, either plus or minus, and a ten·thousand
counts digit for full display of ±'9999. By eliminating
s:
U1
Overrange Blanking and Sign: The data in the latch for the right·most digits it may also be used as a 2·' /2 or W
the 72 counter is used to detect an out·of·range voltage. 3·' /2 digit DVM chip. W
If this latch is "0" the BCD and 'Ok outputs are forced
o
to all '" 's" and the SGN output is inverted. When the The basic modified dual slope system for which the
data in the overrange latch and the sign bit latch are "'" MM5330 is designed, is shown in Figure 1. The integrator
the sign bit generates the 9's complement of the decade is now used in a non·inverting mode and is biased to
latches and the complement of the 'Ok latch at the integrate negatively for all voltages below V MAX ' Thus
respective outputs. When the overrange bit is "'" and if the maximum positive voltage at V1N is 1.9999V, then
the sign bit is "0" true BCD of the decade latches and VMAX would be set at 2.200V. In this way, all voltages
the uncomplemented , Ok latch appear at the outputs. measured are below VMAX ' This eliminates the need for
reference switching and provides automatic polarity with
APPLICATIONS INFORMATION no additional components. Also, it can be shown that
the amplifier input bias currents which cause errors in
The MM5330 is the display and control for a modified conventional dual slope systems are eliminated by merely
dual slope system. It contains the counters and latches, zeroing the display. Thus low bias current op amps are
,together with a multiplexing system to provide 4 digits not necessarily required unless a high input impedance is
of display with one decoder driver. It also provides a desired at V 1N •
count diagram
INTERNAL STATES OUTPUTS WITH TRANSFER LOW
BCD
DECADE DECADE
COUNTERS OUTPUTS
o 0 0 0 0 00
o 0 000 0
o 0 o 0 0 2
• •
• •
o 0 •9
09 •
BLANKING
o o o o o o , OUTPUT
ZONE • • BLANKED
• •
o o •7 9 9 9 1
•
o o 8 0 o
o o
o 0
•
•
•
•9
o
o}
0
POSITIVE
OVER RANGE
C o
•
•
•
•
9 9
• •
COMPLEMENT
OUTPUT o •9 POSITIVE o 1 0•0 o
INTERVAL 10000 VALUE o 099 9 CONTINUOUS
COUNT
• •
• •
1
•9 9 9 9 DISPLAY o 1 •0 0 o
o 0 0 0 0 0 ZONE 00000 o
• •
• •
TRUE
OUTPUT o •9
09 NEGATIVE o 0 0 9 •9
INTERVAL 000 0 VALUE 000 o
• •
• •
•9, •9
r
o 9 9 o 9
BLANKING
ZONE
o o
•
•
o o
O} NEGATIVE
OVER RANGE
o
•
•
• J t •
5·25
APPLICATIONS INFORMATION (Continued) parator crossing is detected within the next 2000
counts, a plus overrange condition will occur at the
Secondly, the use of a conventional op amp for a display. This condition results in a lit "+" sign, a lit "1"
comparator allows zeroing of all voltage offsets in both and four blanked rightmost digits. A transfer at 20,000
the op amp and comparator. This is achieved by zeroing however: will create a reading of +1.9999, at 20,001 a
the voltage on the capacitor through the use of the reading of 19.998 and so on, until at 39,999 a reading
comparator as part of a negative feedback loop. During of +0000 would be displayed. A transfer occuring at
the zeroing period, the non-inverting input of the 40,000 W9uld cause a -0000 display and so on until
integrator is at V REF • As this voltage is within the active 60,000 counts were entered at which time a -1 with
common·mode range of the integrator the loop will four blanked digits would be displayed indicating a
respond by placing the integrator and comparator in the minus overrange condition.
active region. The voltage on the capacitor is no longer
equal to zero, but rather to a voltage which is the sum A typical circuit for a low cost 4 1/2 digit DPM is
of both the op amp and comparator offset voltages. shown in Figure 2. The display interface used is a TTL,
Because of the intrinsic nature of, an integrator, this 7-segment decoder driver and four P-type transistors.
constant voltage remains throughout the integrating The ±1 digit is driven directly by CMOS. The clock-
cycle and serves to eliminate even large offset voltages. synchronous reset and transfer functions prevent any'
cyclic digit variations and present a blink-free, flicker-
The waveforms at the output of the integrator are as free display. CMOS analog switches are used as reference,
shown. The voltage at A is the comparator threshold just zero, and input switches and used also in the comparator
discussed. Simultaneously, with the opening of switch A, slew rate circuit.
VIN is connected to the input of the integrator via
switch B. The output then slews to V IN. Integr,ation then A problem with all dual slope systems occurs when short
begins for the reference period, after which time the integrating times and high clock frequencies are used.
reference voltage is again applied to the input. The Because of the very slow rise time of the ramp into the
output again slews the difference between V REF and comparator, the output of the comparator will normally
VIN and integrates for the .unknown period until the ramp at approximately 1/10 of its actual slew rate.
comparator threshold is crossed. At this point, the Thus, a significant number of extra counts are displayed
accumulated counts are transferred from the counters due to the slow rate of rise of the comparator. A
to the latches and zeroing begins until the next technique to improve this consists of capacitor Cs and
conversion interval. analog switch four. An unstable positive loop is created
by this capacitor when the comparator comes out of
saturation. This causes the output ·to rise at its slew rate
It may be obvious, however, that while we have to the comparator threshold. As soon as th is threshold
eliminated several of the basic dual slope circuits is reached the analog switch opens and zeroing is initiated
disadvantages, we have created another-the number as previously discussed.
of counts are no longer proportional to VIN but rather
to (VMAX-VIN)' In fact, when we short VIN to ground A simplified approach to performing the modified dual
we are actually measuring our own 2.2000 V MAX ' slope function combines the MM5330 and the LFl1300
dual slope analog block as in Figure 3.' The LFl1300
What is done in the MM5330 is to code convert the provides the front analog circuitry required. This
number of counts as shown in the count diagram. This includes a FET input amplifier, analog switches, inte-
chart shows a code conversion starting at the time of a grator and comparator. The' LFl1300 provides auto
reset. The first 18,000 counts are the reference period zero, > 1000 MD input impedance, and a ±10V analog
after which time the integrator changes slope. If a com- range.
5-26
COMPARATOR
THRESHOlO _ _
A
TRANSFER
tV MAX
2.200V
0-199.99kn
TERMINALS
2.200V
lHOOIO
5.5V
OHMS
10k
t -......-J\;/'V\r-o +5V
INTEGRATE 10k
r----'\M,-----o +5V
4.IM
-15V +5V
12k
5% '---j._-I-_.... --1100~
RESET
~l"Fd
I---~~---i ./<:>--+--111 12I-T;.;.;R;.;.;AN.;.;.S_ _ _ _ _---'
SIGN
1--+-------....;..;;-15 MM5JJO
100!!
+5V
RAOI-l00N
5·27
typical applications (Continued)
1.lV
I\V -ISV
Q.0411,f
T T DIJ
,I7'F
1':" 4 ':"
1\
D.DI.F PDLYSTYRENE
Uk
6111
2DDjFS I
OPTIONAL SWITCH I
FOR MOVING
VARIOUS ~!N~~~ r 6
20 VFS 158 114
1
2VF
t
1..._:=_
Inverters ..... MM74C14 Hex Schmitt Trigger (MOS)
Two letters (AA, BB .. .I NAND gates ..... MM74COO CMOS quad NAND gates
One letter (A, B.. .I NAND gates ..... DM7400 TTL quad NAND gates
l ..... analog ground
..... digital ground
All resistors 1/4W, 5% unless otherwise noted.
All capacitor values in JLF unless otherwise noted.
INOUCTIVE COMPONENTS
U5XD1IMICROTRAN
PCT69]1 TRANSFORMER
6
IIDV
60HJ
...------.-....,-o15V
" - - - - - - - -......-o-15V
is c Ll ~ ~ ~ ~ ~ ~ ~ : ! ~ e ~ ~ e ~ ~ ~_~ ~ 5
First letter code:
A ..... anode MSD ..... digit 2
i------OIGIT 1 I C ..... cathode SSD ..... digit 3
TSD ..... digit 4
NSB5917 Display (Front View) LSD ..... digit 5 .
FIGURE 3. 4 1/2-Digit DVM
5-28
s:
timing diagrams s:
U1
W.
W
4 1/2-Digit DPM o
COMPARATOR
OUTPUT
RESET
PULSE
VOUT
dVOUT =2.2-4.0
dt RC
INTEGRATOR
OUTPUT dt
-VB .....-I!!:....--T-
'---""
OFFSET
CORRECT
RAMP
UNKNOWN
5-29
Analog to Digital (AID) Converters
connection diagram
28 (P/S) PARALLEL/SERIAL
(SCLK) SERIAL CLOCK
SELECT
(SC) START CONVERSION (CLK) INPUT CLOCK
2- 11 VSS
2- 10 (EO C) END OF
CONVERSION
2- 5 GND
(POL/SDO) POLARITY/SERIAL
2- 4
DATA OUTPUT
TOP VIEW
Order Number MM5863N
See Package 23
5-30
absolute maximum ratings
electrical characteristics
5-31
M
~ functional description
it)
~ OPERATION
~
The MM5863 is designed for use with the LF 13300 "1". These 2 signals will never be at logic "1" simul-
analog front end. Four control signals are supplied to ' taneously.
the LF13300 and 1 control signal is required from the
LF 13300. The conversion cycle is composed of 5 Phase V - Ramp Reference
distinct phases. They are: Phase I - Offset Correct;
Phase II - Polarity Detect; Phase III - Offset Correct; This phase is a variable length phase depending on the
Phase IV - Ramp Unknown; Phase V - Ramp Reference. magnitude of the analog input voltage. During this time,
Ramp Reference (RR) will be in the logic "1" state.
Phase I - Offset Correct (256 Clock Periods) When PD goes to a logic "0" state, or when the internal
counter reaches 100% of full scale (8192 clock periods),
This phase is initiated by taking the Start Conversion the Ramp Reference (RR) signal goes to the logic "0"
(SC) and the Output Enable (OE) lines to a logic "1 ". state, the counter output is loaded into the output
At this time, Offset Correct (OC) will. be a logic "1 ". register, and the End of Conversion, (EOC) signal goes
The LF 13300 requires this phase to correct any intrinsic to a logic "1 ". The Polarity Bit will reflect whatever
offset voltage errors prior to the polarity detedt phase. value was determined during Phase II. The output
register will hold the data until a new conversion is
Phase II - Polarity Detect (256 Clock Periods) . completed and new data is loaded into the register.
The OE line must be low in the logic "0" state and SC
This phase is used to determine polarity of the analog must be high in the logic "1" state to enable the outputs.
input. At the midpoint of this phase, PD from the
LF13300 is examined for polarity. If PD = logic "1", DATA OUTPUTS,
then the input voltage is positive. If PD = logic "0", then
the input is negative. The Ramp Positive signal (RP) 80th serial and parallel outputs are available. In either
will be a logic "1", and Offset Correct will be logic "0" case, OE must be low and SC must be high to enable
for the entire phase of 256 clock periods. The abov-e the outputs. For parallel output, the PIS line must be
operation is also necessary to determine which integrator low in the logic "0" state. For serial outputs, the P /S
input (positive or negative) of the LF 13300 should be line must be high. In the serial mode, the data is shifted
used for proper AID conversion (see LF 13300 data out of the Polarity/Serial Output POL/SDO line and all
sheet). 'other data -outputs are in the high impedance state.
Each Serial Clock (SCLK) will right shift the output
Phase III - Offset Correct (256 Clock Periods) register one bit. Thus, 13 clock pulses are required to
fully shift out the data. The data will be shifted out in
This phase is identical to Phase I and is used by the the following order: Polarity, Overrange, MSB, 2SB,
LF13300 to eliminate any offsets induced as a result of 3SB, ... , LSB. If OE and PIS are in the logic "0" state
the Polarity Detect Phase. Offset Correct (OC) will be at and SC in the logic "1" state, all outputs will momen-
a logic "1 ". tarily go to the logic "1" state for 1 clock period
immediately preceding EOC.
Phase IV - Ramp Unknown (4096 Clock Periods)
CONTINUOUS CONVERT MODE
The unknown input voltage is integrated for a fixed
time during this phase. The result of the Phase II In this mode, the End of Conversion (EOC) output is
Polarity Detect Cycle determines whether' RP or RN connected to the OE input. As long as SC is in the
will be at logic "1". If Phase II indicates a positive input, logic "1" state, then each EOC will initiate a new con-
the RP signal will be a logic "1 ". If phase II indicates a version. The data outputs will be disabled for the first
negative input, Ramp Negative (RN) will be a logic 5 clock cycles after EOC goes high.
truth table
OVER-
INPUT SC OE PIS LSB MSB POLARITY
RANGE
100% Fu II Scale 0 0 1
Full Scale 0 0 1 1 1 1 1 1 1 0
Zero 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Zero 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
-Full Scale 0 0 . 1 0 0
-100% Full Scale 0 0 1 1 1 0
Any X Z Z Z Z Z Z Z Z Z Z Z Z Z Z
-Any 0 1 Z Z Z Z Z Z Z Z Z Z Z Z Z Serial Output
Any 0 X X Z Z Z Z Z Z Z Z Z Z Z Z Z Z
1 = High
0= Low
Z = High Impedance
X = Don't Care
5-32
timing diag rams
The following timing diagrams are shown for the MM5863 connected in the auto-cycle mode.
Positive Input
I
11/1
CLK n.JLF
SC --I
DC I 256 Xl/I 256 Xl/I ~ ____________ ~r---
RR ~8192Xl/1 1--
PO
DATA,
>-r< DATA FROM PREVIOUS CONVERSION
lT~RI-.S-TA-T-E-')----------------------
>-c
Negative Input
RP 25fi Xl/I
RN 4096 Xl/I
Serial Output
II ! ~::
I
I
OVER RANGE
POLARITY
5·33
timing diagrams (Continued)
DE OR PIS
TRI·STATE''''
DATA OUTPUT
DISABLE
DELAY
SClK
POL/SOD
SC
4.0
DATA ----+---<1 0.4
ENABlE __
DELAY
block diagram
Digital Control Integrated Circuit
+ I I
VREF VIN CLOCK
! GENERATOR
OVERRANGE
-It
OVERRANGE
DETECTOR r+ ,.....--+ INDICATION
(OR)
I(ClK)
13-8IT
COUNTER }
+ r OUTPUT
lATCHES
I-
I-
--
12 LINES
12·BIT
PARAllEL
OUTPUT
SERIAL CLOCK
BIPOLAR ANALOG (SClK) TRI·STATE@
INTEGRATED CIRCUIT BUFFERS
lF13300 CONTAINING
OP AMP, SWITCHES,
t
+
POLARITY
COMPARATOR AND
DETECT (PD)
RELATED CIRCUITRY
POLARITY
lATCH r+ I- f-+ POLARITY/SERIAL
(POl/SDO)
DATA
A
l t
SWITCH CONTROL
I{ 4 LINES
lOGIC
'f END OF CONV. (EOC)
5·34
typical applications
33/4-3 1/2·0igit OPM
5.1
lNl004
15V
T 1O
"F
26
15V
22
7.5k 21
':"
20
LM329 MM5863
':" 19 25
-12V
23
27 17 300
5V
':" 5V
':"
5V
':" ':"
13 15
16
.
b
MSD
NS83881 DISPLAY
MM74C926
1
2
3
.
d
f
DP
4 9
1/8 DS8871
....""',...,..-o5V
':" 11 10 8
1/8 DS8871
r'
':" 8V
800V
80V
15
5·35
Analog to Digital (AID) C~nverters
The first of what could be called the modern digital Polarity selection was made -by a front panel switch
voltmeter began to appear in the early sixties. Prior to which internally rearranged references and other cir-
that time a few laboratory types were available, but cuitry.
they were plagued by inaccuracy, temperature drifts,
and other problems inherent in vacuum tube technology_ An example of today's use of the VCO technique is
shown in Figure 2. This is a low cost digital thermometer,
One of the first successful, relatively low cost DMVS which, while not a DVM, still employs the basic com-
was a gated voltage-controlled oscillator configuration. ponents of the voltage-controlled oscillator system.
The components of this technique consist of a high These are the high gain amplifiers contained in the
gain amplifier, a dc-to-frequency converter, and a linear, LM5700, thedc-to·frequency converter consisting of the
accurate frequency to-dc-converterdeveloped from the transistor source and LM555 timer, and the frequency·
reference voltage, which supplies the summing voltage to-dc converter consisting of the CMOS inverters and
at the input node. The amplifiers used were of the reference voltage. This brings up a characteristic of
chopper stabil ized type, that is, the error voltage is CMOS most useful in DVM's and other analog-to-
chopped to from an ac component which is amplified digital converters, the ability to switch directly to the
by ac coupled amplifiers then reconverted to dc. The supply and ground without offsets. In this case the
choppers were made with light sensitive resistors, neon fixed width negative-going pulses, when filtered, produce
bulbs and light pipes. a feedback voltage directly proportional to the number
of pulses-frequency-to-dc conversion.
They were built as the only method possible to avoid
the drifts and offsets which were unavoidable in early
The early counter storage display system previously
transistor technology. Obviously the low current op
mentioned, is shown in Figure 3. Because the best
amps so readily available today, are a significant advan-
display available was the gaseous tube, no attempt was
tange over these old systems.
made to blank displays during the counting period.
When the gate closed, the counters had reached a
The gate voltage was developed from the 60 Hz line. A
certain count and these counts were displayed.
problem which occurs when the gate, is asynchronous
with the frequency fed to the display counter, is also
shown in Figure 1. A beat frequency effect is developed After the development of the integrated circuit, displays
between the gate and the dc to frequency converter and took on a configuration as in Figure 4. Between the
produces a cyclic one digit error. These early voltmeters counters and display, latches were placed to display'
allowed this phenomenon to occur, today cyclic display previous data while new counts were accumulated. The
errors are unacceptable. cost and pack count of this scheme made another
display technique popular, that of multiplexing.
A second display characteristic of these early voltmeters,
was to use the ripple counters as the display storage, Briefly, this technique consists of connecti ng, sequen-
that is, the rippled counts would move through the tially, each of the latches to a single decoder driver
display until the gate closed and the final value would be which drove the display digit which corresponded to
displayed. This was done primarily because of the number that latch. When sequenced at a 50 Hz rate or greater, a
of discrete devices required to perform counting and flicker-free display results. For this type of display
latching. With the coming of integrated circuits, displays system, TRI·STATE® counter-latches were developed
were improved, latches were employed, and blink-free (Figure 5). This technique is still used today in many
displays were adopted. DVM's.
TO DISPLAY
COUNTERS
6 COUNTS 5 COUNTS
5-36
»
2
.!.t.
U1
U1
LM555
VREF
TI~
GND
liN
GATE
5-37
COUNTER r--- COUNTER COUNTER - COUNTER
TRI·ST ATE'"
I NPUT
r- LATCH
- LATCH r- LATCH
- LATCH
I I 1I 1 I I
I I 1 1 I
T
I1
OECOOER
ORIVER
K ~ K ~.
OISPLAY DISPLAY DISPLAY DISPLAY
I 1I I
MULTIPLEX
CONTROL
While multiplexing cuts display costs considerably, the repeated for the next digit. At a repetition rate of 50 Hz
series connection of counters required to accumulate the or greater, this produces a flicker-free, blink-free display.
counts proportional to voltage, could not be multi- As such the recirculating remainder system has but one
plexed to do the very nature of VCO or dual slope counter, one latch, and one decoder driver for as many
voltmeter schemes. digits as are desired. Once again CMOS is used for its
capability to swing directly to the supply rail and con-
The recirculating remainder circuitry to be discussed trols the R-2R ladder directly from the reference voltage.
next is unique in that the data is both derived and
displayed on multiplexed, that is sequential digit basis' Some disadvantages of the system are the difficulties in
(as seen in Figure 6.) reading voltages of both polarities and an unusual sort
of error characteristic when slight ladder 'or reference
The technique used in the recirculating remainder drifts occur. While both VCO and dual slope techniques
circuit is to subtract digit valued voltage steps from the have gradual slope or linearity errors, the recirculating
input voltage, until ten times the difference between ,remainder errors are step-like in response to gradual input
these two voltages is less than ten times the digit valued voltage changes. Lastly, the update rate is fixed by
steps. The number of voltage steps required is the display flicker requirements and thus measurements of
display data and the ten times the difference voltage noisy voltages cause an annoying inability to read the
becomes the new voltage input for the next digit last digits. It was however, an accurate low-cost technique
conversion. An example is shown in Figure 7. used successfully. in pre-LSI digital voltmeters.
An analog input of 6.903V is applied to the [(V IN - The most widely used system for analog-to-digital
V STEP ) x 10] amplifier. The 712 and decade counters 'conversion is the dual slope circuit. The basic dual slope
are clocked simultaneously until a (difference x 10) less system appears in Figure 8. Assuming the integrator
than V REF is detected by the comparator. At this time, output at zero when Vx is applied, the integrator
the dec,ade counter stops counting. In this example, the begins to ramp with an output voltage V = Ix tiC
decade counter ceases counting on a six during the digit where Ix = -V x/R. Simultaneously with the beginning
one period, thus a six is latched in the display. When the of this ramping, counts from an oscillator are fed into
digit period ends, both counters are reset' and the the display counters. At some fixed time, usually
(difference x 10) voltage is recirculated via the CMOS counter overflow, Vx would be disconnected and the
switch and sample and hold capacitor to become the reference voltage connected to the resistor. The integra-
digit two input voltage (9.03V). The process is then tor now ramps at V = IREF tiC where IREF = VREF/R.
5-38
»
z
.!...
CJ1
CJ1
SWITCH C
*
D.P.2&4
9R
LATCH DECODE
DRIVE
LATCH
DP2 DPJ DP4 DPI
r------.. D.P. 1
r-----.. D.P.2
D.P. J
DIGITIZING PERIOD 4
CLK
90.30
OV 0.300
---0.000 0 1.000V steps-display 0
DIGITIZE DIGITIZE DIGITIZE DIGITIZE DIGITIZE
DIGIT 1 DIGIT 2 DIGIT 3 DIGIT4 DIGIT 1 0.3 x 10 =3
DISPLAY DISPLAY DISPLAY DISPLAY DISPLAY
DIGIT4 DIGIT 1 DIGIT2 DIGIT3 DIGIT 4 3.000
SWITCHES SWITCHES SWITCHES SWITCHES SWITCHES
-3.000 3 1.000V steps-display 3
E&D A&C B&D A&C E&O
CLOSED CLOSED CLOSED CLOSED CLOSED
5·39
Lt)
Lt)
'.-
I
Z
<t
Ix
-C-
tREF
Ix=- ~
IXTREF IREFTX
-C- = - -C-
:. VXTREF=VREFTx
When the integrator crosses the comparator threshold, The MM5330 is the display and control for a modified
the counters are latched to the number' of counts dual slope system. It contains, as shown in Figure 9, the
accumulated from T to Tx. Clearly the voltage at TREF counters and latches, together with a multiplexing
was Ix T REF /C and the voltage integrated fro,m T REF system to provide four digits of display with one
to T x was -I REF T x/C and these two voltages are decoder driver. It also provides a sign digit, either plus
equal. Therefore, or minus, and a ten-thousand counts digit for a full
display of ±19999. By eliminating the right-most digits
Ix T REF it may also be used as a 2 1/2 or 3 1/2 digit DVM chip.
or
C C
The basic modified dual slope system for which the
Vx T REF MM5330 is designed, is shown in Figure 10. The
integrator is now used in a non-inverting mode and is
Thus, the number of counts accumulated in the display biased to integrate negatively for all voltages below
from T REF to T x is proportional to the unknown V MAX ' Thus, if the maximum positive voltage at VIN
voltage. Thus, the basic dual slope system has no gate, is 1.9999V, the V MAX would be set at 2.2000V. In this
and requires stability of the R, C and count frequency way, all voltages measured are below V MAX. This
only over one conversion period. eliminates the need for reference switching and makes
the system automatic polarity, with no additional com-
The technique for insuring that the ramp begins at zero ponents. Also, it can be shown that the amplifier input
on each conversion cycle, is to short the capacitor with bias currents which cause the aforementioned errors in
a switch after each conversion is made. This, of course, conventional dual slope systems, are eliminated by
forces the integrator output to zero until the next merely zeroing the display. Thus, low bias current op
conversion period begins. It is also necessary to start amps are not necessarily required unless a high input
each conversion cycle synchronously wii:h the counter impedance is desired at V IN'
input frequency, or cyclic display errors like that of
the gated VCO will appear in the display.
Secondly, the use of a conventional op amp for a
To measure both polarities in conventional dual slope comparator, allows zeroing of all voltage offsets in both
systems, V REF must change in polarity. A problem the op amp and comparator. This is achieved by zeroing
which can occur is that bias currents which will add to the voltage on the capacitor through the use of the
the slope in one polarity, will subtract from the slope in comparator as part of a negative feedback loop. During
the other. The usual solution, is to u~e op amps of very the zeroing period, the non-il:lVerting input of the
low input bias current. Also offset voltages in either the integrator is at V REF . As this voltage is within the active
op amps or comparator can cause significant error common-mode range of the integrator the loop will
unless carefully controlled. respond by placing the integrator and comparator in the
active region. The voltage on the capacitor is no longer
Hence, while conventional dual slope has many advan- equal to zero, but rather to a voltage which is the sum
tages, its use requires considerable care in op amp, and of both the op amp and comparator offset voltages.
comparator selection. Also,' the measurement of either Because of the intrinsic nature of an integrator, this
polarity requires two reference voltages which are, in constant voltage remains throughout the integrating
accurate systems, quite expensive. cycle and serves to eliminate even large offset voltages.
5-40
»
:2
.!.Io
CJ1
CJ1
RESET--------~~------------_4~----_+------_e--------------_.--_+----------_.----------~
elK
COMPARATOR
THRESHOLD
--A
TRANSFER
+VMAX
2.2000V
5·41
The waveforms at the output of the integrator are as A typical circuit for a low cost 4 1/2 digit circuit is
shown. The voltage at A is the comparator threshold shown in Figure 12. The display interface used is a TTL,
just discussed. Simultaneously, with the opening of seven·segment decoder driver and four PNP transistors.
switch A, V IN is connected to the input of the inte· The ±1 digit is driven directly by CMOS. The clock·
grator via switch B. The output then slews to V IN . Inte· synchronous reset and transfer functions prevent any
gration then begins for the reference period, after which cyclic digit variations and present a blink·free flicker·free
time, the reference voltage is again applied to the input. display. CMOS analog switches are used as. reference,
The output again slews the difference-between V REF zero, and input switches and used also in a comparator
and V IN then integrates for the unknown period until slew rate circuit.
the comparator threshold is crossed. At this point, the
accumulated counts are transferred from the counters
to the latches and zeroing begins until the next conver·
A problem with all dual slope systems occurs when short
sion interval.
integrating times and high clock frequencies are used.
Because of the very slow rise time of the ramp into the
It may be obvious, however, that while we have eliminated
comparator, the output of the comparat~r will normally
several of the basic dual slope circuits disadvantages, we
ramp at approximately 1/10 of its actual slew rate. Thus
have created another-the number of counts are no
a significant number of extra counts are displayed due
longer proportional to V IN but rather to (VMAX-VIN)'
to the slow rate of rise of the comparator. A technique
In fact, when we short V IN to ground we are,actually
to improve, this consists of capacitor Cs and analog
measuring our own 2.2000V V MAX .
switch section four. An unstable positive loop is created
by this capacitor when the comparator comes out of
What is done in the MM5330 is to code convert the
saturation. This causes the output to rise at its slew rate
number of counts as shown in Figure 11. This chart
to the comparator threshold. As soon as this threshold is
shows a code conversion starting at the time of a reset.
reached the analog switch opens and zeroing is initiated
The first 18,000 counts are the reference period after
as previously discussed.
which time'the integrator changes slope. If a comparator
crossing is detected within the next-2000 counts, a plus
overrange condition will occur at the display. This
condition results in a lit plus sign, a lit one and four The rapid improvement in display and LSI technology
blanked right·most digits. A transfer at 20,000, however, has allowed considerable improvement in digital volt·
will create a reading of +1.9999, at 20,001 a reading of meters. The modified dual slope technique together
19,998 and so on, until at 40,000 a reading of +0000 with the simplified display interface of the MM5330 are
would be displayed. A transfer occuring at 40,001 felt to be a much improved technique when compared
would cause a -0001 display and so on until 60,000 to circuits of just a short time ago. While DVM chips do
counts were entered at which time a -1 with four not by themselves solve all inherent problems, their
blanked zeros would be displayed indicating a minus careful use allows low cost, high accuracy units, with
overrange cO!1dition. excellent display characteristics.
COUNTS AFTER
DISPLAY
RESET
o
+1'·· .
18,000
+1-·· .
19,999
20,000 +19999
20,001 +19998
40,000 + 0000
40,001 - 0001
59,999 -19999
60,000 -1-···
5-42
l>
2
I
~
CJ1
CJ1
5-44
l>
2
I
~
Quantizing Error is the maximum deviation from a U1
straight line transfer function of a perfect ADC. As, by en
its very nature, an ADC quantizes the analog input into
a finite number of output codes, only an infinite
FS
// /} 1 LSB
c /
output error. If not offset, the error will be +6 LSB as '"c /
/
110
Gain Error is essentially the same as scale error for an
101 ADC. In the case of a DAC with current and vo(tage
c
S 100 mode outputs, the current output could be to scale
while the voltage output could exhibit a gain error. The
~ 011
t!i amplifi"er feedback resistors would be trimmed to correct
cOlO the gain error.
001 Offset Error (zero error) is the output voltage of a DAC
with zero code input, or it is the required mean value· of
FS
input voltage of an ADC to set zero code out. (See
ANALOG ·INPUT figure 5.) Offset error is usually caused by amplifier or
comparator input offset voltage or current; it can usually
FIGURE 2. ADC Transfer Curve, Y:z lSB Offset at Zero
be trimmed to zero with an offset zero adjust potentio-
meter external to the DAC or ADC. Offset error may be
expressed in % FS or in fractional LSB.
FS /
111 /
110
101
~ 100
~ 011
t!i
cOlO
001
FS
FIGURE 3. ADC Transfer Curve, No Offset FIGURE 5. linear, Y:z lSB Offset Error
Scale Error (full scale error) is the departure from design Hysteresis Error in an ADC causes the voltage at which a
output voltage of a DAC for a given input code, usually code transition occurs to be dependent upon the direction
full-scale code. (See figure 4.) In an ADC it is the depar- from which the transition is approached. This is usually
ture of actual input voltage from design input voltage for caused by hysteresis in the comparator inside an ADC.
a full-scale output code. Scale errors can be caused by Excessive hysteresis may be reduced by design; however,
errors in reference voltage, ladder resistor values, or some sl ight hysteresis is inevitable and may be objec-
amplifier gain, et. al. (See Temperature Coefficient.) tionable in converters if hysteresis approaches V:z LSB.
Scale errors may be corrected by adjusting output
amplifier gain or reference voltage. If the transfer curve Linearity, or, more accurately, non-linearity specifica-
resembles that of figure 7, a scale adjustment at % scale tions describe the departure from a linear transfer curve
could improve the overall ± accuracy compared to an for either an ADC or a DAC. Linearity error does not
adjustment at full scale. include quantizing, zero, or scale errors. Thus, a specifi-
5-45
co
Il)
'7
Z cation of ±% LSB linearity implies error in flddition to Differential Non-Linearity indicates the difference be-
« the. inherent ±% LSB quantizing or resolution error. In tween actual analog voltage change and the ideal (1 LSB)
reference to figure 2, showing no errors other than voltage change at any code change of a DAC. For
quantizing error, a linearity error allows for one or more example, a DAC with a 1.5 LSB step at a code change
of the steps being greater or less than the ideal shown. would be said to exhibit % LSB differential non-
Figure 6 shows a 3-bit DAC transfer curve with no more linearity (see figures 6 and 7). Differential non-linearity
than ±Y2 LSB non-linearity, yet one step shown is of zero may be expressed in fractional bits or in % FS.
amplitude. This is within the specification, as the maxi- Differential linearity specs are just as important as lin-
mum deviation from the ideal straight line is ±1 LSB earity specs because the apparent quality of a converter
(% LSB resolution error plus % LSB non-linearity). With curve can be significantly affected by differential non-
any linearity error, there is a differential non-linearity linearity even though the linearity spec is good. Figure 6
(see below). A ±% LSB linearity spec guarantees shows a curve with a ±% LSB linearity and ±1 LSB
monotonicity (see below) and";;; ±1 LSB differential non- . differential non-linearity while figure 7 shows a curve
linearity (see below). In the example of figure 6, the with +1 % LSB linearity and ±% LSB differential non-
code transition from 100 to 101 is the worst possible linearity. In many user applications, the curve of figure 7
non-linearity, being the transition from 1 LSB high at would be preferred over that of figure 6 because the
code 100 to 1 LSB low at 110. Any fractional non- curve is smoother. The differential non-linearity spec
linearity beyond ±% LSB wilt allow for a non-monotonic describes the smoothness of a curve; therefore it is of
transfer curve. Figure 7 shows a typical non-linear curve; great importance to the user. A gross example of differ-
non-linearity is 1% LSB yet the curve is smooth and ential non-linearity is shown in figure 8 where the
monotonic. linearity spec is ±1 LSB and the differential linearity
spec is ±2 LSB. The effect is to allow a transfer curve
with grossly degraded resolution; the normal 8-step curve
is reduced to 3 steps in figure 8. Similarly, a 16-step
curve (4-bit converter) with only 2 LSB differential non-
linearity could be reduced to 6 steps (a 2.6-bit conver-
ter?). The real message is, "Beware of, the specs."
Do not ignore or omit differential linearity character-
istics on a converter unless the ~ linearity spec is tight
enough to guarantee the desired differential linearity. As
this characteristic is impractical to measure on a produc-
tion basis, it is rarely, if ever, specified, and linearity is
the primary specified parameter. Differential non-linear-
000 001 010 011 100 101 110 111 ity can always be as much as twice the non-linearity, but
DIGITAL CDDE
no more.
2lSBDIFF )///
,
FS
NON.~INEAR / 3 lSB
///
....
:::>
.... n-/-/.......-~t
:::>
c
JlSB 2 lSB DIFF
'"c
~
<C
0--.. . .-------- NON·lINEAR
001 010 011 100 101 110 111 FIGURE B. ±1 LSB Linear, ±2 LSB Differential Non-Linear
DIGITAL CODE
5-46
»
2
~
Figure 9 shows a non-monotonic DAC transfer curve. (J1
For the curve to be non-monotonic, the linearity error en
must exceed ±Y:z LSB no matter by how little. The
greater the linearity error, the more significant the 2V/DIV 2ps/01V
negative step might be. A non-monotonic curve may not \.... :::.-1'- SEtTLiNG tlMIE
be a special disadvantage in some systems; however, it is
DAC OUTPUT
a disaster in closed-loop servo systems of any type
(including a DAC-controlled ADC). A ±Y:z LSB maximum co/mOL lOG C
FS % lSB DIFF
NON·LlNEAR /
,/ 10mV/DIV
I /{ IYzlSB
1% I // llSB
lSb \
1% lSB DIFF
I
I
Ips/DIV
000 001 OlD OIl 100 101 110 III
OIGITAl CODE
FIGURE 9. Non-Monotonic (Must be > ±Y:z LSB Non-Linear) FIGURE 10. CAe Slew and Settling Time
5·47
Long-Term Drift, due mainly to resistor and semicon- coded system. For example, a 12-bit BCD system has a
ductor aging can affect all those characteristics which resolution of only 1 part in 1000 compared to 1 part in
temperature change can affect. Characteristics most ,4096 for a binary system. This represents a loss in
commonly affected are linearity, monotonicity, scale, , resolution of over 4:1.
and offset. Scale change due to reference aging is usually Offset Binary is a natural binary code except that it is
the most important change. offset (usually % scale) in order to represent negative and
Supply Rejection relates to the ability of a DAC or ADC positive values. Maximum negative scale i~ represented to
to maintain scale, offset, TC, slew rate, and linearity be all "zeros" while maximum positive scale is represented
when the supply voltage is varied. The reference must, of , as all "ones." Zero scale (actually center scale) is then
course, remain constant unless considering a mUltiplying represented as a leading "one" and all remaining "zeros."
DAC. Most affected are current sources (affecting The comparison with binary is shown in figure 11.
linearity and scale) and amplifiers or comparators Twos Complement Binary is an alternate and more
(affecting offset and slew rate). Supply rejection is widely used code to represent negative values. With this
usually specified only as a % FS change at or near full code, zero and positive values are represented as in
scale at 25° C. natural binary while all negative values are represented
Conversion Rate is the speed at which an ADC or DAC in a twos complement form. That is, the twos comple-
can make repetitive data conversions. It is affected by ment of a number represents a negative value so that
propagation delay in counting circuits, ladder switches interface to a computer or microprocessor is simplified.
and comparators; ladder RC and amplifier settling times; The twos complement is formed by complementing each
amplifier and comparator slew rates; and integrating time bit and then adding a 1; any overflow is neglected. The
of dual-slope converters. Conversion rate is specified as a decimal number -8 is represented in twos complement
number o'f conversions per second, or conversion time is as follows: start with binary code of decimal 8 (off
specified as a number of microseconds to complete one scale for ± representation in 4 bits so not a valid code in
conversion (including the effects of settling time). Some- the ± scale of 4 bits) which is 1000; complement it to
times, conversion rate is specified for less than full 0111; add 0001 to get 1000. The comparison with offset
resolution, thus showing a misleading (high) rate. binary is shown in figure 11. Note that the offset binary
Clock Rate is the minimum or maximum pulse rate at representation of the ± scale differs· from the twos
which ADC counters may be driven. There is a fixed complement representation only in that the MSB. is
relationship between the minimum conversion rate and complemented. The conversion from offset binary to
the clock rate depending upon the converter accuracy twos complement only requires that the MSB be inverted.
and type. A1I factors which affect conversion rate of an
ADC limit the clock rate. 111
001
CODES
Several types of DAC input or 'ADC output codes are in Yo Y,
common use. Each has its advantages depending upon , ANALOG SCALE
5-48
Sign Plus Magnitude coding ~ontains polarity information data is valid. Typically, an EOC output can be connected
in the MSB (MSB == 1 indicates a negative sign); all to an SC input to cause the ADC to operate in continu-
other bits represent magnitude only. This code is com- ous conversion mode. In non-continuous conversion
pared to offset binary and twos complement in figure 11. systems, the SC signal is a command from the system to
Note that one code is used up in providing a double the ADC. A DAC does not supply· an EOC signal.
code for zero. Sign plus magnitude code is used in
Clock signals are required or must be generated within
certain instrument and audio systems; its advantage is
an ADC to control counting or successive approximation
that only one bit need be changed for small scale changes
registers. The clock controls the conversion speed within
in the vicinity of zero, and plus and minus scales are
the limitations of the ADC. DACs do not require clock
symmetrical. A DVM might be an example of its use.
signals.
CONTROL
CONCLUSION
Each ADC must accept and/or provide digital control
signals telling it and/or the external system what to do Once the user has a working knowledge of DAC or ADC
and when to do it. Control signals should be compatible characteristics and specifications, he should be able to
with one or more types of logic in common use. Control select a converter to suit a specific system ne~d. The
signal timing must be such that the converter or con· likelihood of overspecification, and therefore an un~
nected system will accept the signals. Common control necessarily high cost, is likewise reduced. The user will
signals are listed below. also be aware that specific parameters, test conditions,
test circuits, and even definitions may vary from
Start Conversion (SC) is a digital signal to an ADC which manufacturer to manufacturer. For practical production
initiates a single conversion cycle. Typically, an SC signal reasons, parameters may not be tested in the same
must be present at the fall (or rise) of the clock waveform manner for all converter types, even those suppl ied by
to initiate the cycle. A DAC needs no SC signal; however, the same manufacturer. Using information in this note,
such could be provided to gate digital inputs to a DAC. the user should, however, be able to soh out and under-
End of Conversion (EOC) is a digital signal from an ADC stand those specifications (from any manufacturer)
which informs the external system that the digital output pertinent to his needs.
5-49
Communications/CB Radio Circuits
connection diagram
Dual-In-Line Package,
40
VSS TCP
VGG POE
VOD NDB 1
ROE NDB 2
RO 8 NSB
RD 7 NPB
RD 6 CS
RD 5 TO 8
RD 4 TD 7
10 Order Number MM5303N
RD J TD 6
See Package 24
RD 2 TD 5
RD 1 TD 4
RPE TD J
RFE TD 2
ROR TD 1
SWE TSO
RCP TEOC
RDAR lOs
19 22
RDA TBMT
20 21
RSI MR
TOP VIEW
6-2
s:
absolute maximum ratings
Voltage at Any Pin
(Note 1)
Vss - 25V IV ss + O.3V*
s:U1
.Operating Temperature Range
o
-25°e to +70 e W
Storage Temperature Range -65°e to +150°C
o
0
W
Lead Temperature (Soldering, 10 seconds) 300 e
*Outputs should not have more than Vss - 15V
dc electrical characteristics
T A within operating temperature range, V ss = 5V ±5%, Voo = OV, V GG = -12V ±5% unless otherwise noted.
IlL Low Level Inp\1t Current Levels V IN = O.4V, Vss = 5.25V 1.6 mA
-- --
10L Output Leakage Current Level SWE = ROE = V IH , -1 ,uA
O~ V OUT ~5V
ac electrical characteristics
PARAMETER
at 25°e
tpdO Output Propagation Delay to ROE, SWE Enable to Outputs Low 500 ns
Low State
tpdl Output Propagation Delay to ROE, SWE Enable to Outputs High 500 ns
High State
Note 1: "Absolute Maximum Ratings" are those values beyond which the safety of the device cannot be guaranteed .. Except for "Operating
Temperature Range" they are not meant to imply that the devices should be operated at these limits. The table of "Electrical Characteristics"
provides conditions for actual device operation.
Note 2: Capacitance is guaranteed by periodic testing_
Note 3: Positive true logic notation is used:
Logic "1" = most positive voltage level
Logic "0" = most negative voltage level
Note 4: Only one output should be shorted at a time_
Note 5: Refer to Receiver Timing diagram for detail.
6-3
functional block diagrams
SWl' C>;-;-----<H--h---+-h
15
RPE RFE iiliAIi ROR RliE ROB ROJ RDS RDS RD4 RDJ RDZ ROI ROA
NPB NDBI NOTE ~ TRI-STATE' OUTPUT
flow charts
Transmitting Sequence Receiving Sequence
OPERATION EXTERNAL
TDUART
- OPERATION EXTERNAL
TDUART
Note 1: Control Strobe should be made only at the beginning of transmission and remain inactive during transmission.
It may be tied high if no change is necessary.
Note 2: The line must stay low for 8 RCP pulses to be verified.
Note 3: ROAR <- 0 will cause RDA <- 0, refer to receiver timing for detail.
6·4
s:
pin functions s:
(J1
PIN NO. SYMBOL NAME FUNCTION W
0
1 Vss Power Supply +5V supply W
2 VGG Power Supply -12V supply
3 VDD Ground Ground
4 RDE Received Data Enable A low-level input enables the outputs (R D8-RD 1) of the
receiver buffer register.
5-12 RD8-RDl Receiver Data Outputs These are the 8 TR I-STATE data outputs enabled by RDE.
Unused data output lines, as selected by NDBl and NDB2,
have a low-level output, and received characters are right
justified, i.e., the LSB always appears on the RDl output.
13 RPE Receiver Parity Error This TRI-STATE output (enabled by SWE) is at a high-level
Output if the received character parity bit does not agree with the
selected parity.
14 RFE Receiver Framing Error This TRI-STATE output (enabled by SWE) is at a high-level
Output if the received character has no valid stop bit.
15 ROR Beceiver.Over Run This TRI-STATE output (enabled by SWE) is at a high-level
Output if the previously received character is not read (RDA output
not reset) before the present character is transferred into the
receiver buffer register.
16 SWE Status Word Enable A low-level input enables the outputs (RPE, RFE, ROR, RDA,
Input and TBMT) of the status word buffer register.
17 RCP Receiver Clock This input is a clock whose frequency is 16 times (16X) the
desired receiver baud rate.
18 RDAR Receiver Data Available A low-level input resets the RDA output to a low-level. ,
Reset Input
19 RDA Receiver Data Available This TRI-STATE output (enabled by SWE) is at a high-level
Output when an entire character has been received Jnd transferred
into the receiver buffer register.
20 RSI Receiver Serial Input This input accepts the serial bit input stream. A high-level
(mark) to low-level (space) transition is required to initiate
data reception.
21
22
MR
TBMT
Master Reset
6-5
pin functions (con't)
PIN NO. SYMBOL NAME FUNCTION
37-38 NDB2, ,Number of Data Bits/ These 2 inputs are internally decoded to select either 5, 6, 7
NDB1 Character or 8 data bits/ character as per the following truth table:
NDB2 NDB1 data bits/character
l l 5
l H 6
H l 7
H H 8
39 POE Odd/Even Parity The logic level on this input, in conjunction with the NPB
Select input, determines the parity mode for both the receiver and
transmitter, as per the following truth table:
NPB POE MODE
l l odd parity
l H even parity
H X' no parity
X = don't care ,
40 TCP Transmitter Clock This input is a clock whose hequency is 16 times (16X) the
'desired transmitter baud rate.
timing diagrams
Transmitter Timing - a·Bit, Parity, 2 Stop Bits
IBMTU
ISO
---,h __ r--, ....r--r
~ ~~1_.r LD~ ~ ~R~J
I
STOP 1 STOP2 ,--ST_A_RT_ __
JlILJ JLS1SlS
Tep
~-11116 I---
rusu BIT TIME Upon data transmission initiation, or when not
STOP? I START
CENTER
BIT
SAMPLE _ _ _ _....L_ _..L..._ _ _ _..L._......JI.-_....1.._ _.l.-_--L_......;._
RDA'
Resetting RDA
ttl
1 RCP MIN +\---+\-t-\ 200 n, MIN
6-6
s:
· timing diagrams (con't)
Data/Control Timing Diagram Start Bit Detect/Verify
s:c.n
eN
-----u-u- ~
o
eN
--":':';11.-__
&EGINVEAIFY
Vilt
------IC-·--·--~ If the RSI line remains spacing for 1/2 a bit
VIL
time. a genuine start bit is verified. Should the
DATA INPUTS
line return to a marking condition prior to 1/2
tr "'tf=20ns
a bit time. the start bit verification process
'SET· UP ~ 0
'HOLD 20 begins again.
CS
VIL
VIH
CONTROL INPUTS
V,L
RDE.SWE
OUTPUTS VOH-----------~
IRDI-RDS. RDA.
RPE.RFE.TSMTI VOL ---t----------J 1'-_ _ _ _ __
6-7
Communications/CB Radio Circuits
' 18
K4 03
17
K1 02
16
K2 01
15
K3 lOP SELECT
14
HOOK SWITCH TONE
13
OSC 1 VOO
12
OSC 2 VSS
8
'OSC3 11 MUTE
10
OIAL PULSE NC
TOP VIEW
block diagram
VSS VDD
r----------------l---l----------,
. I
K1 I I
K2 WRITE REAO
21 X4 RAM
K3 CONTROL LOGIC
K4 I
I
-------- I
I
01
OUTPULSING
1 -
OIAL
02 DECODER
LOGIC P1JITE
I
I
-------- I
I
MAIN CONTROL REAO ANO WRITE
1
I LOGIC CONTROL COUNTERS
l __ 1__ -- ---------------T-T-T-J
DETECT
[
HOOKSWITCH lOP
SELECT
MUTE 600 Hz TONE
6-8
absolute maximum ratings
electrical cha racteristics T A within operating temperature range, VSS = Gnd, 2V::; VOO::; 5.5V
functional description
The time base for the MM5393 is an RC controlled KEYPAO OATA INPUTS
oscillator nominally tuned to 20 kHz. This is succes-
sively divided to provide timing signals for the various Keypad closures cause the connection of 2 of 7 switch
counters. The keyboard inputs, K 1-K4, in conjunction contacts arranged as a matrix (shown in Figure 2).
with the scan counter outputs, 01-03, indicate the Key closures are protected from contact bounce for
presence of a partic~lar key depression. If only one 5 ms.
key is detected for 5 ms, the decoded key will be loaded
into the RAM. The push button inputs are accepted at
an asynchronous rate, loaded into a first-in-first-out IMPULSING MARK-TO-SPACE RATIO
~emory, and outpulsing of the correct number of
pulses begins immediately after the first digit is entered. The mark-to-space ratio is 1.6:1 (61.5% to 38.5%).
After the first digit has been completed, outpulsing will
cease unless another key has been entered. This allows
use in a PBX system to ensure receipt of a dial tone
before entering the remainder of the number. If the call IMPULSING OUTPUT
'was not successful, it can be redialed at a later time by
pressing the redial key (#). If an access code is required The number of pulses will correspond to the input
as in a PBX system, it can be entered~ the dial tone can digit. For example, key 5 will generate 5 pulses. The
be established, then the redial key can be pushed. Only outpulsing rate is 10 Hz, and it can be varied by
one key can be entered before pushing the redial key adjusting the frequency of the oscillator. Because it is
because after the second key entry, the memory is intended to drive a transistor buffer, the outpulsing data
erased. A block diagram of the MM5393 is shown in is inverted. Oigits are separated by an interdigital pause
Figure 1. which is pin programmable for either 415 ms or 830 ms.
6-9
switching time waveforms
KEYBOARO SCAN
01-a..J u
02~
03
u Lr
r-"'150 IlS-----l
KEY CLOSURE (3) - - - - . . ,
~
NTERDIGITAL PAUS~
1--100 ms-j 415 ms OR 830 ms
(PIN PROGRAMMABLE)
keypad matrix
~~r--~~-~-r--K1
---r--~~-~-r--K4
01 02 03
FIGURE 2
lOP
SELECT
OSC 2 OSC 3
01
I
02
03
1 ~F * K1 MM5393 MUTE
K2
K3 OIAL PULSE
K4 VSS
HOOKSWITCH
DETECTOR
*Components added to existing network
PHONE LINE
FIGURE 3
Communications/CB Radio Circuits
block diagr~m
OSC
OUT
PROGRAMMABLE OIVIOER
;46 733
.42 734
~
OO
CONTROL
XMIT
MIXER
RI TONE
, OUTPUT
R2 KEYBOARD
R3 LOGIC FILTER
+
R4 CONTROL
LOGIC
CI
C2
C3
C4
L-_ _ _ _ _ _ _ _ _ _ _ _ -+ MUTE
FIGURE 1
6-11
absolute maximum ratings
Voltage at Any Pin Vss - 0.3V to VDD + 0.3V
Operating Temperature Range -40°C to +70°C
Storage Temperature Range --;65°C to +150°C
VDD -VSS 6V
Lead Temperature (Soldering, 10 seconds) 300°C
electrical characteristics
T A within operating temperature, 3V ~ VDD - VSS ~ 5V, unless otherwise spe'cified.
6-12
functional description (Continued)
DESIRED ACTUAL
PERCENT
INPUTS FREQUENCIES FREQUENCY
DEVIATION
fL (Hz)· fH (Hz) (Hz)
R1 697 - 699.1 0.306
R2 770 - 766.2 -D.497
R3 852 - 847.4 -D.536
R4 941 - 948.0 0.741
C1 - 1209 1215.9 0.569
C2 - 1336 1331.7 -D.324
C3 - 1477 1471.9 -D.35
C4 - 1633 1645.0 0.736
FREQUENCIES
XMIT Cl C2 Rl R2 R3 R4 GENERATED
fL (Hz) fH (Hz)
0 X X X X X X DC DC
1 Open Open 0 0 0 0 941 1336
1 Open Open 0 0 0 1 697 1209
1 Open Open 0 0 1 0 697 1336
1 Open Open 0 0 1 1 697 1477
1 Open Open 0 1 0 0 770 1209
1 Open Open 0 1 0 1 770 1336
1 Open Open 0 1 1 0 770 1477
1 Open Open 0 1 1 1 852 1209
1 Open Open 1 0 0 0 852 1336
1 Open Open 1 0 0 1 852 1477
1 0 Open fL DC
1 Open 0 Valid BCD Inputs DC fH
1 0 0 DC DC
6-13
typical applications
Vee
Cl
C2
Cl
C4
Rl
R2 RL
TONE
OUTPUT
C,
Rl
FILTER 200
CONTROL
VSS
COLUMN
TERMINALS
RINGER-~
Vee
Cl
C2
Cl
C4
Rl
R2
"'-- Rl
MUTE
TONE
~
OSC IN
c::J
I \ ' FILTER
-'"
COLUMN
6-14
connection diagram
Dual-In-Line Package
vss...2. U 18
-VOO
OSC 2 17
IN'- f- TONE
16
NC..! f- FILTER
OSC 4 15
·our- f-XMIT
5 14
MUTE- f- CONTROL
13
C4.! f-Rl
12
C3.2. f-R2
Cl.!. ..!.!. R3
9 10
C2- -R4
TOP VIEW
6-15
Communications/CB Radio Circuits
block diagrams
GND PO PI P2 Pl P4 P5 P6 GND PO PI P2 Pl P4 P5 P6 P7
"6 "5 "4 "l "2 111 11019 ~8 117 116 115 114 113 112 111 Ito
,I'
Vcc
Y
fiN
jl
OSC
.1 4
OSC 5,12
,1,5 .I.6
fS
..e
oVCD
8
1
LD
1
P8
9
IN OUT MHz
OUT
Order Number MM55104N or MM55114N Order Number MM551 OGN or MM5511GN
See Package 19 See Package 20
6-17
typical applications
INTRODUCTION TO FREQUENCY SYNTHESIS problem; however, present technology limits the counting
speed of programmable dividers to something less than
The components of. a frequency synthesizer are shown 5 MHz, ruling out the approach shown in Figure 1.
in Figure 1. The voltage controlled oscillator produces
the desired output frequencies spaced fv Hz apart
Two solutions to this problem are shown in Figure 2.
according to the relation:
Although simple in concept, the circuit of Figure 1 has This technique has the advantage of allowing a 10kHz
certain difficulties. In CB, we are synthesizing the reference frequency in the loop instead of 5 kHz.
following frequencies:
Iv
VCD
26.965
6·18
s:
typical applications (con't) s:U1
U1
.....
o
~
s:
s:U1
U1
.....
o
en
s:
s:U1
U1
.....
.....
11.80666 MHz ~
182<N<240RX
273 < N " ]]1 TX s:
3:
FIGURE 4(a). MM55104 or MM55114 3·Crystal Application --, U1
I U1
.....
I
: .....
, I
I en
I
I
I
I
I
: CHANNEL
--1 SELECT
I SWITCII
I
I
I
I
I
I
I
I
I
I
__ .J
91 <N< 120
N = 150 FOR CH 50
LEO DISPLAY
TO TRANSMITTER
26.965-27.225 MHz
6·19
Communications/CB ftadio Circuits
8 LOCK
OETECTDR
"'" FOR
LOCKED
"0" FOR
UNLOCKED
GND P' P2 P3 RX P4 P5 P6 PI P8
fTx
MM55108
fRE~UENCY
SELECT
5,'2 MHz '0,24 MHz ","'0 kHz FILTER FILTER ,WCD
OUT OUT "0" 5 kHz IN OUT OUTPUT
CRYSTAL 3
OSC IN
" LOCK
OETECTOR
"'" FOR
LOCKEO
"0" FOR
UNLOCKEO
MM551,10
6-20
absolute maximum ratings
6-21
o
.-
.-
It) connection diagrams
It)
Dual-I n-Line Package Dual-In-Line P~ckage
:?! GNO Pl P2 P3 RX/Tx P4 P5 P6 GNO PO Pl P2 P3 NC RxlTX P4 P5 P6 P7 pa
:?!
ex)
o
.-
It)
It)
:?!
:?!
OSC OSC 5.12 10.24 .VCO LO pa VCC fiN OSC OSC 5.12 10.24 FS FIL FIL ¢VCO LO P9
IN OUT MHz. MHz IN OUT MHz MHz IN OUT
TOPVIEW TOPVIEW
Order Number MM55108N Order Number MM5511 ON
See Package 20 See Package 22
pin descriptions
PO-P9 Programmable Divider Inputs 5_12 MHz OUT Buffered 5.12 MHz Output (Oscillator
fIN Frequency Input From VCO (Mixed down) Frequency -;. By 2)
OSCIN Oscillator Amplifier Input 10.24 MHz OUT . Buffered 10.24 MHz Output (Oscillator
OSC OUT Oscillator Amplifier Output Frequency)
LD Lock Detector FILTER IN I Filter Amplifier Input
qNCO Output of Phase Detector for Control of VCO FILTER OUT Filter Amplifier Output
FS Frequency Division Select RX/TX Receive/Transmit Input
"1" for 2 10 Division "0" for Transmit Mode (-;. by (N+91))
"0" for 211. Division
typical applications
OPEN ~ RX
GNO ~ TX 2k
RXlTx , -
SWITCH -1- 100pF
5pF
P4 13
CHANNEL
SELECT
SWITCH 10k
14
MM5510B
P3 15
P2 16
Pl 17
10pF
18
'--__-''IT '--___-+-+ TX OUT
26.965-27.405 MHz
":"
lOOk
• VCC + av 0-+-----+---+--...---4--+--I--....-+-----t-----.....
L-------------+--------.....--:------+~~.~4M~~~~UT
'--______________-+ ~I:~~~IXER .
6-22
typical applications (Continued)
~
~
U1
........U1
BUffERED BUffERED
o
10.24MH. 5.12MH.
5 OUT 6 OUT
OSCILLATOR DIVIDER
211
PROGRAMMAELE DIVIDER
2Ll
P8 PI r6 P5 P4 RX P3
fTX
18 10 11 12 13 14 15 16 17
SW GNO VCC
SWOPEN ·RX \~
SW CLOSE' TX -1
CHANNEL
SELECT
182 < N < 270 where N = binary
SWITCH number for programmable divider
BUffERED BUffERED
10.24MH. 5.12MH.
5 OUT 6 OUT
OSCILLATOR OIVIDER
211
PROGRAMMABLE DIVIDER
2Ll
PB PI P6 P5 P4 Rx P3
fTx
18 10 11 12 13 14
SW GND vcc
SWOPEN RX \~
SW CLOSE· Tx -:1.
6·23
truth tables
co
-
o
Ln
Ln
~
TABLE I. Binary Inputs to Programmable Divider for MM55108
~ RX/TX RX/TX
INPUTS
1 92 0 0 0 0 0 0 0 0
2 93 0 0 0 0 0 0 0 1
4 95 0 0 0 0 0 0 1 0
510 601 1 1 1 1 1 1 1 1
1 ~ logical "1"
o ~ logical "0"
INPUTS
RX/Tx RX/TX
"1" OR "OPEN" "0" OR "CLOSED" 29 28 27 26 25 24 23 22 21 20
N I N P9 P8 P7 P6 P5 P4 P3 P2 Pl PO
1 92 0 0 0 0 0 0 0 0 0 X
2 93 0 0 0 0 0 0 0 0 1 0
3 94 0 0 0 0 0 0 0 0 1 1
1023 1114 1 1 1 1 1 1 1 1 1 1
x ~ don't care
1 ~ logical "1"
o = logical "0"
6-24
Watches
r
I
r
OSET Voo 0
o TIME
20
DIGITS 40
OF
10
OA MM5829
},,"
OSCOUT 0
132MILS
DB
DE SEGMENTS
OG
1 Hz!
DC TEST
Vss LAMP FRED TEST 4096 DSC IN
DO 0 0 0 0 0 0
FIGURE 2.
connection diagram .
1.=======:=1 NC
NCC=====~
SET . - - - - - - , NC
NC~7?~~~~~~~~~NC
TIME DIGIT 3
SEGF OIGIT 2
SEG A 0lGIT4
SEGB OIGIT 1
SEGG OSC IN
SEG C NC
SEGMENTS
SEG 0 NC
FIGURE 1. NC 1 . -_ _- ' 4096Hz
~======::J TEST
FIGURE 3.
7-2
s:
absolute maximum ratings s:
(J'1
Voltage at Any Pin Vss-0.3V to Voo+0.3V
-5°C to + 70°C
CO
Operating Temperature Range N
Storage Temperature Range to
Dice -25°C to +85°C
Packages -55°C to +125°C
Voo '-'V ss . 5V max
Lead Temperature (Soldering, 10 seconds) 300°C
electrical .characteristics
T A within operating temperature range, Vss = GND, 2.4 ~ Voo ~ 4.0V, unless otherwise noted.
Input Current @ Time and Set VIN = V oo , Sink Only, Voo = 3.0V 10 pA
Input Current @ Lamp and Test VIN = V ss , Source Only, Voo = 3.01/ 3 pA
functional description
A block diagram of the MM5829 digital watch chip 'is quartz crystal, and (c) provide added phase shift for
shown in Figure 1. A chip pad layout is shown in Fig- good start-up and low voltage circuit performance.
ure 2 and a package connection diagram in Figure 3. Capacitors eland C2 in series prOvide the parallel load
capacitance required for precise tuning of the q~artz
Time Base crystal.
The precision time base of the watch is provided by the The network shown provides >100 ppm tuning range
interconnection of a 3-2768 Hz quartz crystal and the when used with standard X-Y flexure crystals trimmed
RC network shown in Figure 4 together with the CMOS for C L = 12 pF. Tuning to better than ±2 ppm is easily
inverter/amplifier provided between the oscillator in and obtainable.
oscillator out terminals. Resistor R 1 is necessary to bias
the inverter for class A amplifier operation. Resistor R 2 The 4096 Hz output or 1 Hz output can be used to
is required in order to (a) reduce the voltage sensitivity monitor the oscillator frequency during initial tuning
of the network, (b) limit the power dissipation in the without disturbing the network itself.
7-3
functional description (con't)
Time Display
The HOURS-MINUTES/SECONDS Display feature is HOURS at a 1 Hz rate. The Seconds and Minutes
controlled by a normally open switch connected to the counters continue normal counting during this
Time input as shown in Figure 6. A logic "1" applied condition.
to the Time input will cause HOURS-MINUTES to be
displayed for not less than 1.5 seconds or more than 2.0 SECONDS: With a logic "1" on the Time input, the
seconds. The hours digits can display values 1-12 while application of a logic "1" to the Set input will immedi-
the minutes digits can c\.isplay values 00-59. All zero ately reset the Seconds counter to 00 and allow a normal
values are displayed for minutes and leading zero values seconds count from there.
of hours are blanked. The character display font is MINUTES: A logic "1" applied to both the Time and
shown in Figure 5. Holding a logic "1" on the Time
Set inputs will allow HOURS-MINUTES to be displayed
input after the time-out of HOURS-MINUTES will cause and will advance the MINUTES at a 1 Hz ra'te. A transi-
SECONDS to be displayed in digit positions 3 and 4 tion from 59 to 00 will not advance the Hours counter
. ur\til' the Time input is opened. SECONDS will blink in this condition.
while displayed. Each value is visible for 0.5 seconds and
blanked for 0.5 seconds. The SECONDS digits can dis- CONTACT BOUNCE: Debounce circuitry is provided
play values 00-59. All zero values are displayed. on the Time and Set inputs to' remove any logic
uncertainty upon either closure or release of switches
Display Multiplexing providing switch bounce settles within 20 ms.
Outputs from each counter are time·division multiplexed
to provide digit·sequential access to the time data. Thus, Oscillator Stop
instead of requiring 28 leads to interconnect a four digit The oscillator can be stopped in order to conserve
(7 segments/digit) watch, only 11 output leads are re- battery life during shipment of the watch. The oscillator
quired. Figure 6 shows the interconnection of an LED will stop if a logic "1" is momentarily applied to the
watch system. The four digit outputs of the MM5829 are Time input and while HOURS-MINUTES are displayed
designed to interface with the bipolar DM8650 digit a logic "1" is momentarily applied to the Set input.
driver chip. The seven segment outp~ts are designed to The Display is inactive during this mode. The oscillator
interface with the bipolar DM8651 segment driver chip. will start again when a logic "1" is applied to the Set
The four digits of the LED Display are mUltiplexed with input .
. a 25% duty cycle, 1024 Hz signal during Display. The
digit drivers are turned off for 1511s during change of Test Points
digits to allow the seven segments to change without Four pins are provided for test purposes. A 4096 Hz
"ghosting" of the Display. When the MM5829, DM8650, symmetrical signal is brought out for oscillator tuning.
and DM8651 are used as shown in the typical applica- The pin 1 Hz/Test Frequency is an input/output under
tion of Figure 6 the peak segment on currents are control of Test. With Test open, a 1 Hz output will
typically 9 mAo The 0101 LED Display gives excellent appear on the 1 Hz/Test Frequency pin. If Test is con-
brightness under these drive conditions. nected to a logic "0," the 1 Hz/Test Frequency becomes
an input and any .frequency connected to it will be
Time Setting divided by the Seconds counter in place of the normal
A normally open switch connected to the Set input is 1 Hz signal. This feature is provided to allow high speed
used in conjunction with the Time switch to set hours, functional testing of the watch system. If lamp is con-
minutes, and synchronize seconds. nected to a logic "0," all segments will be forced to an
on condition under control of the normal 25% duty
HOURS: A logic "1 ,; applied to the Set input will cause cycle of the digit drivers. An internal pull-up resistor will
HOURS-MINUTES to be displayed and will advance normally hold the lamp input to logic "1." ,
OSC IN
Dc=JD
ZERO
0 -D= =0 ' V
ONE TWO THREE FOUR
7-4
functional description (con't)
r-~-I:D:~"-"'"
_~32168Hl_"-'
7r- CRYSTAL T Voo
OSC IN
Vss o~ Voo
OSC OUT
1
-=- UV
Voo -
Vss -
MMS829
(CMOS) ""'~:~
SET f-o -
""
1.5V
TVss
l+A
l-..+ B
0101
~C LED
'-----I~ID DISPLAY
'-----.IE
L..-----.IF
G
7·5
.-
o
00
00
LO
~
~ .. Watches
~
o MM5860, MM58601, MM5880, MM58801
00
00 two time zone LED watch circuits
LO
~ general description features
~ The MM5860/MM5880 is a low threshold voltage, ion- • 32,768 Hz crystal controlled operation
implanted, metal-gate CMOS integrated circuit that
.- • Single 3V supply
o provides or controls all signals needed for a 4-digit
c.o LED watch. The display format is either 12 or 24 • Low power dissipation (15J1W typical)
00 hours. The circuit time base is a 32,768 Hz crystal con-
LO • Seconds, Minutes, Local and Zone Hours, Date, and
trolled oscillator. This time base is successively divided
~ to provide drive signals for a multiplexed 7-segment LED
Month display
~ display of Date·Month, Local Hours-Minutes, Zone • 4 year calendar
Hours·Minutes, or Seconds upon demand for the • 4·digit .. 12/24 hour display format
MM5860 version. The MM5880 version will vary only in
the date display by displaying Month-Date. The • AM indication in 12·hour format
MM58X01 versions will blink the Month during the
• Simple display/set controls
date display. Outputs interface with currently available
standard bipolar segment and digit driver integrated • Auto return from Set and Display mode
circuits. The device operates from a single 2.4-4.0V • Easy interface to standard. bipolar IC's for display
supply. All versions are available as unpackaged die
drive
suitable for hybrid assembly or in 40·lead dual·in-line
packages for evaluation purposes. • Display brightness control
DSCDUT=t>l
........
DSC IN
~DIM
--,-'
LAMP 0-_.------1-....1 01]
02 ··DIGITS
4 Hz(nSTFREO
SET/DISP o--t----+r~---, 03
CYCLE 0----11----.1 04
ZDNE o---ir---+L--.-_..l
Nt NC
CDLDN
Nt NC
SEGMENT 0
OSCOUT SEGMENTC
0lGIT2
SEGMENTB
DIGITl SEGMENT A
0lGIT4 SEGMENTF
VDO 27 SET/DISPLAY
26
NC
NC NC
I+--f--.....- - + - - - - - + - - - - ( ) 2 4 HR NC
23
24HR
19 22
DIM CYCLE
20
COLON ZONE
TOPVIEW
FIGURE 2.
SEGMENTS
FIGURE 1.
7·6
absolute maximum ratings
Voltage at Any Pin VSS - O.3V to VOO + O.3V
o
Operating Temperature Range -5°C to +70 C
Storage Temperature Range -25°C to +85°C
VOO - VSS 5V max
Lead Temperature (Soldering, 10 seconds) 300°C
electrical characteristics
TA within operating temperature range, VSS = Gnd, 2.4V'::; Voo'::; 4V, unless otherwise noted. ~
~
PARAMETER CONDITIONS MIN TYP MAX UNITS CJ1
Oscillator Start Voltage T A'" 25" C, Circuit of Figure 4 2.7
CO
V
CO
Input Voltage Levels at Cycle, VDD = 3V o
Set/Display and Zone
~
Logical "1" 1/2 VDD VDD V
Logical "0" 300k.Q Internal Pull-Down to VSS
~
Open CJ1
Input Voltage Levels at 4 HzITest Freq, CO
CO
24 Hr. o
~
Logical "1" VDD-0.25 VDD V
Logical "0" VSS VSS+0.25 V
Input Voltage Levels at Lamp, Test VDD = 3V
Logical "1" 1 M.Q Internal Pull-Up to VDD Open
Logical "0" VSS VSS+0.25 V
Input Voltage Levels at Dim
Display Duty Cycle = 21.875% 5 M.Q Pull-Down to VSS Open or VSS+0.3 V
Display Duty Cycle = 9.125% VSS+0.9 VDD-l.l V
Display Duty Cycle = 3.125% VDD-0.5 V
Input Current at Cycle, Set/Display VIN = VDD, Sink Only, 0.2 10 I1A
and Zone VDD = 3V
Input Current at Lamp and Test VIN = VSS, Source Only, 0.2 5 I1A
VDD = 3V
Input Current of Dim VIN = VDD, Sink Only, 0.1 2 I1A
VDD = 3V
Input Capacitance f=lMHz,VIN=OV, 5 pF
All Other Pads Gnd
7-7
functional description
Unless otherwise specified, all references to the to allow the segment decoding circuitry adequate time
MM58XO will also refer to the MM58X01. A block to switch to the next digit's information. This eliminates
diagram of the MM5860/MM5880 is shown in Figure 1. the possibility of "ghosting" information between digits.
The' connection diagram is shown in Figure 2 and the When the MM5860/MM5880, DS8658 and DS8659 are
o chip pad layout in Figure 3. used in a typical application as shown in Figure 6 the
CO peak segment "ON" currents are typically 11 mAo
CO 04D96Hz 0 0 o VssO The NSC0101 LED display gives excellent brightness
Lt) 4 HllTEST TEST LAMP
under these drive conditions.
TD'I
OOSCOUT FRED 00
2 co
o
OOSCIN
2 ED
159MILS
SEGMENTS GO
BO o
1
OIGITS
AD
01
FO
03
SET/DISPLAY 0
04
24 HR DIM COLON ZONE CYCLE
OVODO 0 0 0 0
o
to I• lBBMllS
·1 d
co
Lt)
FIGURE 3. Pad Layout FIGURE 5. Character Display Font
Time Base: The precision time base of the watch is pro- DISPLAY CONTROL
2 vided by connecting a crystal-controlled RC network to
2 the on-chip CMOS inverter/amplifier as shown in Figure The Time and Date display sequence is controlled by a
normally open switch connected to the Set/Display
4. For proper operation, the network should be tuned
input. With the display off, depressing the Set/Display
to 32,768 Hz. Resistor R 1 is used to bias the on-ch ip
inverter for class A amplifier operation. Resistor R2 is switch will activate the Local Hour: Minute display. This
used to (a) reduce the voltage sensitivity of the network; display will remain on for 1.25 seconds ±0.125 seconds.
(b) limit the power dissipation in the quartz crystal; and If the switch is still held in at the end of this time out,
(c) provide added phase shift for good start-up and low Seconds will be displayed, blinking on for 0.25 seconds
voltage circuit performance. Capacitors Cl and C2 in and off for 0.75 seconds, until the SetIDisplay switch is
series provide the parallel load capacitance required for released. If, during the Hour:Minute display, the Set/
precise tuning of the quartz crystal. The network shown Display switch is released and depressed a second time
in Figure 4 provides greater than 100 ppm tuning range the date will be displayed as Date Month in the MM5860
when used with standard X-Y flexure quartz crystals version and as Month Date in the MM5880 version.
trimmed for CL = 12 pF. Tuning to better than 2 ppm The Month will blink on for 0.25 seconds and off for
is easily obtainable. 0.75 seconds in the MM58601 and the MM58801
versions and not blink in the MM5860 and the MM5880
versions. The display' will remain on for 1.25 seconds
and turn off automatically if the Set Display switch has
been released. Holding the Set/ Display switch in past
the- display time out will maintain the display until
the Set/Display switch is released. Zone Hour:Minute
can be displayed by depressing the Zone switch. This
TO COUNTERS display will also remain on for 1.25 seconds ±0.125
seconds. Holding the Zone switch depressed beyond'
VSS this period will cause Seconds to be displayed until
FIGURE 4. Oscillator RC Network the switch is released. The date information can not
be displayed using the Zone switch. Leading zeros are
The 4096 Hz output or the 4 Hz output can be used to blanked on the Month, Date and Hour displays.
monitor the oscillator frequency during initial tuning
without disturbing the network itself. . TIME SETTING
Display Multiplexing: The counter data selected to be The setting sequence is controlled by a normally open
displayed is 'time-division multiplexed to provide digit- switch connected to the Cycle input. Depressing the
sequential presentation to the LED display. This reduces Cycle switch will advance the watch to the next set
the number of outputs required to drive the 4-digit mode.
display to 11 (7 segment drivers and four digit drivers).
The display font is shown in Figure 5. Figure- 6 is a Set Hour Mode: With the watch in normal Run mode
schematic diagram of a typical LED watch using the and the display off, depressing the Cycle switch will
MM5860/MM5880 watch chip. The digit outputs of the advance the watch to the Set Local Hour mode. In this
MM5860/MM5880 are designed to interface with the mode local hours will be displayed in digit positions 1
bipolar DS8658 digit driver chip and the segment driver and 2 followed by the colon. The AM dot will be on
outputs will interface with the bipolar DS8659 segment during AM time display. Depressing the Set/Display
driver chip. The four digits of the LED display are switch will advance the Local Hour counter at a 2 Hz
multiplexed with a 25% duty cycle, 1024 Hz signal rate. Depressing the Zone switch while in the Set Local,
during the display period. The digit drivers are dis- Hour mode will cause zone hours information to replace
abled for 32ps at the beginning of each digit enable time the local hours information in digit positions 1 and 2.
7-8
s
s
(J1
CO
0)
o
DMB658
VSS
s
s
(J1
CO
, NSC CO
101
LED
o
s
s
(J1
CO
-
CO
(1) Anti-resonant quartz crystal, CL = 12 pF o
FIGURE 6_ System Schematic
The colon and the AM dot will still be presented as in If none of the switches are depressed for 5.25 seconds
the Local Hours display. The Zone Hour counter can ±0.125 seconds consecutively while in the Set Date
now be advanced at a 2 Hz rate by depressing the Set/ mode, the watch will automatically return to the Run
Display switch. mode if the Minutes Counter was not set or will jump to
the Hold mode if the Minutes Counter was set. Depres-
In either of the above Set Hour modes if no switches are sing the Cycle switch while in the Set Date mode will
depressed for 5.25 seconds ±0.125 seconds consecu- advance the watch to the Run mode if the Minutes
tively, 'the watch will automatically return to the Run Counter was not set or will advance it to the Hold mode
mode. Depressing the Cycle switch while in the Set if the Minutes Counter was set for the MM5880 version.
Zone Hour mode will return the watch to the Run Depressing the Cycle switch while in the Set Date mode
mode~ Depressing it while in the Set Local Hour mode of the MM5860 version will advance the watch to the
will place the watch in the Set Minutes mode. Set Month mode.
Set Month Mode: The Set Month mode will display the
Set Minutes Mode: The Set Minutes mode will display month in digit positions 3 and 4 in the MM5860 ver~ion,
minutes in digit positions 3 and 4 preceded by the colon. or in digit positions 1 and 2 in the MM5880 version,
Depressing the Set/D isplay switch while still holding with no colon displayed. Depressing the Set/Display
the Cycle switch in will enable the Hold flag but will not
switch while in the Set Month mode will advance the
allow advancement of the Minutes Counter. Depressing Month Counter at a 2 Hz rate.
the Set/Display switch after the Cycle switch has been
released will do the following: If none of the switches are depressed for 5.25 seconds
±0.125 seconds consecutively while in the Set Month
a. Reset and hold the Seconds Counter
mode, the watch will automatically return to the Run
b. Enable the Hold flag, and
mode if the Minutes Counter was not set or will jump
c. Advance the Minutes Counter at a 2 Hz rate to the Hold mode if the Minutes Counter was set.
Depr~ssing the Cycle switch while in the Set Month
If none of the switches are depressed for 5.25 seconds mode will advance the watch to the Run mode if the
±0.125 seconds consecutively while in the Set Minutes
Minutes Counter was not set or will advance it to the
mode, the watch will automatically return to the Run Hold mode if the Minutes Counter was set for the
Mode if minutes have not been set or will jump to the MM5860 version. Depressing the Cycle switch in the Set
Hold mode if minutes have been set. Depressing the Month mode of the MM5880 version will advance the
Cycle switch while in the Set Minutes mode will advance watch to the Set Date mode.
the watch to the Set Date mode for the MM5860 version
or the Set Month mode for the MM5880 versio'n. Hold Mode: In the Hold mode the Seconds Counter is
held at 00. Local Hour:Minute will blink on for 0.25
Set Date, Mode: The Set Date mode will display the Day seconds and off for 0.75 seconds. Depressing the Cycle
of Month in digit positions 1 and 2 in the MM5860 switch while in the Hold mode will put the watch back
version, or in digit positions 3 and 4 in the MM5880 into the' Set Hour mode and then the counters can be
version, with no colon displayed. Depressing the Set/ set as described previously. With the Hold mode still
Display switch while in the Set Date mode will advance activated, the watch will return to the Hold mode only.
the Date Counter at a 2 Hz rate. Depressing the Set/Display switch while in the Hold
7-9
'-
o
CO
CO
10
mode will place the watch into the display Local Hour:
Minute mode ,and allow the Seconds Counter to begin
by the logical state of the "24 Hr" input. If the "24 Hr"
input is a logical "1" the watch will operate in the 24
normal operation. hour mode. 'When the" 24 Hr" input is a logical "0"
~ the watch operates in 12 hour mode.
~ There is no roll·over of the next higher counter while a
counter is being set. For example, while the Minutes
o Counter is set from 59 to 00 neither the Local Hour nor DIM INPUT
CO the Zone Hour Counter will be advanced.
CO
10 Figure '7 isa state diagram showing the display and set The Dim input is a three level input used to control
~ functions for both the MM5860 and the MM5880. the display intensity of the watch. This input has a pull·
~ down to VSS to hold it normally at a logical "0."
-
o
CD
CO
COLON OUTPUT
This output provides direct drive of the colon in the
LED display unit. Colon will sink current when acti-
vated. The colon output will be activated during the
In this condition the display will normally be at maxi-
mum intensity. With the Dim input at 1/2 VDD' the dis-
play will be at approximately 1/2 of full intensity.
10 Placing the input at VDD will reduce the display inten-
display of either one of the hour ~ounters or the minute
~ counter or both.
sity to approximately 1/8 of fuJI intensity. Figure 8
~ shows the switching threshold ranges for the three level
CONTACT BOUNCE DIM input.
o Debounce circuitry is provided on the "Set/Display"
CD
CO and "Cycle" inputs to remove any logic uncertainty TEST POINTS
10 upon either closure or release of switches provided
~ switch bounce settles within 100 ms. Four pads are provided for test purposes.
~
12/24 HOUR OPTION
4096 Hz: This pad outputs a 4096 Hz signal that can be
12/24 hour mode operation of the watch is controlled used for oscillatortuning.
- - U S E R CONTROLLEO ROUTES
7-10
TEST POINTS (CON'T)
4 Hz/Test Freq: This is an input/output pad under the Changing the Test input from a logical "'" to a logical
control of the "Test" input. When "Test" is at a logical "0" will generate a reset pulse which will Set the internal
"0," the "4 Hz/Test Freq" pad becomes an input and counters to , PM on January the first. The watch is now
any frequency connected to it will replace the normal in a known state for testing purposes.
internal 4 Hz signal. This feature is provided to allow
high speed functional testing of the watch system. Lamp: When the "Lamp" input is at a logical "0," all
When "test" is open or at a logical ",", a 4 Hz output segments of the display will be forced to an "ON"
will appear on the "4 Hz/Test Freq" pad. condition under control of the normal 25% duty cycle
of the digit drivers. An internal pull-up resistor will
Testi This pad is used as an input to coritrol "4 Hz/ normally hold the "Lamp" input at a logical "'."
Test Freq." An internal pull-up resistor will normally ~
hold "Test" at a logical ."1." ~
CJ1
(X)
(X)
o
7-1'
Watches
schematic diagram
RI R1 R2 CAP (Note 1)
PART NUMBER
MIN MAX MIN MAX MIN MAX
Vss
Vss
FIGURE 1.
7-12
Watches
block diagram
4096Hz 0---......;......;--------.
CAP~
r - - - - - / - - O DIM
SET/DISP o>----......,r...!..--...!..-,
CYCLE 0>-----.1
DAY/DATE 0----.1
HRIMIN O>----......L_---.__-1
SEGMENTS
FIGURE 1.
7-13
absolute maximum ratings
Voltage at Any Pin Vss -0.3V to Voo + 0.3V
Operating Temperature Range -5°C to +70°C
Storage Temperature Range -25°C to +85°C
Voo - Vss 5V max
Lead Temperature (Soldering, 10 seconds) 300°C
electrical characteristics
T A within operating temperature range, Vss = GND, 2.4 ~ Voo ~ 4.0V, unless otherwise noted.
Quiescent Supply Current (100) Osc In @Gnd, Voo = 3V, 0.05 1 p.A
TA = 25°C, Other Inputs and
Outputs Open
7-14
functional description
A block diagram of the MM5885/MM5886 direct drive Display Control: The "Time" and "Date" display
digital watch is shown in Figure 1. The chip pad layout sequence is controlled by normally open switches
is shown in Figure 2 and a package connection diagram connected to SET/DISPLAY, DAY/DATE (MM5886),
in Figure 3. and HOUR/MINUTE (inertial switch) inputs. With the
display "OFF," depressing the SET/DISPLAY switch
will activate the HOUR·MINUTE display. This display
Time Base: The precIsion time base of the watch is will remain "ON" for 1.25 seconds ±0.125 seconds.
provided by the 32,768 Hz crystal controlled oscillator, If the switch is still held in at the end of this time out,
which consists of the quartz crystal, the CMOS inverter/ SECONDS will be displayed blinking "ON" for 0.25
amplifier and the RC network shown in Figure 4. seconds and "OFF" for 0.75 seconds until the SET/
Resistor R 1 is necessary to bias the inverter for class A DISPLAY switch is released. If, during the HOUR·
amplifier operation. Resistor R2 is required in order to MINUTE display, the SET/DISPLAY switch is released
(a) reduce the voltage sensitivity of the network; (b)limit and depressed a second time, the date will be displayed
the power dissipation in the quartz crystal; and (c) pro' as DAY·DATE in the MM5885. The DAY· DATE display
vide added phase shift for good start·up and low voltage will remain "ON" for 1.25 seconds ±0.125 seconds
circuit performance. Capacitors C1 and Ceff in series and turn "OFF" automatically if the SET/DISPLAY
provide the parallel load capacitance required for precise switch has been released. Holding the SET/DISPLAY
tuning of the quartz crystal. The network shown in switch past the display time out will maintain the
Figure 4 provides greater than 100 ppm tuning range ·DAY·DATE display until the SET/DISPLAY switch
when used with standard X· Y flexure quartz crystal is released. In the MM5886, depressing the SET/
trimmed for C L = 12 pF. Tuning to better than 2 ppm DISPLAY a second time has no effect. To display
is easily obtainable. DAY· DATE information in the MM5886, depress the
DAY/DATE switch. The DAY·DATE display will remain
"ON" for 1.25 seconds ±0.125 seconds. If the switch
Cap: This pin is used with Oscillator Out to add more is still held in at the end of this time out, the display
capacitance to the oscillator RC network shown in will remain until the DAY/DATE switch is released.
Figure 4. "Time" may also be displayed in both the MM5885 and
15.5 159
0 153.51
0-
I
5.5 40
SEGMENT I SEGMENT E
DIG 2 39
(HII 13V DIGIT 2 SEGMENT C
3B
=24 NC NC
31
31.1 NC NC
NC NC
41.0 116.B
NC NC
4.5 X 5.0
NC NC
51.2 DIGIT 1 SEGMENT 0
101.4
vss SEGMENT G
DIGIT 3 voo
B5.9
DIGIT 4 SEGMENT B
MM5885.MM58B6
161 BO.1
(ALL PADS ARE 5.0 X 5.0 MINIMUM) 4096 Hz SEGMENT F
MILS
CAP SEGMENT H
61.1
DSC OUT SEGMENT A
99.2
NC NC
101.9- 4.5 SQUARE, TYP
OSC IN NC
DIM LAMP
3B.l 4 HzITEST SET/OISPLAY
=11 (NCI .B(NC) TEST CYCLE
131.1 DAY/DATE LAMP
HR/MIN OAY/DATE (MM5BB6)
=16 =10 =9
OSC =15 =14=13 =12 (NC) (MODE) (DISPLAY)
15.2
IN DIM 4 Hz TEST HR/MIN CYCLE SET TOP VIEW
155.5
161- ~-r-+~~r---------r---~--+---+---+------J--O FIGURE 3. Connection Diagram
1
0
10.2 21.6 12.6 103.2 131.2
CI Rl R2 Rl R2
6-36 pF 0(11 10M 200k
0(2)
10M 200k
Voo ORV ss
C...
C••
BPF
T
8PF
T VSS
v.. v.. Note 1; 3Z.168 Hl tuning fOfk qu.rU cryrtll,C L -SpF
7·15
functional description -(con't)
MM5886 by activating the HOUR/MINUTE input. Set Minutes Mode: The Set Minutes mode will display
The HOUR/MINUTE input is used with an inertial minutes in digit positions 3 and 4 preceded by the
switch that is normally open. Closing the switch activates colon. Depressing the SET/DISPLAY switch while
the HOUR/MINUTE display. This display will remain still holding in the Cycle switch will enable the hold
"ON" for 1.25 seconds ±O.125 seconds and then turn flag but will not allow advancement of the MINUTE
"OF F" automatically. counter. Depressing the SET/DISPLAY switch after the
Cycle switch has been released resets and holds the
Time Setting; The setting sequence is controlled by a SECOND counter, enables the hold flag, and advances
normally open switch connected to the Cycle input. the MINUTE counter at a 2 Hz rate. If neither switch
Depressing the Cycle switch will advance the watch to is depressed for 5.25 seconds ±O.125 seconds while
the next set mode. Figure 5 is a flow diagram showing the watch is in the Set Minutes mode, the -watch will
the display and set functions' for both the MM5885 automatically return to the Run mode if minutes have
and the MM5886. not been set or will jump to the Hold mode if minutes
have been set. Depressing the Cycle switch while in the
Set Hour Mode: With the watch in the normal Run mode Set Minutes mode will advance the watch to the Set
and the display "OFF," depressing the Cycle switch will Day mode.
put the watch into the Set Hour mode. In this mode,
HOURS will be displayed in digit positions 1 and 2 Set Day Mode: The Set Day mode will display DAY-OF-
followed by the colon. An A or a P will be displayed in THE-WEEK in digit positions 1 and 2. Depressing the
digit position 4 to indicate AM or PM, respectively. SET/DISPLAY switch while in the Set Day mode will
Depressing the SET/DISPLAY switch will advance the advance the DAY counter at a 2 Hz rate. If neither
Hours counter at a 2 Hz rate. If neither the SET/ switch has been depressed for 5.25 seconds ±O.125
D ISP LA Y switch nor the Cycle switch are depressed seconds while in the Set Day mode, the watch will
for 5.25 seconds ±O.125 seconds, the. watch will auto- automatically return to the Run mode if the hold flag
matically return to the Run mode. Depressing the was not set or will jump to the Hold mode if the hold
Cycle switch while in the Set -Hours mode will advance flag was set. Depressing the Cycle switch while in-the Set
the watch to the Set Minutes mode. Day mode will advance the watch to the Set Date mode.
I SID
~r-:I
'-----,;.:----'~
i
1:
L-.~::---I
~_J
*0 ~
SET
MONTH
FIGURE 5(a). MM5885 Flow Diagram FIGURE 5(b). MM5886 Flow Diagram
7-16
functional description (can't)
Set Date Mode: The Set Date mode will display DATE in "ON" for 0.25 seconds and "OFF" for 0.75 seconds.
digit positions 3 and 4. Depressing the SET/DISPLAY Depresssing the SET/DISPLAY switch will place the
switch while in the Set Date mode will advance the watch in the display HOUR/MINUTE mode for 1.25
DATE counter at a 2 Hz rate. If neither the SET/ seconds ±O.125 seconds. Depressing the Cycle switch
DISPLAY nor the Cycle switches have been depressed while in the Hold mode will advance the watch to the
for 5.25 seconds ±0.125 seconds while in the,. Set Date Set Hour mode. There is no roll-over of the next higher
mode, the watch will automatically return to the Run counter while a counter is being set at a 2 Hz rate.
Mode if the hold flag was not set or will jump to the
Hold mode if the hold flag was set. Depressing the
Cycle switch while in the Set Date mode will advance Month Counter: The MONTH counter provides "smart
the watch to the Set Month mode. Date" but is only displayed during the Set Month mode.
The DATE counter will count 28 days in February,
Set Month Mode: The Set Month mode will display 30 in April, June, September and November, and 31
MONTH in digit positions 3 and 4 and an "M" in digit in the remaining months.
position 1. Depressing the SET/DISPLAY switch while
in the Set Month mode will advance the MONTH counter
at a 2 Hz rate. If neither the SET/DISPLAY'nor the Contact Bounce: Debounce circuitry is provided on the
Cycle switches have been depressed for 5.25 seconds SET/DISPLAY, CYCLE, DAY/DATE and HOUR/
±0.125 seconds while in the Set Month mode, the watch MINUTE inputs to remove any logic uncertainty upon
will automatically return to the Run mode if the hold either closure or release of the switches. 20 ms debounce
flag was not set, or will advance to the Hold mode if protection is provided for SET/DISPLAY, CYCLE and
the hold flag was set. Depressing the Cycle switch while DAY/DATE inputs and 200 ms protection is provided
in the Set Month mode will advance the watch to the for the HOUR/MINUTE input.
Hold mode if the hold flag was set; otherwise, the watch
will advance to the Run mode.
Display Multiplexing: The counter data selected to be
Hold Mode: In the Hold mode the SECOND counter is displayed is time-division multiplexed to provide digit-
held at 00, and the HOUR-MINUTE display will blink sequential presentation to the LED display. This reduces
o Ou 0
il~O
O~O
SET HOURS
o O~O 0
o O~O 0::::0
0
v V
il~ il~O
:::0 O~D
:::0 0::::0
o~ O~V
DaD ::::0
o 0' ~o
o Du o D~D 0::::0
o [60 0 V V
FIGURE 5(c). S~t Display Font
7-17'
functional description (con't)
the number of outputs required to drive the 4-digit Test Points: Four pads are provided for test purposes.
display to thirteen (9-segment drivers and 4-digit drivers).
The display font is shown in Figure 6. Figure 8 is a 4096 Hz: This pad outputs a 4096 Hz signal that can be
schematic diagram of a typical LED watch using the used for oscillator tuning.
MM5885 watch chip. The segment and digit drivers
are designed to interface directly with the LED display. 4 Hz/Test Freq: This is an input/output pad under the
The four digits of the LED display are multiplexed control of the Test input pad. When "Test" is at a logical
with a 23% duty cycle, 1024 Hz signal during the display "0," the 4 Hz/Test Freq pad becomes an input and any
period. The digit drivers are disabled for 32psec at the frequency connected to it will replace the normal.
beginning of each digit enable time to allow the segment internal 4 Hz signal. This feature is provided to allow
decoding circuitry adequate time to switch to the next high speed functional testing of the watch system.
digit's information. This eliminates the possibility of When "Test" is open or at a logical "1," a 4 Hz output
"ghosting"information between digits. will appear on the 4 Hz/Test Freq pad.
Dim Input: The Dim input is a 3-level input used to Test: This pad is used as an input to control the 4 Hz/
control the display intensity of the watch. This input Test Freq pad. An internal pull-up resistor will normally
has a pull-down to Vss to hold it normally at a logical hold "Test" at a logical "1." Changing the Test input
"0." In this condition, the display will normally be at from a logical "1" to a logical "0" will generate a reset
maximum intensity. With the Dim input at 1/2 V DD pulse which will set the internal counters to 1 AM on
the display will be at approximately 1/2 of full intensity. Sunday, January the first. The watch is now in a known
Placing the input at V DO will reduce the display inten- state for testing.
sity to approximately 1/8 of full intensity. Figure 7
shows the switching threshold ranges for the 3-level Lamp: When the Lamp input is at a logical "0," all
Dim input. segments of the display will be forced to an "ON"
condition under control of the normal 23% duty cycle
Colon Output: Colon information is present on the "h" of the digit drivers. An internal pull-up resistor will
and "i" segment outputs during digit position 4.' normally hold the Lamp input at a logical ~'1."
oo[bdJ ~V,
dJ =:JV
~6 6 IlgrqUIJ
reo o[b bO
il=:J 0 0 OoOOlj =:J
0 o 0 o 0il=:J
::060 o 0[b;0
SUNOAY MONOAY
0 O=:JO
TUESOAY
~ort:
WEONESOAY
A
oo O=:J
il 0 il=:J 0::0 il~O:J]
O oc=J Oll
FilJfOa
THURSOAY FRIOAY
::OOu
SATUROAY E~OC
FIGURE 6. Display Font
3.125%OUTYCYCLE ill'-_________...:rL
9D'5~sj I~I~ - 3D.5~s I
213.6~s__t--_r_-----976.5~s-----
7·18
s:
functional description (con't) s:
U1
co
Voo Vss
co
U1
VDD~
.....l-
I I s:
1.5V
s:U1
500k,20%
,.]:L,= SET/DISPLAY
CYCLE
co
co
0')
Voo DIM
{'
2 I---
~~~
MM5885 DIGIT
DSC IN ENABLE ~ f--
'-."~
...L f--
BETA
240- 360 NS IL 0
-r-
/1/ ~ Voo OR ~ OSC OUT SEGMENT ENABLE
Vss \
CAP
Vss A B
I
C 0 E F G H I
~
r--
NSC910 1
ilaO ilaO 0 il~O il~O r---
NSC 010 1
Ogo DgO O:::D O:::D 0
r r 14
FIGURE 8(a). System Schematic for MM5885 LED Watch (Anti-Resonant Crystal!
Voo Vss
Vo0+-:L
1 1
Vss
..-I
h 1.5V
1.5V
-L
-L -- "'I""'''
CYCLE
F
OSC IN
MM5885
DIGIT
ENABLE
{' 2 I----
~ ~
f--
A B C 0 E F G H 1
f--
NSC 910 1
ilaO flaO 0 ilc=JO ilc=JO r-
I----
,
NSC 010 1
o:lo o:lo 0
0::0 O::D
1 2
r 14
FIGURE 8(b). System Schematic for MM5885 LED Watch (Tuning Fork Crystal!
7-19
o
0')
'co
LO
Watches
~
~
block diagram
FIGURE 1.
7-20
absolute maximum ratings
Voltage at OSC IN, OSC OUT, VDD + O.3V to VSS -O.3V Storage Temperature Rang~ -2S0C to +85°C
12 HR. SW Disable, Double, Triple VDD - VEE 6.5V
Set/Display, Cycle, Mode, Start/Stop VDD-VSS 3.0V
Voltage at Any Other Pin VDD + O.3V to VEE - O.3V Lead T~mperature (Soldering, 10 seconds) 300°C
Operating Temperature Range -5°C to +70°C
electrical characteristics
T A within operating range, VDD - VSS = 1.5V, VDD - VEE = 4.5V, VDD @ Ground unless otherwise noted.
I nput Capacitance
OSC OUT
f=l MHz,VIN=OV,
All Other Pads Gnd
8 pF
ill
OSC Cap 37 pF
All Others 5 pF
7·21
electrical characteristics (Continued)
Cap 1
Logical "1," Source VOUT = VDD - 0.25V, 7.5 pA
Phase 1
Logical "0," Sink VOUT = VSS + 0.25V, 20.0 pA
r
Phase 2
Leakage VOUT = VDD - 3.0V, 0.6 pA
Phase 3
Cap 2
Logical "0," Sink VOUT = VSS + 0.25V, 35.0 pA
Phase 1
Leakage VOUT = VEE + 1.5V, 0.6 pA
Phase 2
VEE
Logical "0," Sink Cap 2 = VDD - 4.2V, 250.0 pA
Phase 3
VOUT = VDD - 3.95V
Input Debounce Test Input Open
Cycle, Mode Osc. In Freq = 32.768 kHz 120 260 ms
Set ("0" to "1" Transition) 120 260 ms
Set ("1" to "0" Transition) 60 130 ms
Start/Stop 60 130 ms
functional description
A block diagram of the MM5890 chronograph chip is can be used to monitor' the oscillator frequency during
shown in' Figure 1 with the chip pad layout shown initial trimming without disturbing the network itself.
in Figure 2.
DISPLA Y CONTROL
Time Base: The precision time base of the chronograph
is provided by connecting a crystal controlled RC net- Watch Mode: When used as a watch, the MM5890 has
work to the on-chip CMOS inverter/amplifier as shown tw~ display modes. The first mode displays the HOUR
in Figure 3. For proper operation the network should be in digit positions 1 and 2, the MINUTE in digit positions
tuned to 32.768 kHz. Resistor R1 is used to bias the 3 and 4, the DATE in digit positions 5 and 6 and the
on-chip inverter for class A amplifier operation. Resistor DAY-OF-THE-WEEK (Figure 5). The second mode will
R2 is used to: a) reduce the voltage sensitivity of the' display SECONDS in digit positions 5 and 6 instead of
network; b) limit the power dissipation in the quartz the DATE. Depressing the Set/Display switch will change
crystal; and c) provide added phase shift for good the watch from one mode to the other:
start-up and low voltage operation. Capacitors C1 and
C2 in series provide the paralielload capacitance required Leading zero values of the DATE and HOU Rare
for precise tuning of the' quartz crystal. The network blanked. The circuit contains a 4 year calendar which
shown in Figure 4 provides greater than 100 ppm will automatically reset the Date Counter to 1 and
tuning range when used with standardX-Y flexure' advance the Month Counter at the end of each month
quartz crystals trimmed for CL = 13 pF. Tuning to (except for February in Leap Year). The character
better than 2 ppm is easily obtainable. The 32 Hz output display font is shown in Figure 6.
7-22
s:
functional description (Continued) s:U1
1l.5 34.5 16.6 101.3 124.l 140.l 156.l 112.l TEST CO
CD
5.5
o
5.5
CAPZ
11.1 lU
21.1 081 lO.5
40.8 DF2 41.5
51.8 OA2
_'90_
62.6 DB2 MILS GZD 51.5
1l.6 o SPLIT EzD 68.5
MM5890
14 .• OSUN DzD 19.5
LCD CHRONOGRAPH
15.1 OMON (ALL PADS ARE 5.0 X 5.0 MILS MINIMUMI c2D 90.5
101.1 OTUES COLON D 101.5
111.1 OWED MONTH D 112.5
121.6 DTHUR t
195MILS
G30 12l.5
1l2.6 OFRI ElD 134.5
180 .•
161.1
112.6
Dos
o SAT
OE5
~ AllDlO
c3D
F40
145.5
156.5
161.5
G4D 118.5
E40 189.5
SW STARTI BPIl2
12 HR VSS REJ CYC STOP MODE TEST H. IF IG IE lC 2G 2E 20 2C COLON MONTH 3G lE lAllO 3C 4F 4G 4E 40 4C ·48 4A lB 3F 6E 60 6C
MM5890
J4
VOD CSC OSC SET VEE lA110 18 2F 2A 26 SPLIT SUN MCN TUE WED THU FRI SAT 50 5E 5G NC SF SA 5B 5C 6G 6F 6A 68
CUT IN
fI
M
0
T
U
W
E
T
H
F
R
·s
A foPz/
;'--~
/1-
I~O~
CMOS 5·J6pF
INVERTER
LAP MON
0:00:0 0
0:00:0
6060 COLON
0
6060
HOURS MINUTES
STOPWATCH STOPWATCH
MINUTES
,
.. SECONDS
I
/
~---------------~
FIGURE 4. Crystal Oscillator Network FIGURE 5. Display Format
7·23
o
en functional description (Continued)
00
U')
MINUTE: Depressing the Cycle switch while the watch
~ is in the Set Hour mode will put the watch in the Set
~ Minute mode with the MI NUTE information displayed
in digit positions 3 and 4. Depressing the Set/Display
switch will advance the MI NUTE counter at a 1 Hz rate
and activate the Hold mode.
Setting Control: A normally open switch connected to Contact Bounce: Debounce circuitry is provided on the
the Cycle input is used in conjunction with the Set/ Set/Display, Cycle, Start/Stop, and Mode inputs to
Display input to set the MONTH, DATE, DAY-OF- remove any logic uncertainty upon either closure or
THE-WEEK, HOUR, MINUTE and synchronize the release of switches provided switch bounce settles
SECON D information. within 120 ms (Set/Display release bounce must settle
within 60 ms;)
HOUR: With the watch in the watch mode depressing
the Cycle switch will put the watch in the Set Hour 12/24 Hour Option: 12/24 hour operation is controlled
mode. The HOUR information will be in digit positions by the logical state of the 12 HR pad. Connecting the
1 and 2 with either an A or a P in digit position 4 12 HR pad to a logical "1" will cause the watch to
indicating AM or PM. Wh'ile in this mode, depressing the operate in the 12 hour mode while connecting the
Set/Display switch will cause the HOUR counter to 12 HR pad to a logical "0" will cause the watch to
advance at a 1 Hz rate until the switch is r"eleased. operate in the 24 hour mode.
7-24
functional description (Continued)
Segment Outputs: The Segment outputs are designed to BP/32 Hz: This input/output pad is under control of
drive field-effect liquid crystal displays. Each display the Test input. When Test is open or at a logical "0,"
segment has its own output which supplies the proper a 32 Hz signal is provided at BP/32 Hz which is used to
32 Hz drive signal. By definition, the segment is "OFF" drive the backplane of the LCD unit or to monitor the
when its drive signal is in phase with the Back Plane oscillator frequency. If Test is at a logical "'," the
drive signal (BP/32 Hz) and the segment is "ON" when BP/32 Hz pad is converted into an input and any fre-
0
the drive signal is 180 out of phase with the Back Plane quency connected to it iNill replace the normal internal
drive signal (refer to Figure 8). ,32 Hz signal. This feature allows high speed- testing of
all timekeeping and stopwatch counters.
SET
~
CYCLE
!.
J ¢=:J MOOE
SET
DISPLAY HOUR ADVANCE
WITH A OR P ~ HOUR
DISPLAY SPLIT TIME
+- CYCLE MINUTE: SECOND
1/100 SECOND
SET ADVANCE STOPWATCH
DISPLAY MINUTE ~ MINUTE COUNTING
SET HOLD MODE
+ CYCLE
SET
DISPLAY ADVANCE
DAY-OF-WEEK ~ DAY-OF-WEEK
+- CYCLE
SET
DISPLAY ADVANCE
DATE 1+-+ DATE
+- CYCLE
SET
DISPLAY ADVANCE
""--
MONTH ~ MONTH
VDD
BACKPLANE
SEGMENT
VEE
~1~·------------OFF----------~'-III-'~--------~ON----------~·~1
FIGURE 8. Phase Drive Signals
7-25
functional description (Continued)
Test: This input is used to control the BP/32 Hz pad as SW Disable: This input is used to control accessability
described above. When Test is at a logical "1" the to the stopwatch functions. If SW Disable is at a logical
phase·control is disconnected from the segment drive "0" the· Mode switch can be used to activate the stop-
outputs and the segment information is referenced to a watch functions. If SW Disable is at a logical "1" the
logical "0" backplane. Switching the Test input from a Mode switch is inoperative and the stopwatch functions
logical "0" to a logical "1" generates a reset pulse that are locked out.
will reset the counters to Sunday. 1 AM on January the
first. All stopwatch counters will be set to 00 and the
watch will be· placed in the normal time display mode.
5·36 pF
asc
-------tD-------- asc
IN OUT Voo
OSC
CAP 12HR ......- - - - .
START/STOP
SET/DISPLAY
CYCLE
MOOE
DISPLAY
I
51 DOUBLE ------,
SEGMENT
UNIT
OUTPUTS
TRIPLE I
MM5890
I
0.05J.LF I
I
-"-
~0.05J.LF
CAP 1
I
I
0.05J.LF
CAP2
___ ...J
VEE
0.05J.LF
VOO +
BP VSS
SW DISABLE
7-26
Watches
113.05- OSEGd
93.3- OSEG,
MM58104
DIMENSIONS TO
CENTER OF PADS
56.0- o LAMP
48.6- OTEST
41.0- 04Hz
33.5- OCOLON
25.55- OOIM
SEGMENTS
16.75- 04096
DIG 2
o
DIG 1
0 DO
VSS
OT
JCYCLE DIG J
0 .0
CAP
DIG 4'
6 OSC OSC
OUT IN
0 0
FIGURE 1. ----0-~~I~~------49~18~5,~1~6~5IJ~5--~~I~--~I~IJ~.75~1~1~30~I.7~5~1~
8.5 57.6 88.25 123.25 140.25
connection diagram (Top View) FIGURE 2.
TEST 4 Hz! COLON DIM 4096 NC 2 1 Vss 'OUTY 3 4 CAP OSC NC NC OSC NC NC NC
TEST Hz ~ CYCLE~ OUT IN
FREQ DIGITS DIGITS
FIGURE 3.
7-27
absolute maximum ratings ,
Voltage at Any Pin Vss - 0.3V to Voo + 0.3V
Operating Temperature Range -5°C to +70°C
Storage Temperature Range -25°C to +85°C
Voo-Vss 5V max
Lead Temperature (Soldering, 10 seconds) 300°C
electrical characteristics
T A within operating temperature range, Vss = GND,2,4 ~ Voo ~ 4.0V, unless otherwise noted.
7·28
s:
functional description (can't) s:U1
Time Base: The precIsion time base of the watch is
provided by the interconnection of a 32,768 Hz quartz
7-segment outputs of the MM58104 are designed to
interface directly with the NSC0101 LED display. The
-
(X)
o
~
crystal and the RC network shown in Figure 4 together. four digits of the LED display are multiplexed with a
with the CMOS inverter/amplifier provided between the 25% duty cycle, 1024 Hz signal during Display. The
oscillator in and oscillator out terminals. Resistor R 1 is digit drivers are turned off by the internally generated
necessary to bias the inverter for class A amplifier inter-digit blanking signal during the change of digits to
operation. Resistor R2 is required in order to (a) reduce allow the segments to change without "ghosting" of
the voltage sensitivity of the network; (b) limit the the Display. When MM58104is used as shown in the
power dissipation in the quartz crystal; and (c) provide typical application of Figure 6, the segment on currents
added phase shift for good start·up and low voltage are typically 9 mAo The NSC0101 LED Display gives
circuit performance. Capacitors C1, C2 and C3 provide excellent brightness under these drive conditions_
the parallel load capacitance required for precise tuning
of the quartz crystal. The RC network except the trim The switch inputs "Display 3" and "Display 4" of the
capacitor C3 is integrated on-chip. MM58104 are to be used for 3 and 4-function LED
watches, respectively. However, "Display 3" can be
The network shown provides> 100 ppm tuning range connected -to an inertial switch for HOURS-MINUTES
when used with standard X-Y flexure quartz crystals Display in a 4-function watch_ In subsequent paragraphs,
trimmed for C L = 12 pF. Tuning to better than ±2 ppm the term "Display" will take the place of "Display 3"
is easily obtainable. and/or "Display 4," unless otherwise specified.
The 4096 Hz output or 4 Hz output can be used to Time Display: The DATE .and HOUR-MINUTES/
monitor the oscillator frequency during initial tuning SECONDS displays are controlled by a normally open
without disturbing the network itself. switch connected to "Display" input as shown in Figure
6_ DATE or HOU R is displayed in digit positions 1 and
Display Multiplexing: Outputs from each counter are 2. MINUTE or SECOND is displayed in digit positions
time-division multiplexed to provide digit-sequential 3 and 4. Colon output will be "ON" except when the
access to the time data. Thus, instead of requiring 28 Display involves DATE. The two colon -dots are to be
leads to interconnect a four digit (7 segments/digit) connected in parallel with their anodes to V DO and
watch, only 11 output leads are required. The character cathodes to the "COLON" output.
display font and segment identification is shown in
Figure 5. Figure 6 shows the interconnection of a LED Closure of the "Display" switch will cause HOUR-
watch system. The 4-digit outputs, colon output and the MINUTES to be displayed for 1.25 ±0.125 seconds.
Rl
10M
I Vee
CMOS INVERTER R2
200k
-LeI
BpF l37 C2
P
F
CAP
-- -
Vee Dr Vss
7-29
~
o
00 functional description (con't)
Ln
~
~
Holding the "Display" switch closed after the time-out continuously. Closure of the "Set" switch will then
of HOUR-MINUTES display will cause SECONDS to advance DATE at a 2 H~ rate until the "Set" or both
be displayed until the "Display" switch is open_ SEC- switches are opened. Seconds, Minutes and Hours
ONDS will blink while displayed_ Each value is visible counters continue normal counting during this condition.
for, 0.25 second and blank for 0.75 second. HOURS
digits can display values 1-12with an AM indicator,
HOURS: Closure of the "Set" switch will cause HOURS-
which is the F segment of digit 1_ Leading zero values'
MINUTES to be displayed and will advance HOURS at a
of hours are blanked. MINUTES or SECONDS digits
2 Hz rate until the "Set" switch is opened. Seconds and
can display values from 00 to 59. All zero values of
Minutes c'ounters continue norm'al counting during this
minutes or seconds are displayed.
condition.
Closure of the "Display 4" switch twice before the
time-out of HOURS-MINUTES display will cause MINUTES: Closure of both "Display" and "Set"
DATE to be displayed for 1.25 ±0.125 seconds. Holding switches will cause HOURS-MINUTES to be displayed
the "Display" switch closed will continue DATE display and will advance MINUTES at a 2 Hz rate after both
until the switch is open. Date digits can display values switches have been closed for 0.75 to 1.0 seconds. When
from 1 to 31. Leading zero values of Date are blanked. the minutes count is correct, opening the "Set" switch
while keeping the "Display" switch closed will cause
Time Setting: A normally open switch connected to HOURS·MINUTES to be displayed and Hold the watch.
the "Set" input is used in conjunction with the "Dis- HOURS-MINUTES will blink while displayed, visible
play" switch to set date, ho~rs, minutes and synchronize for 0.25 second and blan k for 0.75 second. The seconds
seconds. counter is reset and held at 00 during Minutes s~ttlng
or during the Hold Mode. All counters resume their
DATE: Closure of the "Display 4" switch twice and normal counting when both "Set" and "Display"
holding it closed will cause DATE to be displayed switches are opened. With the "Display" switch closed,
SEGMENT IOENTIFICATION
7-30
functional description (con't)
a closure of the "Set" switch for less than 0.75 second Test Points: Four pads are provided for test purposes.
will reset the seconds counter to 00 without advancing
the minutes. 4096 Hz: is an output. A 4096 Hz symmetrical signal
is brought out for oscillator tuning.
There is no roll-over of the higher counters while the
lower time counters are being set. For example, while 4 Hz/TEST FREO: is an input/output under the control
setting Minutes a 59 to 00 transition will not advance of "TEST," When "TEST" is open or at a logical "1," a
the Hours counter. 4 Hz signal will appear on the "4 Hz/TEST FREO
pad." If "TEST" is at a logical "0," the "4 Hz/TEST
Contact Bounce: Debounce circuitry is provided on the F R EO pad" becomes an input and any frequency
"Display" and "Set" inputs to remove any logic uncer- connected to it will replace the normal internal 4 Hz
tainty upon either closure or release of switches provided signal. This feature is provided to allow high speed
switch bounce settles within 20 ms. .functional testing of the watch system.
Display Brightness Control: The display brightness is a TEST: is an input. It is used to control "4 Hz/TEST
function of digit on-time which is a fraction of the digit FREQ" as described above. An internal pull-up resistor
multiplexers. The digit on-time varies from 1/8 to 7/8 will normally hold the "TEST" input to a logical "1."
of the digit multiplexer in steps depending on the logical
levels of both "DIM" and "DTCYCL" inputs as shown LAMP: is an input. When "LAMP" is at logical "0," all
in Table I. The "DIM" input has an internal pull-up segments will be forced to an "ON" condition under
resistor which will hold the open input at a logical control of the normal 25% duty cycle' of the digit
"1." The logical levels at the "DIM" input can be drivers. An internal pull-up resistor will normally hold
established by a network as shown in Figure 6. the "LAMP" input to a logical "1."
voo
NSIL
(PHOTO·TRANSISTOR)
Beta 60- 90
DISPLAY 4
O~~ 1----41.1
MM58104
SET
OTCYCL t---~.---- voo DR Vss
SEGMENTS DIGITS
COLON 1-4
voo
• NSC010l
LED DISPLAY
•
The DOT in the first digit is tied to segment bus "F."
It is used as the AM indicator.
DIGIT ON-TIME
DTCYCL DIM
(Fraction of Digit Multiplexer)
1 1 7/8
1 0 2/8
0 1 4/8
0 0 1/8
7-31
Watches
block diagram
CAP1~
CAP2 o-::L. T
r------It-....o ~UTY CYCLE CONTROL
T~
Vss~
VDD~
LAMP 0>----------+1
FIGURE 1.
7-32
absolute maximum ratings
Voltage at Any Pin VSS - 0.3V to VOO + 0.3V
Operating Temperature Range -5°C to+70°C
Storage Temperature Range -25°C to +85°C
VOO - VSS 5V max
Lead Temperature (Soldering, 10 seconds) 300°C
electrical characteristics
T A within operating temperature range, VSS = Gnd, 2.4 ::; VOO ~ 4 V unless otherwise noted.
Input Curren.t @ A/D, Pl, P2, P4, P8 VDD = 3V, VIN = VDD
Logical "1" 350 nA
Logical "a"
Input Capacitance f = 1 MHz, VIN = OV, All Other
Pads Gnd
Osc. Out 8 pF
CAP 1 37 pF
CAP 2 15 pF
All Others 5 pF
7·33
electrical characteristics (Continued)
Supply Current (100) TA = 2SoC, VSS, Osc. In, Duty O.OS 1.S
Cycle Control at Gnd, VOO = 3V,
Unused Inputs Open, Outputs
Open
functional description
A block diagram of the MMS811S direct drive digital load capacitance required for precise tuning of the
watch is shown in Figure 1. The chip pad layout is quartz crystal. The network shown in Figure 4 provides
shown in Figure 2 and package connection diagram greater than 100 ppm tuning range when used with
in Figure 3. standard X-Y flexure quartz crystals trimmed for CL =
12 pF and a S-36 pF trim capacitor. If digital tuning
Time Base: The precIsion time base of the watch is is used, the tuning range is· ±114 ppm and no trim
provided by the 32,768 Hz crystal controlled oscillator, capacitor is required.
which consists of quartz crystal, a CMOS inverter/
amplifier and the RC network shown in Figure 4. Cap 1: This pin is used with Oscillator Out to add more
Resistor R 1 biases the inverter for class A amplifier capacitance to the oscillator RC network shown in
operation. Resistor R2 (a) reduces the voltage sensitivity Figure 4.
of the network; (b) limits the power dissipation in the
quartz crystal; and (c) provides added phase shift for Cap 2: This pin is used with Oscillator In to form the
good start-up and low voltage circuit performance. RC network shown in Figure 4 if the digital tuning is
Capacitors Cl and CEFF in series provide the parallel to be used.
16.0 63.2 97.2 130.0143.0
DIG I DlG2
40
SEGMENT B SEGMENTF
140.1
VDD SEGMENTH
128.2 VSS SEGMENTG SEGMENT A
DIG 3 SEGMENT 0 NC
119.7 ----178.0---- 117.0 NC LAMP
111.7 DIG 4
NC SET/DISPLAY
103.7 4096Hz NC CYCLE
VOD 101.2
MM58115
95.7 8SEC NOT TO SCALE SEGMENTC HRiMlN
OIMENSIONS TO CENTER OF PADS SEGMENT E NC
87.3 PI 85.8
(ALL PADS ARE 5.0 X 5.0 MIL MINIMUM)
SEGMENT I
79.3 P2
I
OIGITZ
67.3 P4 NC DUTY CYCLE CONTROL
61.1 DIGITI DIM
Vss
47.1
39.1
31.1
P8
AID
CAPI 4 Hz
"j' 38.1
DIGIT 3
DIGI14'
4096Hz CAPI
TOP VIEW
O-~I~-+-+-+-+~-------+~+---r--+--+---~ - 0
7-34
functional description (Continued)
Display Control: The TIME and DATE display sequence depressed for 5.25 seconds ±0.125 seconds, the watch
is controlled by normally open switches connected to will automatically return to the Run mode. Depressing
SET/DISPLAY, and HOUR/MINUTE (inertial switch) the CYCLE switch while in the Set Hours mode will
inputs. With the display "OFF," depressing the SET/ advance the watch to the Set Minutes mode.
DISPLAY switch will activate the HOUR-MINUTE
display. This display will remain "ON" for 1.25 seconds Set Minutes Mode: The Set Minutes mode will display
±0.125 seconds. If the switch is still held in at the end minutes in digit positions 3 and 4 preceded by the colon.
of this time out, SECONDS will be displayed blinking Depressing the SET/DISPLAY switch while still holding
"ON" for 0.25 seconds and "OFF" for 0.75 seconds in the CYCLE switch will enable the hold flag but will
until the SET/DISPLAY switch is released. If during the not allow advancement of the MIN UTE counter. Depres-
HOUR-MINUTE display, the SET/DISPLAY switch is sing the SET/DISPLAY switch after the CYCLE switch
released and depressed a second time, the date will be has been released resets and holds the SECOND counter,
displayed as DAY-DATE. The DAY-DATE display will enables the hold flag, and advances the MINUTE
remain "ON" for 1.25 seconds ±0.125 seconds and turn counter at a 2 Hz rate. If neither switch is depressed for
"OFF" automatically if the SET/DISPLAY switch has 5.25 seconds ±0.125 seconds while the watch is in the
been released. Holding the SET/DISPLAY switch past Set Minutes mode, the watch will automatically return
the display time out will cause the watch to display to the Run mode if minutes have not been set. Depressing
MONTH-DATE information until the SET/DISPLAY the CYCLE switch while in Set Minutes mode will
switch is released or until the SET/DISPLAY switch has advance the watch to the Set Day Mode.
been depressed longer than 2.0 seconds 1:0.125 seconds.
If held longer than 2 seconds, the MONTH-DATE dis- Set Day Mode: The Set Day mode will display DAY-
play will return to DAY-DATE display. MONTH-DATE OF-THE-WEEK in digit positions 1, and 2. Depressing
and DAY-DATE display will continue to alternate the SET/DISPLAY switch while in the Set Day mode
until the SET/DISPLAY switch is released. DAY- will advance the DAY counter at a 2 Hz rate. If neither
DATE will be displayed for 1.25 seconds and MONTH- switch has been depressed for 5.25 seconds ±0.125 sec-
DATE will be displayed for 0.75 seconds before the conds while in the Set Day mode, the watch will auto--
sequence starts to repeat. TIME may also be displayed matically return to the Run mode if the hold flag was
in the MM58115 by activating the HOUR/MINUTE not set or will jump to the Hold mode if the hold flag
input. The HOUR/MINUTE input is used with an was'set. Depressing the CYCLE switch while in the Set
inertial switch that is normally open. Closing the switch Day mode will advance the watch to the Set Date mode.
activates the HOUR/MINUTE display. This display will
remain "ON" for 1.25 seconds ±0.125 seconds and then Set Date Mode: The Set Date mode will display DATE
turn "OFF" automatically. in digit positions 3 and 4. Depressing the SET/DISPLAY
switch while in the Set Date mode will advance the
Time Setting: The setting sequence is controlled by a DATE counter at a 2 Hz rate. If neither the SET/
normally open switch connected to the Cycle Input. DISPLAY nor the CYCLE switches have been depressed
Depressing the CYCLE switch will advance the watch to for 5.25 seconds ±0.125 seconds while in the Set Date
the next set mode. Figure 5 is a flow diagram showing mode, the watch will automatically return to the Run
the display and set functions for the MM58115. Mode if the hold flag was not set. Depressing the CYCLE
switch while in the Set Date mode will advance the
Set Hour Mode: With the watch in the normal Run watch to the Set Month mode.
mode and the display "OFF," depressing the CYCLE
switch will put the watch into the Set Hour Mode. Set Month Mode: The Set Month mode will display
In this mode, HOURS wil'l be displayed in digit positions MONTH in digit positions 3 and 4 and an M in digit
1 and 2 followed by the colon. An A or a P will be position 1. Depressing the SET/DISPLAY switch while
displayed in digit position 4 to indicate AM or PM, in the Set Month mode will advance the MONTH counter
respectively. Depressing the SET/DISPLAY switch will at'a 2 Hz rate. If neither the SET/DISPLAY nor the
advance the HOURS counter at a 2 Hz rate. If neither cycle switches have been depressed for 5.25 seconds
the SET/DISPLAY switch nor the CYCLE switch are ±0.125 seconds while in the Set Month mode, the watch
BPF
FIGURE 4(a)_ Oscillator RC Network FIGURE 4(b). Oscillator RC Network If Digital Tuning is Used.
7-35
functional description (Continued)
will automatically return to the Run mode if the hold Contact Bounce: Debounce circuitry is provided on the
flag' was not set, or will advance to the Hold mode if SET/DISPLAY, CYCLE, and HOUR/MINUTE inputs to
the hold flag was set. Depressing the Cycle switch while remove any logic uncertainty upon either closure or
in the Set Month mode will advance the watch to the release of the switches. 100 ms debounce protection is
Hold mode if the hold flag was set; otherwise, the watch provided for SET/DISPLAY and CYCLE inputs and
will advance to the Run mode. 200 ms protection is provided for the HOUR/MINUTE
input.
Hold Mode: In the Hold mode the SECOND counter is
held at 00, and the HOUR-MINUTE display will blink Display MUltiplexing: The counter data selected to be
"ON" for 0.25 seconds and "OFF" for 0.75 seconds. displayed is time-division multiplexed to provide digit-
Depressing the SET/DISPLAY switch will place the sequential presentation to the LED display. This reduces
watch in the display HOUR/MINUTE mode for 1.25 the number of outputs required to drive the 4-digit
seconds ±0.125 seconds. Depressi ng the Cycle switch display to thirteen (9-segment drivers and 4-digit drivers) .
. while in the Hoid mode will advance the watch to the The display font is shown in Figure .6. Figure 8 is a
Set Hour mode. There is no roll-over of the next higher schematic diagram of a typical LED watch using the
counter while a counter is being set at a 2 Hz rate. MM58115 watch, chip. The segment and digit drivers
are designed to interface directly with the LED display.
Month Counter: The MONTH counter provides "smart The four digits of the LED display are multiplexed with
Date." The DATE counter will count 28 days in Feb- a 23% duty cycle, 1024 Hz signal during the display
ruary, 30 in April, June, September and November, period. The digit drivers are disabled for 3211S at the
and 31 in the remaining months. beginning of each digit enable time to allow the segment
r+L-~~~~~L-~~
I
I L~D -+
COLON
~--~--~ ~------~
HOURS MINUTES (SECONDS)
OAY OATE (MONTH)
R ""'""
SET MINUTES
SET DAY
- -
SID = SET IOISPLA Y
HIM = HOURIMINUTE
-
C = CYCLE
=TIME·OUT ROUTE
2B SET DATE
DD
HOLD
FIGURE 5lal. MM58115 Flow Diagram FIGURE 51b). Set Display Font
7-36
s:
functional description (Continued) s:CJ'1
decoding circuitry adequate time to switch to the next
digit's information. This eliminates the possibility of
"ghosting" information between digits.
Duty Cycle Control: The Duty Cycle Control Input is
used with the Dim Input to determine the intensity of
display. The dutY cycle range is shown in Figure 7. -
CO
CJ'1
u2Eiil15b /JOdJOdJOu
o O~O V 0=0
Dc=J 0 0 ODOOU c..-=
D o 0 o 0Dc=J
::OOc=JO o 0[60
SUNDAY MONDAY
D 0c=J0
TUESDAY
D40fb WEDNESDAY ,
7-37
functional description (Continued)
Test Points: Five pads are provided for test purposes. TABLE I. Digital Tuning Table
Vss
Voo~ I I
VSS
h lSV
lSV
- "''"' ' '
....1-
....1-
- CYCLE
{'
SOOk <20% OUTY CYCLE CONTROL
VOO OIM OIGIT 2 r---
~~r
MM5B11S
ENABLE ~ r---
O~C IN
t--
NS IL
'-""~ iJ
-r-
/(/ ~ VOO OR SEGMENT ENABLE
~ OSC OUT
BETA VSS \
CAP
240-360 VSS
A B C 0 E F G H I
J
I--
D~D D~D
NSC 9101
0
0::0 0::0
r r
1
14
7·38
functional description (Continued)
VOO Vss
V00+-:L d h
VSS
h 15V
15V
- """~'"
--1-
--1-
- CYCLE
P4 AID
{'
DUTY CYCLE CONTROL
DIGIT 2-
CAP 2 MM5B115
j=
ENABLE J-
OSC IN
4 -
l=-
L __
OSC OUT
CAP I
I
SEGMENT ENABLE
\
A B C 0 E F G H I
r--
-
flaO flaO 0 fl~O fl~O
NSC 9101
ogo ogo 0
0::0 0::0
I
I' r \4
FIGURE 8Ib). System Schematic for MM58115 Digitally Tuned LED Watch
7·39
Watches
en
.- MM58117, MM58118, MM58119, MM58120 LCD watch circuits
.-
ex) general description
Ln
The fI.(IM58117, MM58118, MM58119, and MM58120 pulse to regulate the voltage generated. The Regulate
~ are low threshold voltage, ion implanted, metal-gate pad is not present on the MM58117, MM58119 versions.
~ CMOS integrated circuits that provide or control all A Test input can be used to convert the 32 Hz output
signals needed for a 3-1/2 digit LCD watch. The circuit into an input for testing the divider circuitry at a higher
time base is a 32,768 Hz crystal controlled oscillator. frequency. All four parts are available as unpackaged
This time base frequency is counted down to provide die suitable for hybrid assembly or in 40-lead dual-in-line
proper signals to display Hours-Minutes information packages for evaluation purposes.
continuously with Month-Date or Seconds information
available upon demand. Time is displayed in 12 hour features
format. 23 phase controlled outputs are available for • Direct 'Continuous LCD drive capability
direct drive of a 3-1/2 digit liquid output display (LCD). • 32,768 Hz crystal controlled operation
The 32 Hz output serves as the backplane drive for the
• Single 1.5V battery operation
LCD. All four parts operate on a single 1.3-1.7V supply.
An on-chip voltage multiplier using external capacitors • Low power dissipation
is used to provide the drive voltage for the display. • 3-1/2 digit, 12 hour display
The MM58117 and MM58118 have on-chip voltage • 4 year calendar
doublers which provide 2.5V minimum at 1,uA load • Seconds, Month, and Date display upon demand
current. The MM58119 and MM58120 have on-chip • Colon display
voltage triplers which provide 3.8V minimum at 1,uA
• Simple 2 button sequential setting
load current. Alternatively; the MM58117 and MM58119
provide a 256 Hz output pulse and the MM58118 and • Auto reset feature (MM58118 and MM58120)
MM58120 provide a 1024 Hz output pulse that can be • On-chip' capacitive voltage mUltiplier
used to drive an inductive up-converter off chip. The • Regulated bipolar drive also available (MM58118,
Regulate input can be used to suppress this output MM58120)
VOLTAGE
MULTIPLIER
---OVOO
STOPo--4>--_--r...L---'--~f_--------+-----+_-----1
---OVSS
SET/DISPo-----.i
1-+-------'----t-------t-----t------oCOlON
CYClEo----+L..,....._ _ _ ..J
nSEGMENT
OUTPUTS
FIGURE 1 .
7-40
absolute maximum ratings
Voltage at OSC IN, OSC OUT, 256/1024 Hz VOO+0.3y to VSS-D.3V
Regulator., Set/Oisplay, Cycle, Stop, Phase 3
Voltage at Any Other Pin VOO+0.3V to VEE-D·3V
Operating Temperature Range -5°C to +70°C
Storage Temperature Range -25°C to +85°C
VOO - VEE 8.0V
VOO - VSS 3.0V
Lead Temperature (Soldering, 10 seconds) 300°C
electrical characteristics
T A within operating range, VOO - VSS = 1.5V, VOO - VEE = 4.5V unless otherwise noted.
7-41
o
N
- electrical characteristics (Continued) TA within operating range, VOO - VSS = 1.5V, VOO - VEE = 4.5V unless otherwise noted.
ex)
In
~
~
PARAMETER
3.0
MAX
5.0
UNITS
. J.lA
Tripier Operation 6.0 8.0 J.lA
Voltage Regulator Input Current VIN = VDD - 0.75} MM58118, MM58120 0.2 1.0 J.lA
TA = 25°C Only
Voltage Regulator Switching VDD-O.4 VOD-l.l V
r
Threshold
4C 40 4E 3C 3D 3E COLON 2C 20 2E 18/1C
DO DO DO DO DO 0
177,!-_r~--+-+---~~----+-I---!~--_r~, 177
0 176
170.9 142.5 114.0 72.9 41.8 17.9 17.9 41.8 114.0 142.5 170.9
NC
2b
• 40
39
3g
31
31
3.
•
38
2. 3b
21 49
29 41
NC 4.
256Hz 4. 4b
VEE 4b SET/DISPLAY
SET/DISPLAY
7-42
functional description (Continued)
CMOS INVERTER
R2
AI
20M lOOk
T.
--CI
P
45 F
FIGURE 6. Character Display Font
' - - - - - - - - -..... voo OR Vss
SETTING CONTROL
FIGURE 4. Crystal Oscillator Network
A normally open switch connected to the Cycle input is
The 256/1024 Hz output or the 32 Hz output can be used in conjunction with the Set/Display switch to set
used to monitor the oscillator frequency during initial Month, Date, Hour, Minute, and synchronize Second
tuning without disturbing the network itself. information.
The Hour:Minute, Month Date, and Second displays are Hour: With the watch in the display mode, depressing
controlled by a normally open switch connected to the the Cycle switch will put the watch in the Set Hour
Set/Display input. Month and Hour are displayed in digit mode. In this mode the Hour will be displayed in digit
positions 1 and 2. Date, Minute, and Second are dis- positions 1 and 2 followed by the colon and either an A
played in digit positions 3 and 4. or a P (for AM or PM) displayed in digit position 4.
While in this mode depressing the Set/Display switch will
The circuit will normally display Hour and Minute with advance the Hour Counter at a 1 Hz rate until the Set/
the colon flashing at a 1 Hz rate (Figure 5). Depressing Display switch is released.
the Set/Display switch will cause Month and Date to be
displayed with no colon. The display will automatically Minute: Depressing the Cycle switch while the watch is
return to Hour and Minute display 2.25 ±0.25 seconds in the Set Hour mode will advance it to the Set Minute
after the Set/Display switch has been released. Depress- mode. In this mode the Minute will be displayep in digit
ing the Set/Display switch a second time while the positions 3 and 4 preceeded by the colon. Depressing the
Month and Date are being displayed will cause the Set/Display switch while still holding the Cycle s~itch in
Second to be displayed until the Set/Display switch is will cause the Hold mode to be activated but will not
again depressed, returning the display to Hour and advance the Minute counter. Depressing the Set/Display
Minute. switch after the Cycle switch has been released will cause
the Hold mode to be activated and will advance the
The MM58117 and MM58119 have an additional display Minute counter at a 1 Hz rate as long as the switch is
mode that can be used by depressing the Cycle switch held in.
while the watch is in the first display mode described
above. The second display mode will alternately display Month: Depressing the Cycle switch while the watch is
Hour:Minute and Month Date for a period of 2 seconds in the Set Minute mode will advance it to the Set Month
each. Depressing the Set/Display switch will cause the mode. In this mode the Month will be displayed in digit
Second to be displayed. Depressing the Set/Display positions 1 and 2 with no colon. Depressing the Set/
switch again will return the watch to the second display Display switch will cause the 'Month counter to be
mode. advanced at a 1 Hz rate as long as the switch is held in.
7-43
functional description (Continued)
Date: Depressing the Cycle switch while the watch is in MM58117, MM58119
the Set Month mode will advance it to the Set Date
mode. In this mode the Date will be displayed in digit The MM58117 and MM58119 setting procedure is
positions 3 and 4 with no colon. Depressing the Set/ similar to that of the MM58118, except that the setting
Display switch will cause the Date counter to be advanced sequence is as follows:
at a 1 Hz rate as long as the switch is held in.
1. Set Month
Hold: If the Hold mode was activated while in the Set
Minute mode, depressing the Cycle switch while in the
Set Day mode will advance the watch to the Hold mode. 2. Set Date
In this mode Hour:Minute will be displayed flashing at a
1 Hz rate. The Second counter will be held at 00. 3. Set Hour
Depressing the Set/Display switch will advance the
watch to the normal run mode with Month:Date dis· 4. Set Minute/Hold
played and release the Second counter to begin normal
operation. Depressing the Cycle switch will place the There is no 5.25 second time-out while in the setting
watch in the Set Hour mode with the Hold mode still mode and the watch will stay in each set mode until it is
activated. If the Hold mode was not activated while in advanced to the next mode. The Cycle switch is used to
the Set Minute mode, depressing the Cycle switch while advance from the Set Minute state to the first display
in the Set Date mode will advance the watch to the Run state. The colon will blink on and off while time is
mode with Hour:Minute displayed. being displayed unless the Hold mode is activated,
forcing the colon to remain on continuously. During the
While in any of the above set modes if no switches are second display mode, the colon will remain on during
activated for 5.25 ± 0.25 continuous seconds the watch time display. Depressing the Set/Display switch while in
will automatically jump to the Hold mode if it was acti- either one of the two display states will cause the Hold
vated in the Set Minutes mode or to the Run, mode if the mode to be cleared, allowing the watch to begin normal
Hold mode was not activated. There is no roll over of
operation.
the next higher counter while a counter is being set. For
example, while in the Set Minute mode, advancing the
Minute counter from 59 to 00 will not advance the Hour Control state diagrams for the MM58117, MM58118,
counter. MM58119 and the MM58120 are provided in Figure 7.
OISP
MONTH
DATE
f--.
_ L-_ _ _.....
SET
HOUR
SET
DAY
~Usercontrolledroutes
FIGURE 7(a). MM58118, MM58120 Control State Diagram FIGURE 7(b). MM58117, MM58119 Control State Diagram
7-44
functional description (Continued)
Stop I nput: This input pad has an internal resistor to coil or transformer, generates the higher voltage needed
V EE holding it normally at a logical "0." A logical "1" for the display. A typical circuit is shown in Figure 9.
at stop will force all of the display segments "OF F" The output waveform is shown in Figure 10. The
and stop the oscillator, placing the watch in a static MM58118, MM58120 provides a 1024 Hz output pulse
mode to decrease power dissipation during extended while the MM58117, MM58119 provides the 256 Hz
periods of storage. output pulse.
U)
segment has its own output which furnishes the proper
BP/32 Hz: This input/output pad is under the control of
32 Hz drive signal. By definition, the segment is "OFF"
when its drive signal is in phase with the display back-
Test. When Test is open or at a logical "0," a 32 Hz ~
'signal is provided on BP/32 Hz which can be used to
plane signal (BP/32 Hz). The segment is "ON" when its ~
0 drive the backplane of the LCD unit or to monitor the U1
drive signal is 180 out of phase with the display'back-
plane signal. Typical output waveforms are shown in
oscillator frequency without affecting the oscillator cir-
cuitry. If Test is at a logical "1," the BP/32 Hz pad is
....
(X)
N
Figure 8.
converted into an input and any frequency connected to o
it will replace the normal internal 32 Hz signal. This
Colon Output: The Colon output provides a 32 Hz feature is provided to allow high speed advancement of
phase controlled signal identical to the segment outputs. the internal counters for testing purposes.
The colon will blink at a 1 Hz rate during time display
mode (except for display mode one with the Hold Test: This input pad is used to control the BP/32 Hz pad
mode activated, and display mode two in the MM58117, as described above. When the Test pad is at a logical "1,"
MM58119) and remain on continuous while displaying the phase-control is disconnected from the segment drive
time (Hours or Minutes) during the setting operation. outputs and the segment information will be referenced
to a logical "0" backplane. Switching the Test pad from
VOLTAGE MULTIPLIER OUTPUTS: a logical "0" to a logical "1" generates a reset pulse that
will reset the watch counters to 1 AM on January the
256/1024 Hz: The 256/1024 Hz pad is provided to first. This places the w~tch into a known state for testing
drive a bipolar transistor which, in conjunction with a purpose.
VOO
COMMON
VOO
SEGMENT
1--- ---11--
OFF ----ON----
.. I
7-45
functional description (Continued)
20M
5-36 pF 250k
en
.....
.....
CX) OSC IN
It) . - - - - - - - - t PHASE 3
:E CAP 2
:E
' - - - -....--tCAP 1
CX)
.....
..... VEE
CX) BACK PLANE
It) SEGMENTS
:E
:E
a
~ ~c=J~ 0 ~c=J~
~~~ 3·1/2
1 2
~
HOURS COLON MINUTES
*(For doubler, connect (SECONDS)
single O.05J.1F capacitance
between Phase 3 and Cap 2) "ON" CHIP TRIPLER
20M
5-36 pF 250k
VDD
VSS
DSC IN
REGULATE
VEE
MM58118,
MM58120
ONLY
SET/DISP
CYCLE
=!=d
256/1024 Hz VDD
BACK PLANE VSS
SEGMENTS'
----
VDD a
1 2
~
HOURS COLON MINUTES
(SECONDS)
FIGURE 9. Typical Application of MM58117, MM58118, MM58119 and MM58120 in LCD Watch System
Vee
V~
----=u
-
151's
--±2I's
.
1024 Hz (MM58118, MM58120)
u
256 Hz (MM58117. MM58119)
7-46
Watches
block diagram
TEST 32 Hz/BACKPLANE I/O VEE TRIPLE CAP2
VOLTAGE
MULTIPLIER
FOUT 0-----..,
- - -....OVoo
STOPo-~~-~I---'----"l----------+------+---J
- - -....oVSS
OSC IN
SET/OISPo-----+i
1-4---------i------.j-----+------<) COLON
CYCLEo-----+Jl..,._ _ _ _ J
2HEGMENT
OUTPUTS
FIGURE 1
·7-47
o
-
M
00
Lt)
~
absolute maximum ratings
Voltage at Osc. In, Osc. Out, FOUT
Regulator, Set/Display, Cycle, Stop, Double, Triple
VOO+0.3V to VSS-o.3V
electrical characteristics
T A within operating range, Voo - VSS = 1.5V, Voo - VEE = 4.5V unless otherwise noted.
7-48 ."
electrical characteristics (Continued)
T A within operating range, VOO - VSS = 1.5V, VOO - VEE = 4.5V unless otherwise noted.
functional description
A block diagram of the Watch Chip is shown in Figure 1. The MM58127 and MM58128 contain an on-chip
A chip pad layout is shown in Figure 2 and a package voltage doubler for display drive and the MM58129 and
s:
connection diagram in Figure 3.
20.8 31.8 42.8 53.8 84.4 95.4 106.4117.4128.4 139.4150.4
MM58130 contain an on-chip voltag~ tripler.
150.4139.4128.4111.4106.495.4 84.4 53.8 42.8 31.8 20.8 6.50
s:
C1I
I
CO
151.0 151.0 151.0 151.0 ...10
eN
131.8 141.0 141.0 131.8 o
158MILS - - - - 1 5 8 MILS - - - - -
129.4 129.4
115.4 115.4
113.4 113.4
104.4 104.4
96.4 96.4
89.5
14.0
65.9
58.9
50.9
41.9
33.9
26.9
6.5
40
NC
2b
• 40
39
3g
31
31
3.
• 39
39
2b
38 38
2. 3. 3b 2.
313b 31
21 4g 21
36 36
2g 4g 41 2g
35
FOUT 41 4. 35 fOUT
34 34
OSC CAP 4. 4b OSC CAP
33 33
VEE 4b SET /OISPLA Y 32 VEE
J2 9
OSC OUT SET/OISPLAY VSS OSC OUT
31 VOO 10
OSC IN OSC IN
30 VSS 11
OOUBLE VOO OOUBLE
29 VSS 12
TRIPLE STOP STOP TRIPLE
28 13
CAP2 TEST TEST CAP2
21 14
CAP 1 CYCLE CYCLE CAP 1
15 26 15
32Iiz/8ACKPLANE 4e 4e 32 Hz/8ACK PLANE
16 25 16
lb/le 4d 4d lb/le
II 24 4• 11
2. 4. 2.
18 23 18
2d 3e 3e 2d
19 22 19
2e 3d 3d 2e
20 21 • 20
COLON 3 3. COLON
7-49
o
(II)
.- functional description (Continued)
,
00
Ln Time Base: The precision time base of the watch is pro-
:?i vided by connecting a crystal controlled RC network to
:?i the on-chip CMOS inverter/amplifier as shown in Figure
~ \ 3 4,
4. For proper operation, the network should be tuned to HOURS COLON MINUTES (SECONOS)
32,768 Hz. Resistor R 1 is used to bias the on-chip in- MONTH DATE
FIGURE 4. Crystal Oscillator Network Month: Depressing the Cycle switch while the watch is
in the Alternating Display mode will advance it to the
The 256/1024 Hz output or the 32 Hz output can be Set Month mode. In this mode the Month will be dis-
used to monitor the oscillator frequency during initial played in digit positions 1 and 2 with no colon. Depres-
~uning without disturbing the network itself. sing the Set/Display switch will cause the Month counter
to be advanced at a 1 Hz rate as long as the switch is
DISPLAY CONTROL held in.
The Hour:Minute, Month Date, and Second displays are Date: Depressing the Cycle switch while the watch is in
controlled by a normally open switch connected to the the Set Month mode will advance it to the Set Date
Set/Display input. Month and Hour are displayed in digit mode. In this mode the Date will be displayed in digit
positions 1 and 2. Date, Minute, and Second are dis- positions,3 and 4 with no colon. Depressing the Set/
played in digit positions 3 and 4. Display switch will cause the Date counter to be advanced
at a 1 Hz rate as long as the switch is held in.
The circuit will normally display Hour and Minute with
the colon flashing at a 1 Hz rate (Figure 5). Depressing Hour: With the watch in the Set Date mode, depressing
the Set/Display switch will cause Month and Date to be the Cycle switch will put the watch in the Set Hour
displayed with no colon. The display will automatically mode. In this mode the Hour will be displayed in digit
·return to Hour and Minute display 2.25 ±0.25 seconds positions 1 and 2 followed by the colon and either an A
after the Set/Display switch has been released. Depress- or a P' (for AM or PM) displayed in digit position 4.
ing the Set/Display switch a second time while the While in this mode, depressing the Set/Display switch will
Month and Date are being displayed will cause the advance the· Hour Counter at a 1 Hz rate until the Set/
Second to be displayed until the Set/Display switch is Display switch is released.
again depressed, returning the display. to Hour and
Minute. An option is available to display Minutes unit Minute: Depressing the cycle switch while the watch is
and Seconds in this mode. in the Set Hour mode will advance it to the Set Minute
mode. In this mode the Minute will be displayed in digit
All versions have an additional display mode that can be positions 3 and 4 preceeded by the colon. Depressing the
used by depressing the Cycle switch while the watch is Set/Display switch while still holding the Cycle SWitch in
in the first display mode described above. The second will cause the Hold mode to be activated but will not
display mode will alternately display Hour:Minute and advance the Minute counter. Depressing the Set/Display
Month Date for a period of 2 seconds each. Depressing switch after the Cycle switch has been released will cause
the Set/Display switch will cause the Second to be the Hold mode to be activated and will advance the
displayed. Depressing the Set/Display switch again will Minute counter at a 1 Hz rate as long as the switch is
return the watch to the second display mode. held in.
7-50
functional description (Continued)
Hold: The Cycle switch is used to advance from the Set Colon Output: The Colon output provides a 32 Hz
Minute state to the first display state. The colon will phase controlled signal identical to the' segment outputs.
blink on and off while time is being displayed unless the The colon will blink at a 1 Hz rate during time display
Hold mode is activated, forcing the colon to remain on mode (except for display mode one with the Hold
continuously. During the second display mode, the mode activated, and display mode two in the MM58117,
colon will remain on during time display. Depressing the MM58119) and remain on continuous while displaying
Set/Display switch while in either one of the two display time (Hours or Minutes) during the setting operation.
states will cause the Hold mode to be cleared, allowing
the watch to begin normal operation. TEST PADS
Control state diagrams for the watch are provided in Three pads are provided for test purposes.
Figure 7.
FOUT: The 256/1024 Hz pad is provided for oscillator
tuning.
Options are available for 1 or2 Hz setting rate. In addi·
tion, a further option allows a fast set at 4 times the BP/32 Hz: This input/output pad is under the control of
normal rate by pushing both Set/Display and then the Test. When Test is open or at a logical "0," a 32 Hz
cycle switch. signal is provided on BP/32 Hz which can be used to
dri,!e the backplane of the LCD unit or to monitor the
Stop Input: This input pad has an internal resistor to oscillator frequency without affecting the oscillator cir-
VEE holding it normally at a logical "0." A logical "1" cuitry. If Test is at a logical "1," the BP/32 Hz pad is
at stop will force all of the display segments "OF F" converted into an input and any frequency connected to
and stop the oscillator, placing the watch in a static it will replace the normal internal 32 Hz signal. This
mode to decrease power dissipation during extended feature is provided to allow high speed advancement of
periods of storage. the internal counters for testing purposes.
VOO
COMMON
, '7 -51
o
M
a; functional description (Continued)
it)
~
~ TABLE I. Standard Available Optio.ns
20M
250k
VDD
CAP 1
SET/DISP
CYCLE =td
VDD
VSS
JI/2·DIGIT
LCD
VOO~
___
VSS
__ 15p5
. ±2p5
1024 Hz (MM58128. MM58130)
256 Hz (MM58127. MM58129)
u
FIGURE 10. 1024 Hz Output
7-52
Calculators
general description
The single-chip MM5734 calculator was developed using The MM5734 is capable of decoding a keyboard matrix
a metal-gate P-channel enhancement and depletion mode as shown in Figure 1. Three possible models are shown
MOS/LSI technology with a primary object of low end- in Figure 2. Figure 2(c) illustrates a keyboard scheme
product cost. A complete calcu.lator as shown in Figure 1 . which includes all 8 functions with only 23 keys by
requires only the MM5734 calculator chip, an X-V matrix using a function key (F).
keyboard, an NSA 1198 or NSA 1298 LED display and a
9V battery. features
Keyboard decoding and key debounce circuitry, all • 8-digit, (7-negativel, capacity
clocks and timing generators, power-on clear, and 7- • 8 functions (+, -, X, 7, X2, y'x, l/X, %)
segment output display decoding are included on-chip, • Convenient algebraic notation
and require no external components. Segments and digits
• Fully protected accumulating memory (M+, M-)
can usually be driven directly from the MM5734, as the
segments typically source 8 mA of peak current and the • Automatic constant independent of memory
digit drivers sink 20 mA min. • Floating input/floating output
• Power-on clear*
Leading zero suppression and a floating negative sign • On-chip oscillator*
allow convenient reading of the display and conserve
• Direct 9V battery compatibility
power. The MM5734 is capable of sensing a low battery
voltage and indicates this by displaying a decimal point • Low system cost
in digit eight. Up to 8-digits for positive' numbers and 7 • Direct digit drive of LED display
for negative numbers Can be displayed, with the negative • Low cost X-V keyboard matrix
sign displayed in the 8th position. Typical current drain I
of a complete calculator displaying five "5's" is 25 mAo * Requires no external components
04 28 05 F* cs* %* 09
F* X2* EX* 08
03 27 07
K3 - - . 7 22
OSC Programmable as - 03
External Oscillator
K4 - - . 8 21 Sa. 01-09 Digit Outputs + 02
Sf 13 16 Se
vSS 14 15.-IN2
TOP .VIEW
8-2
absolute maximum ratings operating voltage range
Volume at Anv Pin Relative to VSS VSS +0.3V to VSS -12V 6.5V s Vss - VDD S 9.5V
(All Other Pins Connected to VSS)
Ambient Operating Time O°c to +70°C
Ambient Storage Time -65°C to +150°C
Lead Temperature (Soldering, 10 seconds) 300°C
dc electrical characteristics
PARAMETER CONDITIONS MIN TYP MAX UNITS
Segment Output Current VOUT = Vss -1.0V, Voo = Vss -6.5V -2.5 mA
VOUT = Vss -5.0V, VDO = Vss -S.OV -S mA
VOUT = Vss -6.5V, Voo = Vss -9.5V -12 mA
ac electrical characteristics
PARAMETER CONDITIONS MIN TYP MAX UNITS
REr y
OP Sg Sf Se Sd Sc Sb Sa I Sa Sb Sc Sd Se Sf Sg OP
K4 VOO
~
K3
K2
MM5734
~
n-,--
VSS r NSA1198
09 08 07 06 05 04 03 02 01
01 02 03 04 05 06 07 08 09
1 "ON OFF"
~ ~....
OPTIONAL
KEYS lf ~ r--o;, ---
~....... 'oi:.......
~ ~ ~....... '0.:--....
~ ~ ~ ~
~ ~ '02-...... M .......
c
....... "
0
, =
....
FIGURE 1A. Complete Calculator Schematic
K4 K3 K2 Kl K4 K3 K2 Kl
8-4 -
OPERATION IN THE ADD AND SUBTRACT MODE Operation in the Multiply Mode
8·5
Error Conditions Function of Keys
If any of the operations mentioned above generates a Some of the keys operate differently when in the data or
number larger than 99999999, an error wi II occur. An number entry condition. The MM5734 switches to entry
errpr is indicated by displaying the 8 most significant condition when entering numbers and leaves this condi·
digits and sign with all 9 decimal points. The first de- tion after most function keys. The following paragraphs
pression of the "C" key will clear the error condition, which discussed the action of "+," "-," "X," ":;." and
and all fegisters except the memory register. n%" keys and the examples given in later sections will
act in further explaining these actions.
The MM5734 is designed to interface with most low cost If in the number entry condition, the entry register is
keyboards, which are often the least desirable from a shifted left one position and the key depressed is entered
false or mUltiple entry standpoint. A simple X-V key- into the LSD. Digits entered after 8 digits positive, or 7
board matrix can be used with all the necessary decoding digits negative, will be ignored. Digits entered after 7
accomplished within this MM5734. decimal digits are displayed will also be ignored.
A key closure is sensed by the calculator chip when one Square Root Key "vx"
of the key inputs, K 1, K2, K3, K4, is forced more
negative than the logical low level specified in ·the The square root key extracts the square root of the
electrical specifications. An internal. counter is started absolute value of the number being displayed in the
as a result of the closure. The key operation begins after entry register.
11 word times if the key input is still at alogicallow.
level. As long as the key is held down (and the key input The mode of the calculator remains unchanged. This
remains low) no further entry is allowed. When the key enables square root operations in the middle of chain
input changes to a logical high level, the internal counter calculations. For example:
starts an 11 word timeout for key release. During both,
entry and release timeouts, the key inputs are sampled
during every display period for valid levels. If they are KEY DISPLAY KEY DISPLAY KEY DISPLAY
found invalid, the counter is reset and the calculator
resumes scanning the keyboard. A A A A 11 11
-vi VA X A + 11
The "Ready" signal indicates calculator status. When the + ..;A B B 5 , 5
calculator is in an "idle" state, the output is at a logical
high level (near VSS). When a key is closed, the internal
'B B ...r VB 16
key entry timer is started. "Re~dy" remains high until the -vi VB AVB -vi 4
timeout is completed and the key entry is accepted as ..;A+VB 6 6
valid, then goes low. It remains at a logical low level 11
until the function initiated by the key is completed and
the key is released. The low-to-high transition indicates
9 9
the calculator has returned to an idle state and a new key -vi 3
can be entered. 8
8·6
Square
Depression of the "X 2 " key squares the number in the mode of the calculator remains unchanged. This enables
display register, and displays the results. The mode of inverse operations in the middle of chain calculations.
the calculator remains unchanged. This enables square
operations in the middle of chain calculations. F Key (Function Key)
72 7 2. 5 5.
X2 5184. Squares display l/X 0.2 Takes inverse of display
7 7. 4 4.
CS -7. l/X 0.25 Takes inverse
X2 49. Squares minus numbers +
+ 49. Chain capabilities 8 8
8 8. l/X 0.125 Takes inverse (mode
X2 64. Squares display (mode unchanged)
unchanged) 0.375 Completes addition, termi-
1 13. Completes addition, termi- nates problem
nates problems
8-7
Calculators
connection diagram
Dual-I n-Line Package
24
READY..!.. r-- DIGIT 4
23
DIGIT 9.2. r-- DIGIT 5
3
DIGIT1- ~DIGIT6
4
DIGIT2- ~DIGIT7
5 20
OIGIT3- r-- DIGIT 8
voo -
6
r!! KEY INPUT 31K3) Order Number MM5737N
18 See Package 22
SEGMENTd..!.. )-- KEY INPUT 21K2)
8
SEGMENTg- ~ KEY INPUT l1Kl)
9
SEGMENTb- ~SEGMENTe
15
SEGMENT ,..!.'!.. )-- SEGMENT.
14
DECIMAL PT .!!. )-- SEGMENT c
13
vss.2.!. )--N/C '
\ TOPVIEW
8·8
~
absolute maximum ratings ~
CJ1
Voltage at Any Pin Relative to Vss. (All -..oJ
(.oJ
other pins connected to Vss ). Vss + 0.3V to Vss - 12.0
-..oJ
Ambient Operating Temperature , oOe to + 70°C
o
Ambient Storage Temperature -55°C to +150 e
Lead Temperature (Soldering, 10. seconds) 300°C
dc electrical characteristics
PARAMETER CONDITIONS MIN TYP MAX UNITS
ac electrical characteristics
.
PARAMETER CONDITIONS MIN TYP MAX UNITS
70
1.5
170
4
5.2
580
ms
,us
,us
OJ ,'"
~\'~
8·9
I Kl
K2
S. Sb Sc Sd S. SI S9 dp
MM5737
---lK3 01 02 03 04 05 06 07 DB 09 ,.~
Voo
,-, CJ.'-, ,-, '-, ,-, '-, '-, ,-, ,-/
dp
CI.
S9 SI
C/.
S.
CI.
Sd
CI.
Sb
CI.
s. NSA198I
I 09 08 07 06 05 04 03 02 01
~...... '07........ T
LV GNO Vee
INO
-
"'<>-:-...... ~......
-
~ ~....... -_.....+
~ -
9V-=-
""o!-
OMB864
POWER
L:J
\
~
......
'o!.
.......
.......
. KEYBOARD CALCULATOR CHIP DISPLAY DRIVER LED DISPLAY
Key Entry and Functional Operation When a key is depressed, the bounce·out stability timer is initiated.
READY remains high until the bounce'out time is completed and the
key is entered, at which time it changes to a Logical Low Level ("'V DD)'
Key Release and Return to Idle READY remains low until key release is debounced and the calculator
returns to the idle state. The low to high transition signals the return to
idle. (The display may lag the READY by up to eight word times.)
The MM5737 galculator chip is designed to interface or ringing has stopped and the stability time counter has
with low cost keyboards, which are often the least timed out. Noise that persists will inhibit key entry
desirable from a noise and false entry standpoint. indefinitely. Key release is timed in the same manner.
A key closure is sensed by the calculator chip when one· One of the popular types of low cost keyboards
of the Key Input Lines, Kl, K2 or K3 is forced more available, the elastomeric conductor type, has a key
positive than the Logical High Level specified in the Elec· pressure versus contact resistance characteristic that can
trical Specifications. At the instant of closure, an internal generate continuous noise during "teasing" or low pres·
"Key Bounce·out Stability Time" counter is started. sure key depressions. The MM5737 defines a series
Any significant voltage perturbation occurring on the contact resistance up to 50 k!1 as a valid key closure,
switched key input during timeout will reset the timer. providing an optimum interface to that type of keyboard
Hence, a key is not accepted as a valid entry until noise as well as more conventional types.
8·10
ERROR CONDITIONS Decimal Point
In the event of an overflow, the MM5737 will display First depression of this key in a number entry will enter
an "E" in the leftmost digit and at least seven of the a decimal point in the LSD position of the display
significant digits of the answer. Division by zero results register. Subsequent depressions of the decimal point
in' an "E" with eight trailing zeroes. Once in an error key before any function key will be ignored.
condition, all keys except the clear key are ignored.
Add, Subtract, Multiply or Divide Keys
KEY OPERATIONS
First depression after a number entry will terminate tkle
Clear Key entry, perform the previously recorded 0 peration, if
any, and record the function key depressed as the next
Operation after a number entry clears the entry and operation to be performed after another number entry.
displays a previous result. Second depression clears all Subsequent depressions of any function key, without an
registers and displays a zero without decimal point in interceding number or decimill point entry will supersede
the LSD. Operation after a function key (+, -, x, -;- or =) the previous function as the next to be performed. After
clears all registers and displays a zero without decimal an equal key, the displayed result of the equal operation
point. Two depressions are always required after power will be re-entered and the function key depressed will
is applied. . , become the next operation to be performed after a
number entry is followed by another function key
Number Entries (including equal).
First entry clears the display register and enters the Equal
number into the least significant digit (LSD) of the
display register. Second through eighth entry shifts the First depression after a number entry will terminate the
display register left one digit and enters the number into entry, perform the previously recorded operation and
the LSD. The ninth, and subsequent entries, are ignored record the fact that an equal ,key has been depressed.
and no error condition is generated. Because only seven Depression after the add, subtract or divide keys, with-
positions are allowed to follow the decimal point, the out an interceding number or decimal point entry, will
eighth and subsequent entries after a decimal point be ignored. After a multiply key, the number being
entry are ignored. displayed will be squared.
WORO TIME
01
02
03
09
DECIMAL POINT
S.
Sb
S.
Sd
S.
SI
Sg
01
ACTUAL
DISPLAY:
02
La'sCLI
03 04
~::I I1
1 L _7 7 _7.L
05 06 07
SEGMENT 'IT/b
.
09 •' • 01
DESIGNATION
·/~/c
d
8-11
r-..
M
r-.. DIGIT 9
Vss
I J
L!)
10%
' " - - - - - - -.... io-J
~
Voo - - - ' 10%
~ Vss
DIGIT 1
/
- r-------
r-
, Voo
~
tPOH
VSS
VOHt90%
READY
Voo --------~~~-------~I~
~!OL
sample problems
I. Single Calculations
5 x 3.14 = 15.7
c
C o
23.37 23.37
+ 23.37
243 243
x 266.37 Function key completes previously recorded "+" operation.
(Wrong Function Key)
266.37 Wrong "X" function key is updated to "-."
489.17 489.1 7
C 266.37
489.16 . 489.16 Number entry error is cleared and corrected. Note the
-222.79 floating negative sign.
B. Find square root of 169 using a modified Newton approximation method. Let N represent the squared number and_Xo
the initial estimate. The first approximation, X, , is
X, o
= (N/X + Xo )/2
If Xo is 15,
X, = (169/15 + 15)/2
X2 = (169/X, +X,)/2
X3 = '(169/X 2 + X 2 )/2, etc.
C
C o
169 169
169
15 15
+ 1 1.266666
15 15
26.266666
2 2
13.133333 Result is X,
169 169
169
13.13 . 13.13 Four digits are conveniently remembered
8-12
sample problems (con't)
II. Chain Calculations (continued)
+ 1 2.87 1 287
13.13 13.13
26.001 287
2 2
1 3.000643 Result is X 2 , which is usually adequate. If more
accuracy is required, continue the iteration.
A. 5.25 2 = 27.5625
c
C o
5.25 5.25
5.25
27.5625 Number in display register is squared.
5
B. 5.25 = 3988.3798
c
C o
5.25 5.25
5.25
27.5625 ·Auto square = 5.25 2
x 27.5625
759.69 1 4 Auto square = 5.25 4
x 759.69 1 4
5.25 5.25
3988.3798 Result is 5.25 5
8·13
Calculators
~~~~~
of the exponent is not blanked, even if it is a zero, when
an exponent is being displayed. A low battery indication,
activated by sensing circuitry in the DS8868, is included
'LiJ~~~LiJ
in the mantissa sign digit.
~~~~~
A Ready output signal is used to indicate calculator
status. It is useful in providing synchronization informa-
tion during testing and when the MM5758 is used with
other logic; e.g., with the MM5766 Programmer.
dc electrical characteristics
PARAMETER CONDITIONS MIN TYP MAX UNITS
ac electrical characteristics
PARAMETER CONDITIONS MIN TYP MAX UNITS
Calculation Times
Square Root 0.50 0.90 second
LOG X or LN X 0.85 1.50 second
10 x or eX 1.00 1.75 second
yx 1.80 3.10 second
SIN X, COS X or TAN X 1.30 2.20 second
ARC SIN X or ARC COS X 1.40 2.40 second
ARC TAN X 0.85 1,50 second.
8-15
18)
1111
KEYBOARD
+
MATRIX
ISEE FIGURE 2
AND TABLE I)
FROM 058867
SEGMENT DRIVER
,
'91
. 171
b
51
c
131
d
111
e
19
1
151
9
71 \
OP
NSA5101
KEYEOARO
MATRIX 01 02 03 04 05 06 07 08 09 010 011 012
1 2 3 4 6 8 10 12 14 18 20 21
~....... ~_....... 1
~ "0-2 ~N
...... ..... ......
~ ~O
......
~N
~....... ~X
......
~
.....
~S
.....
i'o2-...... ~"-
~L
.....
~....... ~_.......
~c ~G
....... ......
Vss
~..... ~
......
~L ~'
.
I ~....... ~ ~
,
.......
1 2 3 4 9 8 7 6 5 4 J 2 1 18 17
5 15
K, K, KJ K, 0. 0. 01 02 03 04 05 06 07 08 09 011 012
6 14
DB D.
---2.!. DISPLAY
MM5758
7 13
058868
RESET
Dc Dc
8 12
Do 00
8-16
SCALING OF DISPLAYED NUMBERS AUTOMATIC DISPLAY CUTOFF
Computed results are displayed in either floating point If no key is depressed for approximately 50 seconds, an .
or scientific notation. Answers in the ra(lgebetween 0.1 internal automatic display cutoff circuit will modify the
and 99999999. are displayed in floating point format; encoded digit output sequence sent to the DS8868
otherwise scientific notation is used. For example: 123.4 Decoder/Driver to be the blanking input code (Table II)
is displayed as written; whereas, 123.4 mi Ilion would during all digit times except the most·significant of the
appear as 1.234 x 108 . The smallest magnitude displayed mantissa (02). Thus, in the cutoff power saving mode,
is ± 1.0 x 10--99, and the largest ±9.9999999 x 10 99 . only one digit is displayed. The blanking code has been
Number entries are always displayed in the manner selected to also be the minimum power case for the
entered until "ENT" is depressed, after which they DS8868.
appear scaled.
Any of the 011 ("CS," "rr" or "TAN") keys will.restore
KEYBOUNCE AND NOISE REJECTION the display; to restore the display without modifying
the status of the calculator use the "CS" key twice, or
The MM5758 is designed to interface with most low-cost momentarily force the Display Reset high. The auto-
keyboards, which are often the least desireable from a matic display cutoff feature can be disabled by hardwiririg
false or multiple entry standpoint. the Display Reset pin to Vss.
Kl 0 9 8 7 6 5 4 3 2 1
K2 + CS STO l/X ....... C EN yX X -
K3 1f RCL ARC ROL EEX
K4 TAN SIN COS LOG y' LN c· 10'
H H L L ON
H H H H ON
L H H H ON
H L H H ON
L H L H ON
H L H L ON
H H L H ON
L H H L ON
L L H H ON
H H H L ON
L L L H ON
H L L L ON
L L L L
8-17
co
it)
to- ENCODED
it) DIGIT
~
OUTPUTS
D.
~
D.
Dc
Do
SEGMENTS
Sd
S.
Sf
S,
DECIMAL
POINT ..:...._'--....._...;...._'--....._...;...........1
I,? 3 LI. 55 79 - 0 B
SIGN -S,
SEGMENT
ACTUAL OISPLAY: .! OESIGNATION: EXPONENT NEG
SIGN oS.
VOH
02SIGNAL
FROMOSB868
ANY OIGIT
SIGNAL CONNECTED
THROUGH KEY
TO K·LINE
READY
SIGNAL
I !---7WDRDTMES----j I I
s~B~~~!---lI~~7WORDTlMES~
Illr"""'NDISE~ u ::Zgs~~~ "NOISE"/
, CALCULATION
IS COMPLETED,
WHICHEVER IS
LONGER.
REAOY
JJ I - - . J~
.
NE~~~~~~~LB;g:~~r::~J NEX~ KEY CANj
MAY BE RELEASED. BE ENTERED
In the event of an operating error, the MM5758 will FUNCTION CONDITION (REGISTER X == Xl
display all zeros and decimal points. Improper operations 7 or l/X IXI ~ 0
or calculations are summarized in Table III. All square yx y < O. X LOG Y > 99
root computations are of the absolute value of X; eX Ixl>230
therefore, the square root of a negative number is not lOx IXI> 99
considered an invalid operation. LOG X or LN X X~O
SIN X, COS X, TAN X X<OorX>90
ARC SIN X or ARC COS X X<OorX>l
An error condition is reset by pressing "C." All registers
ARC TAN X X< 0
in the stack are lost and replaced with zeros. M is saved.
8·18
KEY OPERATIONS Enter Exponent Key, "EEX"
Clear Key, "c" Puts calculator in exponential entry mode. "EEX" must
be preceded by a number (mantissa), or it will be
Clears X, pushes Y down to X, Z to Y, T to Z and places ignored. A decimal point is an invalid entry that changes
a zero in T. Subsequent depressions perform the same· X to zero.
operation; thus, four "C" depressions will clear a
completely full stack. If the display indicates an error Trigonometric Keys, "SIN," "COS," and "TAN"
condition exists, the "C" key clears X, Y, Z and T.
Storage memory M is not affected by any "C" operation. Assumes the value of X is an angle in degrees and
computes the indicated trigonometric function, replacing
Number Entries X with the result. Register T is replaced by a zero;
M, Z and Yare not affected. Following "ARC," the
The first numeral of a number entry following any trigonometric keys determine the angle represented by
function, other than "EN," raises the stack and T is lost. the function in X, and replace X with that value in
Numerals are entered and displayed from left to right. degrees. T is replaced by a zero; M, Z and Yare unchanged.
Following "EN" the first number entry is placed in X
without affecting the rest of the stack. Ninth and Reciprocal Key, "l/X"
subsequent entries of the mantissa are ignored; th ird
and subsequent entries of the exponent are entered as a A non-zero value of X is replaced by its reciprocal.
new least-significant-digit, and the previous most-signifi- Registers Y, Z, T and M are unaltered.
cant-digit is lost.
Square Root Key, "VX"
Decimal Point, "."
The absolute value of X is replaced by its square root.
Places a decimal point on the right side of the least- Registers Y, Z, T and M are not altered.
significant-digit being displayed during entry of the
mantissa. It is invalid during exponent entry and clears logarithmic Keys, ''IN'' and "lOG".
the X-register to zero (starting a new number entry).
These keys replace the value of X by its natural or
Change Sign Key, "CS" common logarithm, respectively. Registers Z and T
become zero. Registers Y and M are not affected.
Changes the sign of X. In the exponent entry mode, it
changes the exponent sign. It does not terminate entry Power Key, "y X "
ar]d therefore can be depressed at any time during the
entry mode. Multiple depressions are allowed. Determines the value of Y raised to the power of X and
replaces X with that result. Registers Y, Z and T become
Enter Key, "EN"
zero. M is not affected.
Registers X and Y are exchanged; other registers are not Repositions the data within. the operational stack by
affected. transferring X to T, Y to X, Z to Y and T to Z. After
four successive depressions each of the four data posi-
Inverse Trigonometric Key, "ARC" tions has been viewed and returned to its original location.
Preceding one of the three trigonometric keys, "SIN," Range and Accuracy ·of Functions
"COS" or "TAN," it conditions the calculator to
determine the angle in degrees of the value in register X. The smallest magnitude that can be displayed is ±1 0-99
"ARC" followed by any key other than one of the and the total range is ±9.9999999 x 10 99 . Table IV
trigonometric keys will be ignored. summarizes range and accuracy of the MM5758 functions.
8·19
TABLE IV.
+, -, x, 7, 1/X ± 1 x 10-99::; X::; ±9.9999999 x 1099 ±1 in first non·zero digit from LSD
VX 1±1 x 10-99 1::; X ::; 1±9.9999·999 x 1099 1 ±2 in first non·zero digit from LSD
LOG X 0< X::; +9.9999999 X 1099 7 digits
m. OJ. 0.'
OJ. 0.0 AFTER FUNCTION KEY
00
J. · LOST
t~T
z - ,,----z
v ---.-/ r-- V
:----' C:~
NUMBER=---.J
t
CD. 0.0.• 0'0
T
m. 8. 0 AFTER ~
OR FIRST NUMBER
• z
• V
;
NUMBER = - - . !
r=:~
[§].§J.~.0.0. &
• T ~ FOLlOWEO BY ~.~. ~
• Z 0 - - V - - LOST
t----A.-.T
.. z
• M • Y
;
!(Xl=--.!
r=:~.
12:] GJDQO
0 - - - -.....
t __ LOST
z ____ LOST
T
Z
•
•
T
Z
~
z~
. ,,'--T
'----z
V - - LOST 'Y • Y v ___ LO~T '--- Y
. rX
F:
Yx _ _ _ _.......
.
f (x.
x - - - - LOST
m
vI - - - - - '
;t-M
8·20
Summary of Stack Operations (can't)
@g
.. T ~LOST
.. Z t-- ,---T
.. Y z ---' ,..--- z
y--./ ,--- Y
;~C:~
ERROR CONOITION
D___
@J,§1
D----_.
t _ LOST r----- T t -- LOST 'l--, T
z--LOST~ Z Z __ LOST L- Z
• Y
Y - - LOST -------- Y
F~
x-LOST
.. M
1 ( . ) - - - -.....'
SAMPLE PROBLEMS
71
712
0 7120
+ 7121.345 o Add X and Y
1 7121.345
7 17 I
CLR 7121.345 Clear entry, pushes down stack
1 7121.345
4 14
142
1425
14251 7121.345 o o o
-7129.655 o o o Subtract X from Y
Note: (t is not necessary to clear
calculator for the next problem.
8-21
ex)
Ln Problem No.2 (3.73 x 10-7 ) x (-15 x 1024 ) -;- 27357.3 =?
r-..
Ln
STACK REGISTERS
~ COMMENTS
KEY ENTRY DISPLAY X Y MEMORY M
~
Z .T
10.3 10.3 0 0 0
ENTER 10.3 10.3 The "Roll" key can be used
to examine the stack. It is not
necessary for the solution.
3 3 10.3
ENTER 3. 10.3 Register contents displayed:
ROLL 3. 10.3 0 Y
ROLL 10.3 0 3 Z
ROLL O. 3 10.3 T
ROLL 3. 10.3 0 X
9. 10.3 0 0 32
4 4 9 19. 3 0
ENTER 4. 4 9 10.3
16. 9 10.3 0 4?
+ 25. 10.3 0 0 (32 +4 2 )
257.5 0 0 0 0 10.3 (32 + 4 2 )
5 257.5 0 0
ENTER 5. 5 257.5
25. 257.5 0 52
6 25. 257.5
ENTER 6. 6 25 257.5
x 36. 25 257.5 0 62
+ 61. 257.5 0 . (52 +6 2 )
15707.5 0 10.3 (32 + 42 ) .5 2 + 62 )
,,;x 125.32956 0 0 0 0 ",10.3 (32 + 4 2 ) (52 + 6 2 )
8-22
Problem No.4 1 + 2!1 X + 3!1 X 2 =?, X = -0.15
STACK REGISTERS
KEY ENTRY DISPLAY X Y Z T MEMORY M COMMENTS
1 125.32956 0 0 0
ENTER 1. 1 125.32956
2 2!
.! 0.5
X 2!
0.15 CHS -0.15 0.5 125.32956 X
STO -0.15 -0.15 Store X for use later in the problem
+ 0.925 125.32956 0 1+ 2. x
2!
0.925 125.32956
ENTER 3. 3 0.925 125.32956
2 2
X 6. 0.925 125.32956 0 3!
+ 0.9287499 0 1 + 2. x + 2. X2
2! 3!
CLR 0
RCL -0.15 0 O. 0 -0.15 Notice that the clear does not affect
the memory register. Memory is changed
only by storing another value or by power
off.
8-23
Problem No. 7 Example using "1 Ox" and "LOG" keys
STACK REGISTERS
KEY ENTRY DISPLAY X Y Z T MEMORY M COMMENTS
1.2345678 1.2345678 0 0 0 -0.15
STO 1.2345678 1.2345678 Store original value
lOx 17.161995
LOG 1.2345678
RCL 1.2345678 1.2345678
EXCH 1.2345678 Compare answer to original value
EXCH 1.2345678
4 1.2345678 Fill the stack
ENTER 4. 4 1.2345678
3
ENTER 3.
2 2
ENTER 2. 4
4 1.2345678
lOx 10. 0 1.2345678 Notice that "T" is lost (same for 1Ox, eX)
10. 3
ENTER 4. 10.
3 3
ENTER 3. 10
2
ENTER 2. 4
1
LOG 2.2 -07 0 0 1.2345678 Notice that "Z" and "T" are lost (same for
LOG, LN)
Problem No.9 2 10
STACK REGISTERS
KEY ENTRY DISPLAY X Y Z T MEMORY M COMMENTS
8-24
Problem No. 10 (con't)
STACK REGISTERS
KEY ENTRY DISPLAY X Y Z T MEMORY M COMMENTS
3 3
ENTER 3. 3 4 1.7452415 --02
2 2
ENTER 2. 2 3 4
1 1
ARC 1.
SIN 89.999997 2 3 0 8.7654321 Notice that "T" is lost (same for
ASIN, ACOS, ATAN)
Problem No. 11
STACK REGISTERS
KEY ENTRY DISPLAY X Y Z T MEMORYM COMMENTS
30 30 89.999997 2 3 8.7654321
COS 0.8660252 0
ARC 0.8660252
COS 29.999569 89.999997 2 0 8.7654321
Problem No. 12
STACK REGISTERS
KEY ENTRY DISPLAY X Y Z T MEMORY M COMMENTS
connection diagram
Dual·ln·Line Package
~N/C
SWITCH
INPUT
LINES
["~
-
KZ..!.
KJ..2
.!!..V oo
.!!.READY
4
K4- .!!..DISPLAY RESET
r~
~SEGMENTF
Do...! .!!...SEGMENT 0
9
N/C- ~SEGMENTE
IZ 13
Vss - -SEGMENTC
TOPVIEW
8·25
Calculators
Thirty-two keys are arranged in a four-by-nine matrix DIGIT 1.2.. 2!. DIGIT 6
r~
(Figure 1). I n addition to seven arithmetic functions .!!. DIGIT 7
plus logarithmic, trigonometric and accumulating mem-
ory functions, the calculator is capable of calculating yX, SWITCH K3.l.
~DIGIT8
adding the square of X to memory, automatically INPUTS. 6
K2- ~DIGIT9
entering 7r and providing degrees/radian conversions.
KI.2.. r!!- READY
Ix IX TOP VIEW
Note: Lower case letters designate the data in the register Order Number MM5760N
identified by a capital letter. See Package 22
absolute maximum ratings operating voltage range
Voltage at Any Pin Relative to Vss Vss + O.3V to Vss - 12V 6.5V::; Vss - Voo ::; 9.5V
(All other pins connected to VS5) Vss is always defined as the most positive supply voltage.
Ambient Operating Temperature O°C to +70°C
Ambient Storage Temperature -55°C to +150°C
Lead Temperature (Soldering, 10 seconds) 30boc
dc electrical characteristics
ac electrical characteristics
PARAMETER
0.32
36
TYP
0.65
70
MAX
1.3
145
UNITS
ms
ps
a
Segment Blanking Time (Figure 2) 2 4.5 9 ps
8·27'
y
REr
I I
Kl S. Sb Sc Sd S. SI Sg OP OP . Sg S I S•. Sd Sc Sb s. NSA298I
K2
K3 MM5760
--jK4 Of 02 03 04 05 06 07 08 09
::1 I
n n n C l n C l n l - CI
CI. CJ. D. CI. CI. D. CJ.ld D.
09 08 07 06 05 04 03 02 01
"cE... ~ T
LV GNO Vee roo-
INO
-...0:.... ~...... ~......
~
.... I--
~ ~' 'o!-
.... , , ~:
, -_....
+ 9V
MALLORY
MN1604
$'
~
~ "o!-...... ~,
OR
0 ~
.... EQUIV.
POWER
~, ~ "0,:... "o!-
.... ... ... OM8864
.... ~
I/X 5
, ......
KEYBOARD *Dual function keys.
i - - - - - - - - - - - W O R O TIME - - - - - - - - - - -
02
03
-+--+--~
09
DECIMAL
POINT-t---t----i1-l
SEGMENTS
s.
-+--:-!
Sb
So
Sd
-+--1-1
S.
-+--1-1
SI
~--+---+--~
SU""':'_ _...;..J
The contents· of the accumulating storage /register Mare power-on or by storing a zero. All registers contain eight
replaced with the contents of the X register by using the digits and sign information.
I "STO" key. Preceding "+" or "-" with the "ARC" key
sums X into M. or subtracts X from M. "ARC" followed Inputs are entered and outputs displayed in floating
by "STO" squares X and sums it into the memory point. The output results are truncated. ,Data entry
without changing the value of X. The memory recall always precedes the operation keys that operate on
key, "RCL," copies M into X without disturbing the them; this is referred to' as Reverse Polish notation.
value of M. Storage register M is cleared automatically at (S.ee examples.)
LED
DISPLAY
SLIDE RULE
CALCULATOR
! III
~ K
Vss SEGMENT
OUTPUTS
• MM5160
"'''~'~
POINT
Voo
PROGRAM
MODE RUN
:I "'''~''"'..
nnnnnnnnn"""" "'",, NSA298
INPUTS
DIGIT SWITCH C4C4/~./~.C4C4C4C4C4
OUTPUTS READY LOAD DIGIT
191
191
I
~ ---+
r--- n OUTPUT Vee
-
-=-
J-
191 191 9V
L _ __ :..J
DATA 181
INPUT DM8864
-
I READY
GND
~
V's
4 X9 K I/O', RUN/LOAD DIGIT
OAT A ORIVER
KEYBO ARO MM5165
CONTROL
AN 0 K5 ALARM
1X4 Voo
POWER
PROGRA MMER *LEO
ALARM SWITCH
CO NT ROL LEARN MODE INDICATOR
KEYBO ARD PROGRAMMER
ON
FIGURE 3. Low Cost Hand Held Programmable Electronic Slide Rule Using the MM5760 Calculator and MM5765 Programmer
o. Power·On Clear
1 1
o 10
o 100
LOG 2.
EN 2. Copy X into Y
10 10
C 2. Clear X, stack pushes down
C o. Stack cleared
10 10
EN 10.
2 2
yX 99.99993 6 digit accuracy. Typical calculation time = 1.7 seconds
50 50
+ 1 49.99993
4 4
~ 2. Typical calculation time = 90 ms
EN 2.
7 7
-5.
2 2
X -10.
'-1 4.9 9 9 9 9 3
9 9
STO 9. "STO" terminates data entry
3 3
. ARC 3
SIN .0.0.0.0.0.0.0.0 Error indication (X > 1)
No clear needed
1 .1
LN -2.302585 Typical calculation time =260 ms
RCL 9.
1/X .1 1 1 1 1 1 1 1
9 9 Exchange X and Y
~
.1 '1. 1 1 1 1 1 1
yX 1.27651 7
.8 .8
ARC .8
ARC .8 Second "ARC" ignored
SIN 53.1 301 SIN- 1 in degrees
SIN .8 SIN of 53.1301°
0
,...
CD
I.t)
KEY SEQUENCE EXAMPLES (Con't)
14 + 26
LOG(~)
6- 4
Evaluate:
SIN (25 + 5)
STACK REGISTERS
KEY X Y Z COMMENTS
The MM5760 is designed to interface with most low cost The Ready signal indicates calculator status. When the
keyboards, which are often the least desirable from a calculator is in an "idle" state the output is at a Logical
false or multiple entry standpoint. High Level (near Vss ). When a key is closed, the internal
key entry timer is started. Ready remains high until the
A key closure is sensed by the calculator chip.when one time-out is completed and the key entry is accepted as
of the key inputs, K 1, K2, K3 or K4 is forced more valid, then goes low as indicated in Figures 4 and 5. It
positive than the Logical High Level specified in the Elec- remains at a Logical Low Level until the function initiated
trical Specifications. An. internal counter is started as a by the key is completed and the key is released. The low
result of the closure. The key operation begins after nine to high transition indicates the calculator has returned to
word times if the key input is still at a Logical High Level. an idle state and a new key can be entered.
As long as the key is held down (and the key input re-
mains high) no further entry is allowed. When the key ERROR INDICATION
input changes to a Logical Low Level, the internal counter
starts a sixteen word time-out for key release. During In the event of an operating error, the MM5760 will
both entry and release time-outs the key inputs are display all zeros and all decimal points. In addition to
sampled approximately every other word time for valid normal calculator overflow situations which occur as a
levels. If they are found invalid, the counter is reset and result of adding, subtracting, multiplying or dividing and
the calculator assumes the last valid key input state. including division by zero, the error indication is dis-
played for the conditions of Table I.
One of the popular types of low-cost keyboards avail-
able, the elastomeric conductor type, has a key pressure The Z-register is automatically cleared and the Y- and
versus contact resistance characteristic that can generate M-registers are saved. An error condition is cleared by
continuous noise during "teasing" or low pressure key depressing any key except "1 IX," "-';-," "LOG X" or
depressions. The MM5760 recognizes a series contact re- "LN X." Operation on the X register with an error
sistance up to 50 kD as a valid key closure, assuring a displayed will be performed as if X contained a zero_
reliable interface for that type of keyboard.
KEY OPERATIONS
AUTOMATIC DISPLAY CUTOFF (Note: Register X is always displayed.)
NEW
KEY IS
t
DEPRESSED
1-~ 9WDRDS_
I KEY IS
t
RElEASED
t
NEW KEY HAS NEXT KEY
BEEN ACCEPTED CAN BE
BY CALCULATOR. ENTERED.
THE KEY MAY
BE RELEASED.
yX y:::;O
Qn 99999999 < X Qn Y < -28
full stack. This is also the method used to gain access to Subtraction Key, "-"
the Z register. Memory register M is not affected by "C."
Pressing "C" after "ARC" resets the ARC function with· X is subtracted from Y and the result is placed in X.
out affecting any of the data registers .. Z is copied into Y, then cleared. Following an "ARC"
key, "-" subtracts the contents of X from M without
Number Entries changing X, Y or Z.
First entry after "EN" clears X and enters the number Multiplication Key, "X"
into Digit 8 (the second digit from the left of the display)
of X. Second through eighth entry (excluding a decimal X is multiplied by Y and the result is placed in X. Z is
point) enters the number one digit to the right of the transferred to Y and cleared. Following an "ARC" key,
last number entered. The ninth, and subsequent entries, "X" converts the value of X from radians to degrees
are ignored. The first number key after any key other without changing M, Y or Z.
than "EN" loses Z, pushes Y up to Z, X to Y, clears X
and enters the number in Digit 8 of X. Division Key, "..;-"
8-32
Reciprocal Key, "1/X" replaces X with the result. The contents of Z are lost, Y
retains the exponent and Z is cleared. M is not affected.
A non·zero value of X is replaced by its reciprocal.
Registers M, Y and Z are not altered. Memory Keys, "STO" and "RCL"
Square Root Key, "vx" The memory store key, "STO" copies the value of X
(including sign) into storage register M without altering
A positive value of X is replaced by its square root. the stack. "STO" following "ARC" squares the value
Registers Y and Z are not altered. Following an "ARC" of X and accumulates the result into M. Registers X, Y
key, "vx" replaces the value of X with its square. and Z are not affected. The recall key, "RCL," transfers
Registers M, Y and Z are not affected. Y to Z and X to Y, then copies Minto X. Storage
register M is not changed and Z is lost. Both "STO"
Logarithmic Keys, "LN" and "LOG" and "RCL" terminate the entry mode.
~ 0. ~. 0.··· 0. c:J
:~:-_lOST AFTER [ffi]
- - - OROTHER
NUMBER,
_ _ _ AFTER ANY
FUNCTION KEY,
GJ.8.0.LJ
o~ v+x~x
z~'___z v,x-x
x~
'----=:::xY ____~
v_----,._~
X
v' x - X
V x--o_ X
O--y--lOST
z~z
O--y-LOST
z~z
:==-x=:: x--y---X
f(X)~lOST
• z
I Y
------x
D----y-LOST
z---A-z
------M
ARCSINX
( ARC COSX
ARCTAN X
ERROR INDICATION
O----y-LOST
z---A-z
'X~S~
-------M
RANGE AND ACCURACY OF FUNCTIONS VX, X2) have eight digit accuracy. All results are
truncated. Table III summarizes range and accuracy of
The smallest magnitude that can be displayed is the other functions. Arithmetic calculations will be
±O.OOOOOOOl and the total range is from -99999999 to completed in less than 0.5 second; all others except
+99999999. The arithmetic functions {+, -, x, +, 1/X, yx in less tha'n 2.5 seconds and, yx in less than 5 seconds.
APPROXIMATE
FUNCTION RANGE
ACCURACY (Note 1)
0 0
SIN, COS, TAN "v -90 to "v 90 7 Digits
0 0
"v -360 to "v 360 6,Digits
VX X~O 8 Digits
yX y>O 5 Digits
X Qn Y ~ Qn 99999999
L±1
n digit accuracy has the nth digit from the MSD bei ng displayed accurat.e within ± 1.
8-34
Calculators
values, sinking funds, saving and loan payments and K,..!. ~READY
other time/money factors, two keys for computing
VDD.!. r!!- SEGMENT 0
per cent and delta per cent, a sum-of-digits key and a
power key. There is an automatic constant feature. SEGMENT G..!. ~SEGMENTE
8-35
absolute maximum ratings
Voltage at Any Pin Relative to Vss. Vss + 0.3V to Vss -;-12V
(All other pins connected to Vss .)
Ambient Operating Temperature O°C to +70°C
Ambient Storage Temperature -55°C to +150°C
Lead Temperature (Soldering, 10 seconds) 300°C
dc electrical characteristics
PARAMETER CONDITIONS MIN TYP MAX UNITS
ac electrical charac,teristics
PARAMETER CONDITIONS MIN TYP MAX UNITS
8-36 n
REAr Ir-----t----...,
r-~~~~~~~~~~~~~~
IKI Sa Sb Sc Sd S. SI Sg OP I I OP Sg SI S. Sd Sc Sb Sa NSA1298I
r-----tl~~ CI CI CI CI '-, '-, '-, I-' CI
rl" "' " "' .. " "' " "' "
MM5762
hI
VSS
\
EDUIV .
.....
POWER
~....... ~ ., ~ ~
..... ..... DS8864 LJ
~..... ~ ~ "o!-......
....... .......
~T
~..... ....... ~...... "o!-.....
-
~....... ~......
=
..... ......
SOD 5
......
KEYBOARD ·Oualfunctionkeys.
DIGIT
OUT;
IU
:r---.
---l
r-----------WOROTlME-------------l1
I-OIGITTIME
" !-I- - -
02_1-_~
03
-+---+-~
09
DECIMAL
POINT-t---t----t-'
SEGMENTS
S.
-+--.......
Sb
Sc
Sd
-+--..,...
s.
-t---t-'
Sf
-t--~--r--~
Sg_~_......;...
8-37 .~
LED
DISPLAY
1
FINANCIAL
(7)
CALCULATOR
~ K
INPUTS
OUTPUTS
MM5762
POINT
PROGRAM
Voo ~ MODE
RUN I, l, l,l,l,l, I, I, I,
C/. C/. C/. C/. C/. C/. C/. C/. C/.
DIGIT SWITCH
OUTPUTS READY DIGIT
LOAD
(9) (9)
I +
r---h
~ OUTPUT Vee
--..:-
-=-
J-
(9) (9) 9V
I i
L.._ ~-~ DATA (8)
INPUT DS8864
-
I
4X 9 ~
Vss
K I/O's
READY
GND
RUN/LOAD DIGIT
OATA
KEYBO ARD CONTROL
MM5765 - ""'"
AN 0 K5 ALARM
1X4 Voo POWER
PROGRA MMER ,LED
ALARM SWITCH
CONT RDL LEARN MODE INDICATOR
KEYBD ARD, PROGRAMMER
ON
FIGURE 3. Low Cost Hand Held Programmable Financial Computer using the MM5762 Calculator and MM5765 Programmer
The MM5762 is designed to interface with most low If no key is depressed for approximately thirty-five
cost keyboards, which are often the least desirable from seconds, an internal automatic. display cutoff circuit
a false or multiple entry standpoint. will blank all segments and display nine decimal points.
Any key depression will restore the display; ·to restore the
A key closure is sensed by the calculator chip when display without modifying the status of the calculator,
one of the key inputs, K1, K2, K3 or K4 are forced use two Change Sign key depressions.
more positive than the Logical High Level specified in
the electrical specifications. An internal counter is'
READY SIGNAL OPERATION
started as a result of the closure. The key operation
begins after nine word times if the key input is still at a
The Ready signal indicates calculator status. When the
Logical High Level. As long as the key is held down
calculator is in an "idle" state the output isat a Logical
(and the key input remains high) no further ,entry is
High Level (near Vss ). When a key is closed, the internal
allowed. When the key input changes to a Logical Low
key entry timer is started. Ready remains high until the
Level, the internal counter starts a sixteen word time-out
time-out is completed and the key entry is accepted as
for key release. During both entry and release time-outs
valid, then goes low as indicated in Figures 4 and 5. It
the key inputs are sampled approximately every other
remains at a Logical Low Level until the function initiated
word time for valid levels. If they are found invalid, the
by the key is completed and the key is released. The low
counter is reset and the calculator assumes the last valid
, to high transition indicates the calculator has returned
key input state.
to an idle'state anda new key can be entered ..
One of the popular types of low-cost keyboards available,
the elastomeric conductor type, has a key pressure - ERROR INDICATION
versus contact resistance characteristics that can generate
continuous noise during "teasing" or low pressure key In the event of an operating error, the MM5762 will
depressions. The MM5762 defines a, series contact display all zeros and all decimal points. The error indica-
resistance up to 50 kfl as a valid key closure, assuring tion occurs if division by zero is attempted or either
a reliable interface for that type of keyboard. a result or intermediate value exceeds 99999999.
'8-38
FIGURE 4. Ready Timing
NEW
KEY IS KEY IS
DEPRESSED . ~ ~ RElEASED
, ~ 9~R~ . I ~
SWI~~~---l-JUULJLJLJIp-~
INPUT
., / -------11------
J
~
16WOROSAFTER
"NOISE" "NOISE" KEY RElEASE OR
AFTER CALCULATION
l
ISCOMPU-LETE.
WHICHEVER IS
READY LONGER.
t~------------~ t
NEW KEY HAS I NEXT KEY
BEEN ACCEPTED CAN BE
BY CALCULATOR. ENTERED.
THE KEY MAY
BE RElEASED.
The indication is cleared by depressing any key. appropriate terminator ("=," "%" or "= +" key). The
Y-register is used to store the constant in the constant
If an error results from a "+" or "-" key, the X-register mode of operation.
is cleared and the last entry is saved in the A-register; ,
all other registers are not effected. An error condition The calculator automatically changes to the chain mode
during "x" or "7" operations clears X without changing when an "x" or "7" key occurs in the calculation. In the
any of the other registers. chain mode, the result of each "x" or "7" key is stored
in both X and V-registers. A new entry replaces X with-
Overflow as a result of the "yx," "VAL," "SAV" or out altering Y. At the completion of a chain calculation,
"LOAN" keys clears the X-register and destroys the the V-register will contain the value used as first factor
values in N, I and A. Y is not changed. of the last multiply, or the latest entry if the last
operation was a d,ivide.
An attempt to raise a negative number to a power will
cause the error indication to appear, the X-register will Table I summarizes the four modes.
be cleared and the exponent will be stored in Y. The
other registers are not changed. KEY OPERATIONS
Overflow as a result of "M+" destroys the value stored (Note: Register X is always displayed.)
in M, clears X and displays the error indication. Calcu-
lations are immediately stopped and other registers are Clear Key, "c"
not cleared.
Following a number entry or a "MR" key, it clears the
AUTOMATIC CONSTANT X-register only (clear entry). Following any other key
it, clears registers X, Y and A.
The MM5762 retains as a constant the first factor of
a multiplication calculation or the second factor of a Number Entries
division calculation, when that calculation is terminated
by an "=" key, "%" key or "= +" key. Subsequent The first entry clears the X-register and enters the
calculations using the stored constant are made by number into the LSD of X. Second through eighth
entering a number and ,operating upon it with the entries (excluding a decimal point) are entered one
·8-39
digit to the right of the last number. The ninth, and Subtraction Key, "-"
subsequent entries are ignored. First entry after a "+,"
"-," or "M+" following a "+" or "-" key causes the If the previous key was not a "+" or "-" key, the
number in the X·register to be transferred to the number in the X·register is subtracted from the number
A-register before clearing and placing the new entry in the A-register, X is transferred to A, and the difference
in X. is stored in X. When the last key was a "+" or "-" key,
the number in A is subtracted from X without destroying
the value of A. The result is stored in X. '
Decimal Point, "."
Multiplication Key, "x"
As the first depression of a number entry, it clears the
X-register and places a point in the leftmost digit. If If there has not been a "x" or ".,." key since the last
the previous key was a number, it enters a decimal terminator key ("=," "= +" or "%"), the value of the
point to the right of the last number entered. Following X·register is copied into the Y ·register and the calculator
a "+," "-," or those keys preceding a "M+" key, the is set to the chain multiply mode. In a chain calculation
X-register is transferred to A, cleared and a decimal in which there has been a "x" key since the last termina-
point entered in the leftmost digit. The last decimal tor or ".,." key, X is multiplied by Y and the resulting
point depression in a single number entry is accepted product is stored in both X and Y; if a ".,." key has
as the valid point. occured since the last terminator or "x" key, depression
of "x" will divide the Y·register by the X·register, with
the quotient stored in both X and Y.
Change Sign Key, "CS"
Division Key, ".,."
Changes sign of register X.
If there has not been an "x" or ""''' key since the last
terminator key ("=," "= +" or "%"), the value of the
Addition Key, "+" X·register is copied into the Y·register and the calculator
is set to the chain divide mode. In a chain calculation
If the previous key was not a "+" or "-" key, the number if an "x" key has occured since the last terminator or
in the A·register is added to the X-register, X is trans- ".,." key, X is multiplied by' Y and the product is stored
ferred to A, and the sum is stored in X. When the last in both X and Y; if a ".,." key has occured since the last
key was a "+" or "-" key, the number in A is added to terminator or "x" key, depression of ".,." will divide
the number in X without destroying the value of A. the Y·register by the X·register, with the quotient stored
The sum is stored in X. in both X and Y.
= With calculator Depression of an "=," "= +" or "%" key will divide the
CONSTANT
DIVIDE
=+
%
} previously in chain
divide mode.
X-register by the V-register and replace X with the
quotient. V is unchanged.
8-40
Equal Key, "=" Power Key, "y X "
In the chain multiply mode, the value in the X-register When the calculator IS In either the chain or constant
is mUltiplied by the V-register with the product stored mUltiply modes, depression of "yX" raises the number
in X. Register Y remains unchanged. In the chain in the Y -register to the power of the X-register and
divide mode, depression of "=" will divide Y by X, replaces X with the result. (Thus, to raise two to the
transfer X to Y, and place the quotient in X. If the fifth power, use the sequence: "2," "x," "5," "yx .")
calculator is in constant multiply, "=" will multiply X If the calculator is in the constant or chain divide modes,
by Y, place the product in X and retain Y. For constant the value of Y is raised to the inverse of X power; i.e.,
divide, the X-register is divided by Y, the quotient is the key sequence "5," "-;-," "2," "yx ," results in the
stored in X; Y is unchanged. calculation of 5 raised to the 1 /2 power. The original
value of X is retained in Y and register A is cleared.
The calculator is set to the constant multiply mode.
The "=" key always rounds the answer stored in X to Results computed with the "Y x " key are rounded to
two places to the right of the decimal point, and clears five places.
register A.
Exchange Key, "<,-+"
Percent Key, "%" The X and V-registers are exchanged. No other registers
are effected.
This key acts exactly like the "=" key except the value
of X is divided bV 100 and copied into register A
before performing the required operation. Register A is Interest Entry Key, "i"
not cleared. The result stored in the X-register is
rounded to two decimal positions. If the sign of the number in the X-register is positive,
"i" divides the number by 1 00 and stores the quotient
in X and the I-register. If the value of X is initially
Automatic Accumulation Key, "= +" negative, "i" changes the sign, divides by 1200 and
stores the quotient in both X and I; i.e., the interest
will be compounded monthly.
It acts just like the "=" key in all modes. After the
result is stored in X, the value of X is added to the
number in the M-register. The result stored in X and
Number of Periods Entry Key, "n"
accumulated into M is rounded to two decimal places.
Register A is cleared.
If the sign of the number in the X-register is positive,
X is copied into register N. A negative value of X is
changed to a positive number, multiplied by 12 and the
Memory Plus Key, "M+" product stored in Nand X.
8-41
~_r--------------------------------------------------------------------------------------------------
,....
(0
J.t)
Savi~gs Deposit Key, "SA V" depreciation and depreciable value amounts using the
~ original value of N and present values stored in Nand A.
~ If the number in the X-register is negative, the "SAV" N is decremented by one after each computation. The
key will compute the amount to be deposited at the number to be depreciated (or the loan amount in a
\ end of each period in a sinking fund for the number of "Rule. of 78's" interest calculation) is always entered
periods, n, conta'ined in register N, at an interest rate, i, with a "+" or "-" key and the number of periods with
contained in register I, compounded each time period, the "n" key, without regard to key order. If the key
to accumulate the desired amount, contained in register preceding "SOD" is not "+" or "-," the sum-of:digits
Y. When the sign of the number in X is positive, the computation is performed on the number in the A-register
"SA V" key will compute the amount in a sinking fund without the number in X first being transferred to A.
if the number in Y is deposited at' the end of n time The result will be rounded to two decimal places; cal-
periods (N-register) at an interest rate per time period i culator mode is set to constant multiply.
(I-register), compounded each time period. Thus, to
compute the required sinking fund deposit to accumulate
'a desired amount over a given period of time, enter i, n
and the amount in any order using the "i," "n" and EXAMPLES
"AMT" keys, then "CS" and "SAV," To find the
amount in the sinking fund, simply enter i, n and the
1. Addition or subtraction 2.0
periodic amount of deposit and press "SAV." Registers
3.2
N, I or Yare not altered by the calculation, register A
-12.3
is cleared and register X contains the computed value.
The calculator is set to the constant mUltiply mode.
Results are rounded to two decimal places.
8-42 '
EXAMPLES (continued) 6. Calculate percentage.
KEYS DISPLAY COMMENTS
3 .. (continued)
3
KEYS DISPLAY COMMENTS 30
300
b) 1 1
10 300.
0
300.2
10.
300.25
2
300.25
5.
5 5
1 1
% 15.01 "Live %" key
0 10
.5
2 7. Perform add on and discount
.25
KEYS DISPLAY COMMENTS
c) 2
.a) Add·On: $125 plus 5%
20
2 O. 1
4 12
8 O. 125.
8 125.
10.
5 5
7 % 6.25 5% of 125 is displayed
1.4285714 131.25 125 + 5% is displayed
4
5.71 "=" rounds to two b) Discount: $532.10 by 6%
decimal places.
5 5
3 53
4. Constant multiplication or division. 532
5 3 2.
5 3 2.1
KEYS DISPLAY COMMENTS 5 3 2.1
a) 3 6
% 3 1.93 6% of 532.1 is displayed
3.
500.17 532.1 - 6% is displayed
2
6.
4 8. Perform change sign.
12. First factor in constant multiply
5 KEYS DlS'PLAY COMMENTS
5.
5.2 1 1
2 12 { Change sign does not
15.6
CS -12 terminate entry.
46.8 15.6 is re-entered and
3 -123
multiplied by constant
-123.
b) 5 CS 123.
5. 5 123.5
2 CS -123.5
2.5 6 -1 23.56
4
2. . Second factor in constant divide
5
9. Perform exchange registers (X ++ V).
5. KEYS DISPLAY COMMENTS
5.2
2.6 a)
1.3 2.6 is re-entered and 5.
divided by constant 3
1 5. 5 is initially constant multiplier
4
5. To perform products of sums. 5. 4 is now constant multiplier
2 O.
(5 + 4) x (3 + 2)/(6 + 7) = ?
b) 6
KEYS DISPLAY COMMENTS 6.
3 Numerator and denominator
5 6. { are exchanged
+ 5. .5
4 4
9.
9. Chain multiply mode is set
10. Accumulate in memory, recall and clear memory
3 KEYS DISPLAY COMMENTS
3.
2 a) 3
5. M+ 3. Accumulate in memory
45. (5 + 4) x (3 + 2) is executed 4 4
6 M+ 4. Accumulate in memory
6. 5 5
7 MR 7. Recall memory
13. MR 7. Recall and clear memory
3.4 6 45+ (6 + 7) is executed MR O. Recall and clear memory
8-43
N
CD
'"~
\!)
EXAMPLES (continued) 13. Raising a number to a fractional power.
11. Accumulate in memory with the use of the "=+" key. a) 9 9 Number of years
CS --9 Compounded monthly
108. Store 9 x 12 in N
KEYS DISPLAY COMMENTS 5.25 5.25 Interest
CS -5.25 Compounded monthly
5
5. i .004375 Store 5.25/1200 in I
3 2500 2500 Original deposit
=+ 15. 5 x 3 = 15 is added to M AMT 2500 Store in Y
4 VAL 4005.87 Rounded .to two decimal places
4. b) 3000 3000
4.2
AMT 300 O. New deposit stored in Y
'x 4.2
VAL 4807.04
3 3
=+ 12.6 12.6 is added to M c) 5
6 CS -5
6. i .00416666 New interest rate in I
7 VAL 4700.53
{ Rounded to 2 decimal places
=+ .86 and added to memory
9 9 d) 10 10
CS -g { Note method of multiplying -10
negative number CS
--9. 120. Enter 10 x 12 in N
4 VAL 4941.02
=+ -36. -36. added to memory
MR -7.54
2. Present Value Computations
8-44
FINANCIAL EXAMPLES (continued) 5. (continued)
KEYS DlSPLA Y COMMENTS
3. To find the amount that a) must be deposited
monthly in a savings account at an interest rate of b) 12 12
5.5% compounded monthly for 5 years to accumulate CS -12
.0 1 New interest entered in I
$15,000. b) compounded, and deposited quarterly. CS -.0 1
LOAN 1 1 1.22 New monthly installment
KEYS DISPLAY COMMENTS
a) 5.5 5.5 Interest 6. To find the amount of a loan with monthly payments
CS -5.5 Compound monthly
of $125, and an interest rate of 9% for 3 years. b) 4
a
.0 458333 Enter 5.5/1200
5 5 Number of years years. c) $120 for 4 years.
CS -5 Compound monthly
n 60. Ent5x12inN KEYS DISPLAY COMMENTS
15000 150 a o. Future value
AMT 150 O. a Entered in Y a) 9 9 Interest
CS' -150 O. a CS -9 Compounded monthly
SAV 21 7.77 Monthly deposit required .0 a7 5 9/1200 entered in I
3 3 Number of years
b) 5.5 5.5 Interest CS -3 Compounded monthly
5.5 n 36. 3 x 12 entered in N
4 Compound quarterly 125 125
1.375 Use ".,." instead of "=" AMT 125. Payment amount entered in Y
for maximum accuracy LOAN 393 0.8 5 Loan amount is computed
.0 1 375 Enter 5.5/400
b) 4 4
C Terminate chain calcula·
tion CS -4
New number of periods
5 Number of years 48.
{ entered in N
LOAN 5 a 2 3.1
5.
4
2 O.
} Compound quarterly
c) 120 120
New payment amount
AMT 120. { entered in Y
n 2 O. Enter 5 x 4 in N
LOAN 4822.1 7
15000 15000 Re·enter FV in Y
AMT 15 a a o. Amount
CS -15 O. aa 7. To find the amount of change and the percent change
SAV 656.71 Quarterly deposit required of a house now valued at $56,500 which was previously
purchased for $49,750. b) present value of $30,000.
4. To find the amount accumulated a) if $100 is
deposited at the end of each month for 6 years in a KEYS DISPLAY COMMENTS
savings account at an interest rate of 4.75%, com-
a) 56500 56500 Present value
pounded monthly, b) at 7.5%, c) at 4.75% for 9 years. AMT 5650 O. Enter in Y
KEYS DISPLAY COMMENTS 49750 49750 Past value
A 13.57 % change
a) 4.75 4.75 Interest 6750. Amount change
CS -4.75 Compounded monthly
b) 30000 30000 New present value
a
.0 3 9 5 8 3 3 4.75/1200 entered in I
AMT 3 a a a o.
6 6
-6 49750 49750
CS
A -39.7 Negative % change
n 72.
-19750. Amount change
100 100
AMT 100.
SAV 8311.93 Accumulated sinking fund 8. Performing a sum-of-digits depreciation. Find the
b) 7.5 7.5 depreciation and depreciable value for each year, on
CS -7.5 an item with an initial cost of $3,500.00 and a salv~ge
9 O. value at the end of 8 years of $675.00
SAV 10 7 8 6.37
8-45
Calculators
feature.
r~
.!!..DlGIT1
l2.DIGIT 8
SWITCH K3...!.
The user has access to eight registers designated X, T,
INPUTS 6
A, C, Y, S; Nand M. The X-register .is used for KZ- ..!!.DIGIT9
8-46
REyY
I
:1 s,
Kl Sa Sh Sc S~ Se Sf Sg dp dp S'I SI S" Sd S, Sb NSA12981
K2 nnnnnnnnn
~K4
K3 MMS163
01 01 03 04 OS 06 01 08 09 I C~C~C~C~C~C~C~C~/~.
, ~.... ~ I
LV GND Vee t-
INO
~.... f'c.S-..... ~.... ~....
t--
~..... ~.
..... ~..... ~...... -.:;. 9V
MALLORY
-- MN1604
~D'
~...... r--o:-...... ~...... - DR
0 ~
EDUIV
POWER
~.... ~'
.....
j'o:. ~
.... .... OS8864
.....
KEVBOARD 'OuaIIIlIlC1IUII kcv~
02
D3
-+--+--.;..!
D9
DECIMAL
POINT-4-_-+-_--:f-I
S'-+_ _...:..I
Sb
Sc
S'-+_ _41
S'-I_ _-+__+-__f-I
S9--:_ _....:..I
8-48
absolute maximum ratings
Voltage at Any Pin Relative to Vss. (All other Vss + 0.3V to Vss - 12.0
pins connected to Vss )
Ambient Operating Temperature O°C to +70°C
Ambient Storage Temperature -55°C to +150°C
Lead Temperature (Soldering, 10 seconds) 300°C
dc electrical characteristics
ac electrical characteristics
PARAMETER CONDITIONS MIN TVP MAX UNITS
Digit Output Transition Times C LOAO = 100 pF. RLoAo = 9.6 kQ 2 J..(s
(tRISE and tFALL)
8·47
LED
DISPLAY
CALCULATDR
! (71
14 """",~ '.U"
Vss SEGMENT
K
OUTPUTS
MM576J
POINT PROGRAM
RUN
:1 """'""''' ,,"",m
nnnnnnnnn
INPUTS Voo MODE
DIGIT SWITCH Ct. C/. C/. C/. Ct. Ct. Ct. Ct. C/.
OUTPUTS READY LOAD DIGIT
(91
191
I -...:-+
~
r
--=-
OUTPUT Vee
r---h
I ; (91 (91 9V
'r
NPUT OS8864
L._ f--:..J (81
"'J
DATA
I GNO
I+- -
Vss READY
4X 9
DAT A
~ KilO', RUNILOAD
DRIVER
KEYBO ARD MM5765
CONTROL
AN 0 K5 ALARM
1 X4 Voo POWER
LEO
PROGRA MMER ALARM SWITCH
CONT ROL LEARN MODE INDICATOR
KEYBO ARD, PROGRAMMER
ON
FIGURE 3. Low Cost Handheld Programmable Statistician Computer Using the MM5763 Calculator and MM5765 Programmer.
KEYBOARD BOUNCE AND NOISE REJECTION to high transition indicates the calculator has returned to
an idle state and a new key can be entered.
The MM5763 is designed to interface with most low
cost keyboards, which are often the least desirable
ERROR INDICATION
from a false or multiple entry standpoint.
In the event of an operating error, the MM5763 will
A key closure is sensed by the calculator chip. when display all zeros and all decimal points. The error
one of the key inputs, K 1, K2, K3 or K4 arc forced indication occurs if division' by zero is attempted or
more positive than the Logical High Level specified in either a result or intermediate value exceeds 99999999.
the electric'al specifications. An internal counter is
started as a result of the closure. The key ope~ation The indication is cleared by depressing any key.
begins after nine word times if the key input is still
at a Logical High Level. As long as the key is held If an error results from a "+" or "-" k~y, the X-register
down (and the key input remains high) no further is cleared and the last entry is saved in the A-register; all
entry is allowed. When the key input changes to a other registers are not effected. An error condition
Logical Low Level, the internal counter starts a sixteen during "x" or ",;-" operations clears X without changing
word time-out for key release. During both entry and any of the other registers.
release time-outs the key inputs are sampled approxi-
mately every other word time for valid levels. If they Overflow as a result of the statistical keys can effect
are found invalid, the counter is reset and the calculator any ,register they use; "CA" should be depressed if an
assumes the last valid key input state. error occurs,
One of the popular types of low-cost keyboards available, Overflow as a result of "M+" saves the value stored in M,
the elastomeric conductor type, has a key pressure clears X and displays the error indication. Calculations
versus contact resistance characteristic that c'an generate· are immediately stopped and other registers are not
continuous noise during "teasing" or low pressure key cleared.
depressions. The MM5763 defines -a series contact
resistance up to 50 k!1 as a valid key closure, assuring a AUTOMATIC CONSTANT
reliable interface for that type of keyboard. The MM5763 retains as a constant the first factor of a
multiplication calculation or the second factor of, a
AUTOMATIC DISPLAY CUTOFF division calculation, when that calculation is terminated
If no key is depressed for approximately twenty-five by ,,=,,' key, "%" key or "= +" key. Subsequent
seconds, an internal automatic display cutoff circuit calculations using the stored constant are made by
will blank all segments and display nine decimal points. entering a number and operating upon it with the
Any key depression will restore the display; to restore appropriate terminator ("=," "%" or "= +" key). The
the display without modifying the status of the calculator, T-register is used to store the constant in the constant
use two Change Sign key depressions. mode of operation.
READY SIGNAL OPERATION The calculator automatically changes to the chain mode
when a "x" or ",;-" key occurs in the calculation. In
The Ready signal indicates calculator status. When the the chain mode, the result of each "x" or "";",' key is
calculator is in an "idle" state the output is at a Logical stored in both X and T-registers. A new entry replaces
High Level (near Vss ). When a key is closed, the internal X without altering T. At the completion of a chain
key entry timer is started. Ready remains high until the calculation, the T-register will contain the value used as
time-out is completed and the key entry is accepted as first factor of the last multiply, orthe latest entry if the
valid, then goes low as indicated in Figures 4 and 5. It last operation was a divide.
remains at a Logical Low Level until the functi on initiated
by the key is completed and the key is released. The low Table I summarizes the four modes.
8-49
TABLE I. Mode Summary
CONSTANT "CLEAR" Depression of an "=," ".= +" or "%" key will multiply
MULTIPLY the X·register by the T·register and repl~ce X with the
"=+" product. T remains unchanged.
CHAIN "x," Depression of aD "=," "= +" or "%" key will multiply
MULTIPLY following a terminator, or "+" the X·register by the Y·register and place the product in
or "x" operation X. T remains unchanged.
CHAIN II..:..." Depression of an "=," "= +" or "%" key will divide the
"
DIVIDE following a terminator or "+,, T·register by the X·register, transfer X to T, and place
or "x" operation the quotient in X.
:.:~,~ J:{ ;~
• VOL ~. ______________ ~T~H
NEW
~~ ~~
DEPRESSED ~ -------1 RElEASED
~ 1_ 9WORDS - 1 ~
SWITCH
ANY-WUULJU l
INPUT
" -NOISE" "NOISE"
/ L
-~~~--------o------
16WOROSAFTER
AF~~~ ~~~~~~~~I~N
J
ISCOMP~LETE.,
READY
l t~------------
I WHICHEVER IS
LONGER.
t
NEW KEY HAS _
BEEN ACCEPTEO
I NEXT KEY
CAN BE
BY CALCULATOR. ENTERED.
THE KEY MAY
BE RELEASEO.
(Note: Register X is always displayed.) As the first depression of a number entry, it clears the
X-register and places a point in the left most digit. Ifthe
Clear Key, "C" previous key was a number, it enters a decimal point
to the right of the last number entered. Following a
Following a number entry key, it clears the X·register "+," "-," or "M+" following a "+" or "-," the
only (clear entry). Following any other key it clears
X-register is transferred to A, cleared and a decimal
registers X, K, C, 5, Nand T.
point entered in the leftmost digit. The last decimal
point depression of a number entry is accepted as the
Clear All Key, "CA" valid point.
Clears all registers and sets the calculator to the constant
multiply mode. Change Sign Key, "CS"
The first entry clears the X.register and enters the Addition Key, "+"
number into the LSD of X. Second through eighth
entries (excluding a decimal point) are entered one If the previous key was not a "+" or "-" key, the number
digit to the right of the last number. The ninth, and in the A-register is added to the X-register, X is transferred
subsequent entries are ignored. First entry after a "+ ," to A, and the sum is stored in X. When the last key was
"-," or "M+" following a "+" or "-" key causes the a "+" or "-" key, the number in A is added to the
number in the X-register to be transferred to ,the A- number in X without destroying the value of A. The
register before clearing and placing the new entry in X. sum is stored in X.
8-50
Subtraction Key, "-" Memory Recall/Memory Clear Key, "MR"
If the previous key was not a "+" or "-" key, the number Following any key except "M R," the value of the
in the X-register is subtracted from the number in the M-register is copied in to the X-register~ If the preceding
A-register, X is transferred to A, and the difference is key was "+," "-:-" or "M+" following "+" or "-," the
stored in X. When the last key was a "+" or "-" key, number in the X-register is transferred to' the A-register
the number in A is subtracted from X without destroying before M is recalled. Following another "MR" key, the
the value of A. The result is stored in X. M-register is transferred to X, then cleared.
Division Key, "7" Adds X to the C-register, adds the square of X to the
T-register, saves the valye of X (to four decimal places)
If there has not been a "x" or "7" key since the last in the V-register and increments N by one. The operation
terminator key ("=," "= +" or "%"l.' the value of the is completed by copying N into X. The maximum valuE
X-register is copied into the T-register and the calculator of N is 99. The register returns to zero on the 1 OO~h entry_
is set to the chain divide mode. In a chain calculation if a
"x" key has occured since the last terminator or "7" Sum of Y Key, "LY"
key, X is multiplied by T and the product is stored in
both X and T; if a "7" key has occured since the last Adds the value of X to the A-register, adds the square
terl!1inator or "x" key, depression of "7" will divide of X to the M-register, adds the product of X and Y to
the T-register by the X-register, with the quotient stored the S-register, and recalls N to X.
in both X and T.
Remove X Key, "REM X"
Equal Key, "="
This is used to delete a data point previously entered by
In the chain multiply mode, the value in the X-register "Lx" key. It subtracts X from C, subtracts the square of
is multiplied by the T-register with the product stored X from T,saves X to four decimal places in Y, decrements
N by one and copies the new value of N in to X.
in X. Register T remains unchanged. In the chain divide
mode, depression of "=" will divide Y by X, transfer X
to T, and place the quotient in X. If the calculator is in Remove Y Key, "REM Y"
constant multiply, "=" will multiply X by T, place the
product in X and retain T. 'For constant divide, the This is used to delete an incorrect data point previously
X-register is divided by T, the quotient is stored in X; entered by the "LY" key. It subtracts X from A,
T is unchanged. subtracts the square of X from M, subtracts the p~oduct
of X and Y from S and copies N to X.
The "=" key always rounds the answer stored in X to
two places to the right of the decimal point, and clears , Frequency of X Key, "FREO"
register A.
This is used to sum grouped (identical) data entries for
mean and standard deviation computations. If the sign
Per Cent Key, "%" of X is positive, "FREO" performs the "Lx" operation
X - 1 times. When X is negative, "FREO" performs the
This key acts exactly like the "=" key except the value "REM X" function IXI- 1 times.
of X is divided by 100 and copied in register A before
performing the required operation. Register Ais not
cleared. The result stored in the X-register is rounded to
Mean and Standard Deviation Key, "x, SO"
two decimal positions. Computes both the arithmetic mean and the standard
deviation of data points (entered by the "Lx" and
Automatic Accumulation Key, "= +" "FREO" keys) with a single key depression. The mean
is stored in register X (and therefore is the initial result
.It acts just like the "=" key in all modes. After the result displayed). Standard deviation is stored in registers A
is stored in X, the value of X is added to the number in and M and is displayed by using the ','M R" key. Registers
the M-register. The result stored in X and accumulated T, C and N are saved so that additional data points may
into M is rounded to two decimal places. Register A is be entered or deleted, and new mean and standard
cleared. deviation values calculated.
8·51
Correlation Coefficient and Slope Key, "COR SLOPE" Y·lntercept Key, "INT"
The c'orrelation coefficient and slope of a least squares After the, "COR SLOPE" key has been used to compute
line fit of accumulated paired data values (that have a least squares line fit on a set of paired data values,
been entered with the "~x" and "~y" keys) are any y-coordinate corresponding to a given x·coordinate
computed with a single key stroke. The correlation lying on that line can be computed by entering the
coefficient is stored in registers X and S (and therefore is x·coordinate in X, and depressing "INT."
the initial result displayed). Slope is in M and is obtained
by using the "M R" key. Registers T and C are lost.
TABLE II. Summary of Statistical Functions
X .. y
x + c -+ C. where c - original value of C
X2 + t -+ T, where t = original value of T Increments n
n + 1 -+ N. where n = original value of N
C _ !:x
_"X X =-
N n
ff. -~
2 I~xl'
rx - -
n
--"M SO,
N-1 n-1
C'A ~X' ~y
s-- I:x'Y- - n -
N
---"M
c'
T- -
N
A-M' C m' ~x rv -
---"A b=---
n
N
EXAMPLES
1. Addition or subtraction 2.0 3. Chain multrplication or division
3.2
-12.3
KEYS DISPLAY COMMENTS
KEYS DISPLAY COMMENTS
al 1
2 1.
+ 2,
2
3 3 2,
3,
3 3
3.2 3,
5,2 3,1
1 x 6,2
12 4 4
1 2. 4.
1 2,3 4,2
-7,1 26,04
C 0,
,8·52
EXAMPLES (Continued)
(5 + 4) x (3 + 2)/(6 + 7) =
KEYS DISPLAY COMMENTS 9. Accumulate in memory. recall and clear memory
5
5. KEYS DISPLAY COMMENTS
4
a) 3
9.
9.
3
3.
2
M+
4
M+
5
3.
4
4.
5
Accumulate in memory
8-53
EXAMPLES (Continued)
8-54
STATISTICAL FUNCTION EXAMPLES (Continued)
ff~
LEAST SQUARE~\ ~y 2. ny = 2
(y)
LliE F~T-"
4
-I "SLOPE
8 8. Wrong data point is
removed
3
2 I ¥ REM x
9
1.
9
n. : 1
1 ;t' T'-
I
GIVEN DATA
POINTS
1
1-
REM y
1
~x
1.
1
2.
ny = 1
n. = 2
0 1 2 3 4 5 6 1 8 4 4
(x) ~y 2. ny = 2
0 0
~x 3. n. = 3
b) Data: 2, 5 3 3
1,4 ~y 3. ny = 3
\ 0,3 COR·SLOPE ·1. Correlation coefficient
is displayed
KEYS DISPLAY COMMENTS Slope is displayed
MR 1.
CA O. 3 3 For x = 3,
2 2 INT 6. the y·intercept is 6
8·55
~.. Calculators
DIGITI
The Ready output signal is used to indicate calculator
status. It is useful in providing synchronization informa- K4
tion for testing or applications where the MM5764 is K3 5
, used with other logic or integrated circuits; e.g., with the SWITCH
INPUTS
MM5765 Programmer (Figure 3). K2
[
KI
Thirty-two keys are arranged in a four-by-nine matrix
as shown in Table I. There is an automatic constant Voo 17 SEGMENT D
feature ..
SEGMENT G
8-56
absolute maximum ratings
Voltage at Any Pin Relative to Vss. (All other Vss + 0.3V to Vss - 12.0
pins connected to Vss) .
Ambient Operating Temperature O°C to +70°C
Ambient Storage Temperature -55°C to +150°C
Lead Temperature (Soldering, 10 seconds) 300°C
dc electrical characteristics
PARAMETER . CONDITIONS MIN TYP MAX UNITS
ac electrical characteristics
PARAMETER CONDITIONS MIN TYP MAX UNITS
8·57
REAr
I I
I
:1
KI S. Sb Sc Sd S. SI Sg dp dp Sy SI Se Sd. Sc Sb Sa NSAI298
K2 lllllllllllll~llll
C/. C/. C/. C/. C/. c/. C/. C/. C/.
K3 MM5764
--{K4 01 02 03 04 05 06 07 08 09 I 09 08 07 06 05 04 OJ 02 01
~ ~ T
LV GNO Vee r-
INO
~ ~ ~ ~ ~
~ ~ ~ "0-...... ----+ 9V
MAllORY
MN1604
~ ~ ~ --
~'-
OR
\
EOUIV.
POWER
~ ~ ~ ~ OM8864 ::J
~...... i'o-....... .~ ~
~ i'o--,- ~ ~
...... ~ ...... ~
....... ......
KEY80ARO
Note: See Tebl.1I for KIY Matrix Designation••
DIGIT r - - - - - - - - - - - - - - W O R O T l M E - - - - - - - - - - - - l 1
OUT;,UTS
-J, - - - - - ,I________________________________~r---l~---
-l I-OIGITTIME I
02
-+---!
03
-+---+--~
09
DECIMAL
POINT--Ir-_--1~-__+~
Sb
Sc
Sd
--+--..,...
Se
-+--..,...
SI
~-----+----~----~
Sl_·...;.._ _~
ACTUAL DISPLAY:
09
875 S Lf if? I
• .. 0'
SEGMENT
DESIGNATION
8·58
LED
CALCULATOR
SEGMENT
/! m
DISPLAY
.....
r';"--"'1
(9)
OUTPUT
I
Vee
-_....
--=-
+
(9) (9)
I
I---~
i
: INPUT DM8864
9V
-
"~
DATA (8)
GND
Vss READY
4X 9
OAT A
~ KilO', RUNILOAO
MM5165
KEYBO ARD
AN 0
1X4
CONTROL
K5
Voo
ALARM
LED
""'"
POWER
. .
KEYBOARD BOUNCE AND NOISE REJECTION valid, then goes low as indicated in Figures 4 and 5. It
remains at a Logical Low Level until the function initiated
The MM5764 is designed to interface with most low by the key is completed and the key is released. The low
cost keyboards, wh ich are often the least desirable to high transition indicates the calculator has returned to
from a false or multiple entry standpoint. an idle state and a new key can be entered.
The Ready signal indicates calculator status. When the The calculator automatically changes to the chain mode
calculator is in an "idle" ~tate the output is at a Logical . when a "x" or "-;-" key occurs in the calculation. In
High Level (near Vss ). When a key is closed, the internal the chain mode, the result of each "x" or "-;-" key is
key entry timer is started. Ready remains high until the stored in both X and T-registers. A new entry replaces
time-out is completed and the key entry is accepted as X without altering T. At the completion of a chain
?-,59,
TABLE I. Mode Summary
CONSTANT "CLEAR" Depression of an "=," "=: +" or "%" key will multiply
MULTIPLY the X·register by the T·register and replace X with the
"=+" product. T remains unchanged.
"%"
CHAIN "X," Depression of an "=," "= +" or "%" key will multiply
MULTIPLY following a terminator, or "+" the X·register by the T·register and place the product in
or "x" operation X. T remains unchanged.
CONSTANT
DIVIDE "-- +"
"%"
) With calculator
previously in chain
divide mode.
Depression of an "=," "= +" or "%" key will divide the
X·register by the T·register and replace X with the
quotient. T is unchanged.
CHAIN Depression of an "=." "= +" or "%" key will divide the
DIVIDE following a terminator or "+" T·register by the X·register, transfer X to T, and. place
or "x" operation the quotient in X.
NEW
KEY IS KEY IS
L- -I
DEPRESSED
~ 1- 9 WORDS 1 - t
RELEASED
READY
l WHICHEVER IS .
LONGER. !n
t!--------~ t.
NEW KEY HAS NEXT KEY
BEEN ACCEPTED CAN BE
BY CALCULATOR. ENTERED.
THE KEY MAY
BE RelEASED.
calculation, the T-register will contain the value used as "-," or "M+" following a "+" or "-" key transfers the
first factor of the last multiply, or the latest entry if. the existing number in the X-register to the A-register before
last operation was a divide. clearing and placing the new entry in X.
8·60
Decimal Point, ..... in X. Register T remains unchanged. In the chain divide
mode, depression of "=" will divide T by X, transfer X
As the first depression of a number entry, it clears the to T, and place the quotient in X. If the calculator is in
X·register and places a point in the leftmost digit. If the constant multiply, "=" will multiply X by T, place the
previous key was a number, it enters a decimal point product in X and retain T. For constant divide, the
to the right of the last number entered. Following a X-register is divided by T, the quotient is stored in X;
"+," "-:' or those keys preceding a "M+" key, the T is unchanged.
X-register is transferred to A, cleared and a decimal
point entered in the leftmost digit. The last decimal The "=" key always rounds the answer stored in X to
point depression in a single number entry is accepted as two places to the right of the decimal point, and clears
the val id point. register A.
Changes sign of register X. This key acts exactly like the "=" key except the value
of X is divided by 100 and copied in register A before
Addition Key, "+" performing the required operation. The result stored in
X is rounded to two decimal positions.
If the previous key was not a "+" or "-" key, the number
in the A-register is added to the X-register, X is transferred . Memory Plus Key, "M+"
to A, and the sum is stored' in X. When the last key was
a "+" or "..;.." key, the number in A is added to the The ~umber in the X-register is accumulated in the
number in X without destroying the value of A. The M-register. Registers X and A are not changed, so the
sum is stored in X. repeat addition or subtraction conditions that existed
before accumulation to memory remain valid.
Subtraction Key, "-"
Memory Recall Key, "MR"
If the previous key was not a "+" or "-" key, the number
in the X-register is subtracted from the number in the The value of register M is copied into the 'X-register. If
A-register, X is transferred to A, and the difference is the preceding key was a "+," "-" or "M+" followed by
stored in X. When the last key was a "+" or "-" key, "+" or "-," the value of X is transferred to the A-register
the number in A is subtracted from X without destroying before M is copied into it.
the value of A. The result is stored in X.
Memory Clear Key, "MC"
Multiplication Key, "x"
The M-register is cleared, without affecting any other
If there has not been an "x" or ".;." key since the last registers.
terminator key ("=," "= +" or "%"1. the value of the
X-register is copied into the T-register and the calculator Reciprocal Function, "'/x"
is set to the chain multiply mode. In a chain calculation
in which there has been a "x" key since the last terminator If the number entry key. "1" is preceded by either the
or ".;." key, X is multiplied by T and the resulting forward or reverse conversion shift keys, .. ~" or "+-,"
product is stored in both X and T; if a ".;." key has a non-zero value of X is replaced by its reciprocal.
occured since the last terminator or "x" key, depression Registers A, T, K and M are not altered.
of "x" will divide the T-register by the X-register, with
the quotient stored in both X and T. Square Root Function, '\/x"
Division Key, ".;." If the number entry key "2" is preceded by either the
forward or reverse conversion shift keys, ..~" or "+-," the
If there has not been an "x" or ".;." key since the last absolute value of X is replaced by its square root.
terminator key ("=," "= +" or "%"1. the value of the Registers A, T, K and M are unaltered.
, X-register is copied into the T-register and the calculator
is set to the chain divide mode. In a chain calculation if a Pi-function, "11"
,"X,',' ,key has occured since the last terminator or ".;."
key, X is multiplied by T and the product is stored in If the decimal point entry key is preceded by either the
both X and T; if a ".;." key has occured since the last forward or reverse conversion shift keys, "~ .. or "+-,"
terminator or "x" key, depression of ".;." will divide the value of X is replaced by the constant 3.1415927.
the T-register by the X-register, with the quotient stored
in both X and T. Equal Plus Key "=+"
Equal Key, "=" This key acts exactly like the "=" key followed by a
"M+" key. The multiply or divide is executed the result
In the chain multiply mode, the value in the X-register is rounded to two places then the rounded result is
is multiplied by the T-register with the product stored added to the Memory.
8·61
~
<0
"~
It) TABLE II. Summary of Key Functions
K1-D1 N/C
K1-D2 Minus, "-"
K1-D3 Plus, "'+"' "'+"' "'+"'
K1-D4 Divide, "'7"' "..:...."
"9"
K3-D6 Xo • (29.5737) -> X Xo 7 (29.5737) -> X
Oz -> cc
"8" .
K3-D7 Xo • (0.946333) -> X Xo 7 (0.946333) --> X
Quarts -> liters
"'7"
K3-D8 Xo • (3.785332) -> X Xo 7 (3.785332) -> X
Gal -> liters
"6"
K3-D9 Xo' (16) -> X X O '7 (16) -> X
Lb--> oz
"'5"
K4-D1 Xo • (28.3495) -> X Xo 7 (28.3495) -> X
Oz --> grams
"4"'
K4-D2 Xo • (0.453592) -> X Xo 7 (0.453592) -> X
Lb -> kilogram
"3"
K4-D3 Xo • (14) -> X Xo 7 (14) -> X
Stone -> Ib
"2"
K4-D4 A->X rxo.-> X
Square Root, "VX"'
"'1"
K4-D5 1/Xo->X l/Xo --> X
Reciprocal, "1/X"'
"0"
K4-D6 Xo • (9/5) + 32 -> X (X o - 32) • 5/9 .... X
OF -+ °c
K4-D7 Reverse Shift, "<--"' "-+-" "-+-"
Percent, "%"
K4-D8 Xo • (43560) .... X Xo 7 (43560) .... X
Acre .... Sq. ft
u8·62
3:
EXAMPLES 4. Constant multiplication or division 3:
U1
1. Addition and subtraction of a column of numbers:
a)
KEYS
3
DISPLAY COMMENTS
'"
en
~
2.0 3.
3.2 2
-12.3 6.
4
KEYS DISPLAY COMMENTS 12. First factor in constant multiply
5
2 5.
2. 2 is entered 5.2
3 1 5.6
3. 46.8
3.2
5.2 2 + 3.2 is displayed b) 5
1 5.
12 2
12. 2.5
12.3 4
-7.1 12.3 is subtracted from 2. Second factor in constant divide
C O. (2 + 3.2) 5
5.
5.2
2.6
2. Repeat add or subtract 1.3
b) Division
KEYS
3 3
DISPLAY COMMENTS GIl
10 10 0 30
10. 0 300
2 300.
5. 10.;. 2 is computed 300.2
10 10 300.25
.5 5.;. 10 is computed, 300.25
2 5
.2 5 0.5 .;. 2 is computed % 15.01 "Live %" key; rounded
two places
,8-63
~
to
EXAMPLES (Continued) 10. (Continued)
"
Lt)
~
7. (Continued) KEYS DISPLAY COMMENTS
6 6
KEYS DISPLAY COMMENTS'
6.
b) Discount 7
=+ .86 Rounded to 2 decimal places
9
53 CS -9 Note method of multiplying
532 -9. negative number
532. 4
532.1 =+ -36. -9 x 4 = -36 is added to M
532.1 MR -7.54
6
% 31.93 6% of 532.1 is displayed
500.17 532.1 - 6% is displayed
11. Square root and reciprocal calculations.
8. Perform change sign Find square root of 70064:
KEYS DISPLAY COMMENTS KEYS DISPLAY COMMENTS
1 1 70064 70064
2 12 70064. Either shift key could be
CS -12 Change sign does not used to set up.JX function
3 -123 termi nate entry. 2 (,./X) 264.69605 Square root is computed
-123. Either shift key could be
CS 123. used to set up 1IX function
5 123.5 1 (l/X) .00377791 Reciprocal is computed
CS -123.5
6 -123.56
a,l .3 2
. M+ 3. Accumulate in memory 2.
4 Either shift key.could be
M+ 4. Accumulate in memory used to set up 11
5 • (11) 3.141 5927
5
MR 7. Recall memory x 6.2831 854 211 is computed
MC 7. Clear memory 6.8 6.8
MR O. 42.73
b) 5 5
5. 13. Use of conversion keys:
6
+ 11. KEYS DISPLAY COMMENTS
M+ 11. Accumulate 'in memory
7 7 2
in -> cm 5.08 Two inches is converted
+ 18.
M+ 18. Accumulate 11 + 18 in memory to cm
25. Repeat add in-> cm 12.9032 Two square inches is con· .
3 3 verted to square cm
2 32 in-> cm 32.774 1 28 Two cubic inches is con·
32. verted to cubic cm
2 32.2 32.774 1 28 Reverse conversion mode
CS -32.2 is set
M+ -32.2 (11 + 18)'- 32.2 is accumulated in -> cm 12.9032
9 9 in memory
C O.
34. 5 5
MR ':'3.2 Accumulated value of M 5. Data entry is terminated
30.8 is recalled and forward conversion
MR -3.2 Accumulated value of M mode is set
MC -3.2 7 (gal->Iiters) 18.92666 Five gal. is converted to
is reclliled
liters
10. Accumulate in memory with the "= +" key Last shift key is valid
direction
KEYS DISPLAY COMMENTS
8 (qts ->Iiters) 20. Liters -> qts computed
MC O. 12.5. 12.5
C O. KS 12.5 Entry is stored in K
5 5 2 2
x 5. 2. Forward shift sets up K
3 3 conversion
=+ 1 5. 5 x 3 = 15 is added to M KS 25. Multiply by K
4 4
4. . KS 2. Divide by K
2 4.2 C O..
x 4.2 77 77 77° F is entered
3 3. 77.
=+ 12.6 4.2 x 3 = 12.6 is added to M o (oF->°C) 25. 77°F is converteq to °c
8·64
keyboard outline
11 x
0
-
----- oz~lb
6
Ib~stn
CE/C
F~ C 1T
8·65
Calculators
voo K3
K4 K2
K5 KI
I
READY 05
MAIN
RUN/LOAD 09
CONTROL
::;:~~
•
"':-012
INPUTS
DIGIT
TEST 08
ALARM 08
+-+KI
I/O
TIMING +-+K2 KEY
AND +-+K3 ~/~ITCH OIl 01
CONTROL
..--.K4 14
03 04
+- LOAD/RUN MODE
READY 13
02 DID
ALARM
TOP VIEW
Order Number MM5765N
FIGURE 1 See Package 21
8-66 "
absolute maximum ratings operating voltage range
Voltage at Any Pin Relative to Vss Vss + 0.3V to Vss -12V Vss -6.5V ~ Voo ~ Vss --9·5V
(All other pins connected to Vss)
Ambient Operating Temperature oOe to +70o e (Vss is always the most positive supply)
to +150 e
o
Ambient Storage Temperature -55°C
Lead Temperature (Soldering, 10 seconds) 300°C
dc electrical characteristics
PARAMETER CONDITIONS MIN TYP MAX UNITS
ac electrical characteristics
PARAMETER CONDITIONS MIN TYP MAX UNITS
8·67,
(8)
1(8)
Vss SEGMENTS
OUT
~ INPUTS
SWITCH
CALCULATOR VDD I"""" CJ CI CJ..• . 1=1 1=1
(n)
DIGIT
1_1.1_1. Ll. 1_1.1_1.
DISPLAY
OUTPUTS READY
f
--
1m) (m)
I KE~~
-- -~
Xn)
OARO
(m)
Vee
DIGIT DRIVER
I MAT RIX
I
L~5-- __ .-l GNO
(m·1)
...
, Vss DIGIT READY
INPUTS
A
SWITCH
I/O', MM5165
ALARM -r+-- LOAD
PROGRAMMER
--.;!;..
9V
MODE
--+ K5 RUN/LOAD
SWITCH
BATTERY
;~ ~-
VDD RUN 0
I POWE R SWITCH
ALARM
INOICATOR
LEO
I_--------WORDTIME ------~--~
DIGIT TIME
'----
DIGIT 2
INPUT
~----------~--~;-
DIGIT 3 V'H
INPUT
DIGIT 4
INPUT
Kl SWITCH I/O
WITH
KE~~~~E;;ED _ _ _ _ _ _J
0lGIT3
INPUT
Kl SWITCH
I/O
OUTPUT TIME --
Kl SWITCH /
Kl - 03 KEY IS
-,
OUTP~~ _--'--II....\..I:Il~1....I--'-~J""<_--------------
Kl ·03 KEY RELEASE
K2 SWITCH ENTERED INTO TIMED OUT
CALCULATOR BY CALCULATOR
OUTP~~ _ _ _ _ _ _ _ _ _ _ _ _.... 1_,....
1 ....1--'-1....1--'-1....1_ _ _ __
8-68
TABLE I. Action of Dynamic Control Keys as a Function of The LOAD/RUN Mode
START Clears and initializes program storage Starts program when stopped in HAL T
area. mode. Starts first program.
SKIP Terminates current program and Skip remainder of current program and
initializes a new one. begins execution of next one.
Actual storage of the sequential key information is in a 2. With the Mode Switch in the Run -position, Start
612·bit shift register (see Figure 1). Each input char· begins execution of the first program, or if pausing
acter is encoded into a six·bit word and placed in the in the Halt Mode, continues the program. This key
I/O register. If a Ready input confirms the character has is not seen by the calculator and therefore has no
been accepted by the calculator as a valid key entry, or ·affect on the calculations in progress.
the internal key debounce circuit in the case of Switch
Input K5, the new key information is transferred by The Start key is timed out by the key bounce·out
the commutator to the storage register. It is always stability timer of the MM5765 on both key entry and
placed in sequence at the end of the existing program, release.
and an internal pointer is advanced six bits. The control
word detector keeps track of the pointer and special
codes required for control and alarm situations. In the TABLE II. Control Signal Input, K5, Keyboard Matrix
Run Mode, characters are sequentially transferred into
the I/O register, decoded on command of the Ready
CONTROL KEY DIGIT TO
signal and entered into the calculator via the appropriate
FUNCTION K5 CONNECTION
Switch Input Line.
START 05 to K5
When the MM5765 is used with calculators with long
SKIP 06 to K5
execution times; it may be useful to use a buffered ~
8·69
Ln
~ complete program has been deleted. A new Skip if a Skip code is deleted or an attempt is made to delete
Ln will reinitiate the deleted program; otherwise, sub· the Start code (beginning of first program).
:! sequent deletions or additions will be to the pre·
:! vious program. The Delete key is debounced by the MM5765.
2. In the Run Mode, if the MM5765 is at a Halt, the Switch Input K5 Keyboard Bounce Protection
Skip key will cause the remaining steps of the
current program to be skipped. Execution auto- The MM5765 programmer chip is designed to'interface
matically begins again at the start of the next program 'with most low-cost keyboards and has characteristics
and continues to the first programmed Halt; in the identical to the standard NSC calculator keyboard bounce
absence of, a Halt, execution will continue to the protection circuits.
end of the program.
A control key closure is sensed when Switch Input K5 is
Depression of this key is not seen by the calculator and forced more positive than the Logical High Level speci-
does not affect its status. The Skip key is timed out by fied in the Electrical Specifications. At the instant of
the key bounce·out stability timer of the MM5765 on closure, an internal "Key Bounce-out and Stability
both key entry and key release. Time" counter is started. Any significant voltage per-
turbation occurring on the K5 input during timeout will
reset the timer. Hence, a key is not accepted as valid
"Halt" Key
until noise or ringing has died out and the stability time
The Halt key is a dynamic key that has a function only counter has timed-out. Noise that' persists will inhibit
in the Load Mode. It is ignored in the Run Mode: key entry indefinitely. Release is timed in the same
manner. The actual control operation is performed by
The Halt key is used to program a data entry pause in the MM5765 after the release is ,validated, to differen-
the playback of a key sequence. When a Halt occurs in tiate the action from a calculator key.
the program sequence during operation in the Run Mode,
the MM5765 ignores all key entries except Start or Skip.
The calculator chip accepts all nonprogrammer keys in ALARM CONDITIONS
the normal manner so that constants or variables can be
entered, or intermediate calculations can be performed. An alarm condition will be indicated by the MM5765
The operator may use the Halt as a decision making program chip as a Logical High, Level output on pin 7.
point where he has the option to continue the program An alarm condition can exist due to three circumstances:
in a number of ways based on an intermediate result;
e.g., skip to another program, restart the pr,esent pro- 1. All 102 storage locations in the storage register
gram, or even go to a co-routine in a second MM5765 are full. The Alarm is reset by entering a Delete
program chip. key or if the mode is changed to Run and any key is
pressed. When the storage register is full, subsequent
If the user switches to the Load Mode during a Halt, data keys are ignored; the existing program is not
execution of the current program will be terminated disturbed.
and the MM5765 will be ready to store additional keys
at the end of the last program. If the mode is then 2. An attempt is made to delete a Start key code in
returned to Run, Start will begin execution at the be- the storage register during editing of a program.
ginning of the first program. The alarm is set and the Delete key is ignored. Any
of the calculator keys, the Skip or Halt keys or
The Halt key is debounced by the MM5765. moving the Mode Switch to Run and pressing any
key will reset the Alarm. '
"Delete" Key
3. A Skip key code is delete~ from the storage register
The Delete is another dynamic control key that functions while editing. The alarm is set and the Skip is
only in the Load Mode and is ignored in the Run Mode. deleted. An'y calculator or programmer key, or
switching to the Run Mode and pressing a key
It provides a method of editing by erasing the end step will reset the alarm condition. If a Skip key is not
of the program. It is essentially a "backspace" key. re-entered, new key entries will be appended to the
Multiple Deletes can be used to remove several steps previous program, and the original program being
or even complete programs, but the Alarm will be set edited will no longer exist.
TABLE III. Rel::ly Signal Description
Key entry and 'functional operation When a key is depressed, the calculatorbounce-out stability timer
is initiated. Ready remains high until the bounce-out time is
completed and the' key is entered" ~twhich time it changes to a
Logical Low Level ('VV oo ).
Keynllease and return to idle Ready remains low until key release is debounced and the'
calculator returns to the idl,e state, The low to high transition
'signals the return to idle.
8,70
TABLE IV. Mode and Alarm Truth Table Mode to finish. If the program does not approach the
102 key capacity of the MM5765, you may wish to
simply use the calculator functions (such as Clear Entry)
PIN MODE LEVEL to correct the error situation even though they will be
included in the stored program.
RUN LOW
Load/Run Input When the program is correctly loaded move the Mode
LOAD HIGH
Switch to Run. The program is now ready to be
ACTIVE HIGH executed. Additions can be made to the program (even
Alarm Output after execution in the Run Mode) by returning to Load.
INACTIVE LOW New key entries will be automatically appended to the
end of the existing stored sequence .. By executing the
program before returning to Load, the calculator display
will have a valid display and be in the correct state for
TYPICAL OPERATION properly displaying the new key additions. In this
manner long programs may be constructed by connecting
together a series of short sequences which are debugged
Loading a New Program as you go (reducing the possibility of error and min·
imizing cpnfusion).
At power·on, the MM5765 automatically clears and
initializes the storage register. All that is necessary to
start programming is to switch to the Load Mode. If
unwanted programs already exist in the storage register Running a Program
from previous operations, switching to the Load Mode
and depressing Start will clear the memory and initialize Use of a stored program requires only that the calculator
a new program. be preconditioned, if necessary, and the Start key
depressed while in the Run Mode. The program will
Programming is accomplished by simply keying the continue to the end, or until a Halt is encountered in
calculator in the normal manner. The MM5765 memo the key sequence.
orizes each key in the sequence entered. I t is usually
convenient to have the calculator displaying as the pro· Halts act as a pause during execution to permit entry of
gram is entered to catch entry errors and keep track of variable data, manual calculation of data, or checking of
progress. However, it is necessary to consciously con- intermediate values. They are also available as user de·
sider the anticipated results when p"rogramming to ensure cision points for jumping to subsequent programs and
a meaningful display at each step. For example, wherever can provide the capability for multiprogram labeling.
variables ,are to be entered in the program, the Halt When a Halt is encountered during execution, the
key is used rather than any numeric value. Because the MM5765 stops making key closures and returns control
calculator chip does not see a Halt, the display will no to the keyboard.
longer be correct as the remainder of the sequence is
loaded. One convenient way around the problem is to "Upon reaching the end of a program, the internal
depress and hold the Halt key down while a dummy pointer will return to the beginning and wait for another
variable is entered into the calculator. The depressed Start key.
Halt key will lock-out the MM5765 without affecting
the calculator. An alternate approach would be to enter As discussed above, programming certain sequences can
the Halt'and the dummy variable, followed by the proper result in errors in the calculator chip either during load·
number of Delete keys required to erase the dummy ing or during execution. If an error occurs as the
variable from the storage register. Either approach re- program is loaded, the MM5765 will continue to store
sults in a valid calculator display and stored program key depressions as they are made-independent of the
during programming. calculator. Such a situation exists if a calculation results
in overflow during execution of a stored program. The
Because the primary reason for using a key sequence MM5765 continues to step through the sequence com-
programmer is to allow convenient recall of often used pletely independent of calculator status as long as the
routines or in optimizing a particular solution by iter· Ready signal responds properly. '
ating a function many times with a variety of input
variables-in other words, many iterations of a common
sequence-it is always worth the time to spend a few MUltiple Programs
minutes planning the best way of entering the program.
Learning what the calculator should be displaying at Use of the Skip key in the Load Mode codes that
each step of the programming can be done conveniently location as the beginning of a new program, just as the
by keying the program while in the Run Mode, using Start key is used to initialize the first program. All other
the proper dummy variables, and jotting down inter- aspects of loading the program are the same.,
mediate results. In this manner potential calculator
overflow conditions are caught, and subsequent Load When. a program stops at a Halt during. execution, the
Mode entry errors can be easily detected.· When an user has the option of pressing the Skip key to jump to
entry error is made while programming in the Load the next program or the Start key if he wishes to con·
Mode, use the Delete key to erase as many steps as nec· tinue the original sequence. When control passes to the
essary, switch back to the Run Mode and depress Start next program, execution begins and proceeds to the end
to correct the calculator display and return !o the Load of that program or until a Halt is encountered.
10
CD
r-.. This property of automatically, executing a program LOAD/RUN , LOAD
V..
10
~
down to the first Halt provides a convenient method of
labeling multi programs. For example, entering a program MM5765
PROGRAMMER
MODE
r QSHP
QRUN
I I
to the beginning of that program and execute it to the
first Halt. Assuming a Skip-3-Halt sequence was used at
x = ySin
-- 8
the front of the program, a "3" would be displayed by 8
the calCulator. If the operator had wished to re'run Pro- '
gram 1, instead of advancing to Program' 3, he would
have used. Start (internal pointer is initialized). Start
(displays shows "1") and Start (program is. executed). With a programmer and even a simple calculator like the
For a rerun of Program 2 from the last Halt of Program MM5738, this problem can be repetitively solved easily
2, he would push Start (internal pointer is initialized) without tables. First, program the sequence for approx-
and Skip (pointer locates the top of Program 2, executes imating sin8 using
to first Halt and calculator displays "2").
8-72
Example 1 (Con't)
KEY DISPLAY RUN/LOAD COMMENTS
C Load
C 0 Load Clear calculator
2 2 Load Dummy variable "2" for 0 is entered.
Start 2 Load MM5765 is initialized.
MS 2 Load
X 2 Load
4 Load 02 is formed
4 Load
20 20 Load
X -16 Load
MR 2 Load
X -32 Load
MR 2 Load
2
+ -64 Load (0 2- 20) 0 is formed.
122 122 Load 122 is an entry error
C -64 Load After entering "C", operator can simply
Delete -64 Load continue by entering 120, or can correct
Delete -64 Load program sequence by deleting last four
Delete -64 Load keys. Result is the same, except the second
Delete -64 Load alternative would use less program storage.
120 120 Load
X 56 Load
MR 2 Load
1 12 Load
120 120 Load
0.9333333 Load Sin 0 for 0 = 2 radians is displayed
1T 1T
Check program by executing with 0 = - , -
4 3
Now we would like to add to the same program the rest of the expression:
Sin 0
Y--
o
KEY DISPLAY RUN/LOAD COMMENTS
8·73
Example 1 (Con't)
Problems can now be solved using the program.
Sin(O.72)
Evaluate: 0.54----
-0.72
PROGRAMMING
As an example of a multiprogram application, consider an automobile salesman who needs to calculate price plus sales
tax, down payment and monthly payment on new cars many times a day. Again assume use of the MM5738 (although
more powerful NSC calculators could obviously make the problem even easier). To simplify the example, assume the
finance time is fixed at 36 months and the interest rate at 12% of the unpaid balance.
C Load
Start Load Clear calculator and programmer. Label
1 1 Load Program No.1
Halt 1 Load
C 0 Load Clear program label.
5 5 Load Sales tax = 5%. .
% 0.05 Load
X 0.05 Load
Halt 0.05 Load
100 100 Run Load dummy variable for car price. Switching
MS 100 Load to Run is another method of entering a dummy
+ 5. Load variable without having to Delete.
K= 105. Load
Halt 105 Load Program No.1 displays price + tax amount.
Skip 105 Load Initialize Program No.1
2 2 Load
Halt 2 Load Label Program No.2
C 105 load Clear program label.
Halt 105 Load "Halt" for down payment %.
20 20 Run Dummy down payment %.
% 0.20 Load
X 0.20 Load
MR 100 Load·
20 Load
Halt 20 Load Program No.2 displays required down payment.
Skip 20 Load Initialize Program No.3.
3 3 Load
Halt 3 Load Label Program No.3.
C 20 Load Clear program label.
20 Load
MR 100 Load
-80 Load Program No.3 computes monthly
MS -80 Load payment from equation
1.01 1.0 1 Load
X 1.01 Load Monthly payment = [Total loan (1 + i/q)nq/nq]
1.01 1.01 Load i = interest per year, 12% is assumed.
1.0201 Load nq =total number of months =36
q = 12 months per year
(1 + i/q) = 1.01
8·74
PROGRAMMING (CON'T)
EXECUTION OF PROGRAM
Salesman has potential customer for $4995.95 automobile. Bank requires 20% down. The customer wants to know
amount of down payment and monthly payments over 3 years at 12%.
8·75
Calculators
general description
The. MM5766 provides a convenient and inexpensive Up to four switch inputs (K1, K2, K3 and K4) and up
means of adding "learn mode" programmability to the to twelve digit lines are connected in parallel with the
National Semiconductor MM5758 scientific calculator calculator switch and digit terminals that scan the. key-
chip. The monolithic MOS integrated circuit combines board. Keys stored in the MM5766 that are entered by
P·channel enhancement and depletion mode technolo· selecting K 1 through K4 are encoded simply as matrix
gies to obtain low voltage and low power characteristics positions, i.e., a particular switch input at a specific
necessary· for economical battery·powered products. digit ·time. Therefore it is the key matrix address that is
stored and not the key function. Please refer to the
The MM5766 is a dynamic key sequence programmer MM5765 data sheet for a detailed functional description.
that memorizes any combination of key entries while in
the Load Mode, then automatically plays back the pro·
grammed sequence as often as desired in the Run Mode. features
Up to 102 characters can be stored in multiprogram
sequence blocks. Each block, or program, can be exe- • Any key sequence, including constants and data entry
cuted individually or the operator can make the decision points, may be stored automatically in the Load Mode
to branch to specific programs, run each. in series or and executed in the Run Mode.
perform intermediate calculations from the keyboard. • 102 step storage capacity of up to 47 different keys
When programming irl the Load Mode, the Delete key a
arranged in 12 x 4 matrix.
provides a convenient editing feature. and the Halt key
• Multiprogram capability
programs variable data entry points where control is
temporarily returned to the operator in the Run Mode. • Provision for editing in Load Mode using the Delete
Start and Skip keys control operation in both modes. key
• Convenient verification of programs using a Step
Synchronization with the calculator chip is accomplished Mode feature
by monitoring its Digit Output and Ready signals. The
digit signals give timing information while the Ready • Alarm for full storage condition-or if a deletion of
indicates status of the calculator and synchronizes the the first step in a program is attempted
key entry interface between it and the MM5766. • Power-on clear
22
voo K3
21
K4 KZ
K5 Kl
READY 05
RUN/LOAO 09
MAIN TEST DB
CONTROL
+-01
+-;-"D2 DIGIT ALARM 06
INPUTS
~012
011 07
+-+Kl
1/0
+-+K2 KEY
TIMING
SWITCH 03 04
AND . . . . K3 1/0
CONTROL
. . . . K4
02 DID
+ - LOAO/RUN MODE
vss 012
TOP VIEW
FIGURE 1
8·76
absolute maximum ratings operating voltage range
Voltage at Any Pin Relative to Vss Vss + 0.3V to Vss - 12V V ss -6.5V::; Voo::; V ss -9·5V
(All other pins connected to V ss )
Ambient Operating Temperature O°C to +70°C (Vss is always the most positive supply)
Ambient Storage Temperature -55°C to +150°C
Lead Temperature (Soldering, 10 seconds) 300°C
dc electrical characteristics
PARAMETER CONDITIONS MIN TYP MAX UNITS
ac electrical characteristics
PARAMETER CONDITIONS MIN TYP MAX UNITS
Digit Input Time (Figure 3) 70 IlS
Word Time (Figure 3) 0.64 ms
Switch Input Time (Figure 3) 70 IlS
Switch Output Time
(Figure 4)
70
15 26
IlS
IlS
[:)I
tR and Switch Output Transition Time CLOAO = 100 pF, (Figure 4) 2 IlS
tF
Switch Input K5 Key Bounce·out 4.5 17.0 ms
Stability Time
(The time a keyboard input must be
continuously higher than the minimum
Logical High Level to be accepted as a
key closure, or lower than the maximum
Logical Low Level to be accepted as a
key release, i.e., 6 or 7 cycles of D2.)
8-77
'121
z31
1 Vss Voo
Kl
Z (8) I\.. SEGMENT
KZ OUTPUTS TO
3 MM5758 DS8867 SEGMENT
K3
4
K4
D. D. Dc Do ROY " DRIVER
5 6 7 8 ZZ
15 14 13 lZ
D. D. Dc Do 11
V
DS8868 116 V
8 7 6 5 4 3 Z 1 18 17 10
91
1
0 +
Z
CS TAN
3 9
9 MS SIN S, f----'
4 Sb _17_ _
8 I!X CDS
6
7 X-Y MR S,~
8 13
6 C ARC lOG HALT Sdf---- FROM
DISPLAY OS8867
I NSA5101 SEGMENT
10
5 EN ROL Y' DElETE S.~ DRIVER
IZ 19
4 vX LM SKIP S,f----
I
I 14 15
3 e' START S,f----
ZO 7
,b-B
Z X Sdp I--< I -
ZI
1 -
~ L..-
-
18
15k
H~
lOOk
100pF ~1
100k~
~Hr
r-)IOOPF
r:vss
Vss
1!474C3~ lZ 8 13 18 17 15 16 19 14 9 ~!474C3Z
~
Z K4 K5 DIZ 011 010 09 08 07 06 05 04 03 OZ
ROY
ZZ 7 .
K3 ALARM
ZI MM5766 6
ZO
KZ
Kl
TEST
Voo
r;- tJ. .,r, Voo
RUN/LOAD
STEP
+3VTD +4.5V
Vee
-k 1 LOAD
~
Vss
Vss PROGRAM
MODE
o SWITCH
Lo-....
ON·OFF
-----...;.;-ovoo
RUN
SWITCH
8·78
f---------WORDTlME------={F
.
DIGIT 1
INPUT VOL
DIGIT 4
INPUT
Kl SWITCH I/O
WITH
KEY DEPRESSED
AT Kl· OJ
READY
"
10%
911"~
~-----H-------....., 1: " 90%
lOY.
f-------,PW-----jl
DIGIT J INPUT
",-
/ \.
DIGIT J
INPUT I I )l I I I I I ~ I I I I I I I I I I I I I I I
RI~~~~ --..J I I
~'ll..... 1 I-;1/
I
Kl SWITCH
liD DUTPUT
1/~2~~~!~~ --------------,Ir-,-r1""""T1-r1-'lrTl-,T"I,-,~~~~-_-_-_-=
K2 . OJ KEY IS ENTERED K2· OJ KEY
INTO CALCULATOR RELEASE
8·79
Calculators
DIGITJ-1.. ~DIGIT4
DIGIT22.. ~DIGIT5
DIGITI.!.. ~DlGIT6
r!!- DIGIT7
SWITCH
INPUTS
["~
KJ..!..
6
~DIGITB
NC"';" ~DIGIT9
TDPVIEW *Optional
Order Number MM5767N
See Package 22
8-80
Typical current drain of a complete calculator displaying The user has access to four registers designated X, Y, Z
five "5's" is 30 mAo Automatic display cutoff is and M. X is the display and entry register, and is the
included. If no key closure occurs for approximately bottom of a "push·up" stack that also includes registers
35 seconds, all numbers are blanked and all decimal Y and Z:
points displayed.
Iz IZ
The keys are arranged in a three·by·nine matrix (Figure
2). In addition to seven arithmetic functions plus loga· Iy Iy 1m 1M
rithmic, trigonometric and accumulating memory
functions, the calculator is capable of calculating yx,
Ix IX
automatically entering 7T and providing degrees/radian Note: Lower case letters designate the data in the register
converions. identified by a capital letter.
READY
I I I
(' S, 5b 5c 5d 5, 5159 OP OP 59 51 5, 5d 5c 5b 5, N5A1298I
1111 111111111111 II
I I
KJ MM5767
C/. C/. C/. C/. C/. C/. C/. C/. C/.
I r--tK4 01 02 OJ 04 05 06 07 08 09
:"1 09 08 07 06 05 04 OJ 02 01
T
LV GNO Vee
IND
r-
r---
-_.....+ 9V
MALLORY
- MNI6D4
OR
POWER~
EQUIV.
KEYBOARD
058864
OR
05887J
0
Kl K3 K4
09 TAN/6
08 COS-'/7 1T/F
07 R --+ o/x SIN-' /8 0*
06 0--+ R/-;' TAW'/9 LN/O
05 M+/+ V-I· Log/1
04 M-/- EXC/EN YX/2
03 CLF/CL MS/MR e X/3
02 CA* l/x / CS COS/4
01 SIN/5
'Keys not included in 20 key version.
8·81
KEYBOARD BOUNCE AND NOISE REJECTION segments and display nine decimal points. Any key de-
pression will restore the display; to restore the display
The MM5767 is designed to interface with most low cost without modifying the status of the calculator, use two
keyboards, which are often the least desirable from a change sign, "CS," depressions.
false or mUltiple entry standpoint.
READY SIGNAL OPERATION
READY .
VOL __--------.J
NEW
KEY IS . KEY IS
t
DEPRESSED L '
1---9WOROS-----
I
t
RELEASED
"'NOISE" "NOISE'!'"
16WORDSAFTER
KEY RELEASE OR
_ _ AFTER CALCULATION
J
iS COMPLETE
r
READY
l •
t~------------------~t
WHICHEVER IS
LONGER. !
NEW KEY HAS NEXT KEY
BEEN ACCEPTED CAN BE
BY CALCULATOR. ENTERED.
THE KEY MAY
BE RELEASED.
8-82
RANGE AND ACCURACY OF FUNCTIONS .jX) have eight digit accuracy. All results are truncated.
Table I summarizes range and accuracy of the other
The smallest magnitude that can be displayed is functions. Arithmetic calculations will be completed in
±O.00000001 and the total range is from -99999999 to less than 0.5 second; all others except yx in less than
+99999999. The arithmetic functions (+, -, x, 7, 1/X, 2.5 seconds and yx in less than 5 seconds.
APPROXIMATE
FUNCTION RANGE
ACCU RACY (Note 1)
~ -90 to '\, 90
0 0
SIN, COS, TAN 7 Digits
0 0
'\, -360 to '\, 360 6 Digits
X~O 6 Digits
""
LN
L±1
n digit accuracy has the nth digit 'from the MSD bei ng displayed accurate within ± 1.
8·83
.Ca leu lators
general description
The MM5777 single:chip calculator was developed using The Ready output signal is used to indicate when the
a metal gate, P-channel, enhancement and depletion calculator is performing an operation (Table I). It is
mode MOS process with low end-product cost as the useful'in testing of the device or when the MM5777 is
primary objective. A complete calculator, as shown in used as part of a larger system and is required to inter-
Figure 1, requires only a keyboard, 'OS8977 digit driver, face with other logic. (Another feature that is important
6 1/4 digit LED display, an NSA 1161- and a 9V battery in such applications is the ability to reduce the key
with appropriate hardware. debounce time from seven word times to four word times
by forcing the Digit 6 output high during Digit 7 time.)
Keyboard decoding and key debounce circuitry, all
dpck and timing generation and output 7-segment dis- 'features
plilY decoding are all included on-chip and require no
external discrete components. LED segments can be • 6-digit entry and display capacity for positive and
driven directly from the MM5777 as ittypically sources negative numbers
8.0 mA of peak current. [Note: The typical duty cycle • Four functions (+, -, x, 7)
of each digit is 0.143; average LED segment current is
• Floating negative sign indicator is always displayed
therefore approximately 0.143 (8.0 mA), or 1.14 mAo
one digit to left of MSD
Correspondingly, the worst-case average segment current
is 0.143 (4.5 mAl, or 0.64 mA.) The seventh digit is • Convenient algebraic key entry notation
used for the negative sign of a six digit number and as an • Floating point input and output
error indicator. Negative results less than six digits will
have the negative sign displayed one digit to the left of • Chain operations
the most-significant-digit (MSD). The DS8977 digit • Direct 9V battery compatibility; low power
driver is capable of indicatin'g a low battery voltage con-
dition by turning on a seventh digit segment-which does • Direct interface to LED segments
not hinder the actual calculator operation. • No external components are required' other than
display .digit driver, keyboard and LED display for
Leading and trailing zero suppressi(~>n allows convenient complete calculator
reading of the right justified display and conserves
• Overflow and divide-by-zero error indication
power. Battery life is estimated to be 10 to 20 hours,
depending on battery quality, operating schedule and • Right justified entry and results, with leading and
the average number of digits displayed. trailing zero suppression
READY....!.. 2!.DIGIT 4
8-84
absolute maximum ratings
3:
3:
(11
Voltage at Any Pin Relative to Vss. (All
-...J
other pins connected to V ss). Vss + 0.3V to Vss - 12.0 -...J
o
Ambient Operating Temperature DoC to +70 e -...J
o
Ambient Storage Temperature -55°C to +150 e
Lead Temperature (Soldering, 10 seconds) 300°C
dc electrical characteristics
PARAMETER CONDITIONS MIN TYP MAX UNITS
4
5BO .us
.us
BIll
Digit Output Transition Times CLOAO = 100 pF 2 .us
(t R1SE and tFALLI
Keyboard Inputs High to Low CLOAO = 100 pF 4 .us
Transition Time After
Key Release
..
Ready Output PIop'agation Time
(Figure 3)
Low to High Level (t pOH I CLOAO = 100 pF ~O 140 480 .us
High to Low Level (tpod CLOAO = 100 pF 0.06 0.5 1.5 ms
Key Bounce·out Stability Time 3.40 8.20 29.0 ms
(The time a keyboard input must be
continuously higher than the
minimum logical high level to be
accepted as a key closure, or con·
tinuously lower than the maximum
logical low level to be accepted as a
key release.)
8·85
II 1• • • • • • • I
:1
1
Sa Sb Sc Sd S. St Sg dp dp
I Kl
L CI CI CI CI CI. C/NSA1161
rl
K2 MM5777
K3 01 02 03 04 05 06 07 I • L7. L7. L7. L7. L7. L7.
i'o!-
i'ol-.....
i"o!-......
~
INO
T
LV GNO Vee 1
-
9V-=-
LJ~
'-
POWER
i'c!-....... r--o:......
~...... ~....... ~.......
OS8917
Key Entry and Functional Operation When a key is depressed, the bounce-out stability timer is initiated.
READ Y remains high until the bounce-out time is completed and the
key is entered, at which time it changes to a Logical Low Level ('VV DD ).
Key Release and Return to Idle READY remains low until key release is debounced and the calculator
returns to the idle state. The low to high transition signals the retu,rn to
idle. (The display may lag the READY by up to eight word times.)
The MM5777 calculator chip is designeq to irterface or ringing has stopped and the stability time counter has
with low cost keyboards, which are often the least timed out. Noise that persists will inhibit key entry
desirable from a noise and false entry standpoint. indefinitely. Key release is timed in the same manner.
A key closure is sensed by the calculator chip when one One of the popular types of low cost keyboards
of the Key Input Lines, Kl, K2 or K3 is forced more available, the elastomeric conductor type, has.a key
positive than the Logical High Level specified in the Elec- pressure versus contact resistance characteristic that can
trical Specifications. At the instant of closure, an internal generate continuous noise during "teasing" or low pres-
"Key Bounce-out Stability Time" counter is started. sure key depressions. The MM5777 defines a series
Any significant voltage' perturbation occurring on the contact resistance up to 50 kn as a valid key closure,
switched key input during timeout will reset the timer . providing an optimum interface to that type oJ keyboard
. Hence, a key is not accepted as a valid entry until noise as well as more conventional types.
8-86
ERROR CONDITIONS Decimal Point
In the event of an overflow, the MM5777 will indicate
error in the leftmost digit and at least five of the signifi· First depression of this key in a number entry will enter
cant digits of the answer. Division by zero results in an a decimal point in the LSD position of the display
error indication with six trailing zeros. Once in an error register. Subsequent depressions o'f the decimal point
condition, all keys except the clear key are ignored. key before any function key will be ignored.
When used with the NSA 1161 display, segments f and g
Add, Subtract, Multiply or Divide Keys
will be displayed in the seventh digit in an error
condition.
First depression after a number entry will terminate the
KEY OPERATIONS entry, perform the previously recorded operation, if
any, and record the function key depressed as the next
Clear Key
operation to be performed after another number entry.
Operation after a number entry clears the entry and Subsequent depressions of any function key, without an
displays a previous result. Second depression clears all interceding number or decimal point entry will supersede
registers and displays a zero without decimal point in the previous function as the next to be performed. After
the LSD. Operation after a function key (+, -, x, -7- or =) an equal key, the displayed result of the equal operation
clears all registers and displays a zero without decimal will be re·entered and the function key depressed will
point. Two depressions are always required after power become the next operation to be performed after a
is applied. number entry is followed by another function key
(including equal).
Number Entries
First, entry clears the display register and enters the Equal
number into the least significant digit (LSD) of the
display register. Second through sixth entry shifts the First depression after a number entry will terminate the
display register left one digit and enters the number into entry, perform the previously recorded operation and
the LSD. The seventh, and subsequent entries, are record the fact that an equal key has been depressed.
ignored and no error conditi on is generated. Because Depression after the add, subtract or divide keys, with·
only five positions are allowed to follow the decimal out an interceding number or decimal point entry, will
point, the sixth and subsequent entries after a decimal be ignored. After a multiply key, the number being
point entry are ignored. displayed will be squared.
OIGI
OUTPU
~Sri
f---------WORO TIME---------
Sd
1'--- r--
I
IL----
'---
S.
Ir--
rl Ir---
Sf - I
I
I I I
Sg
L-J I r-
01
ACTUAL
DISPLAY:
02
c, C
1-, _I
03 04
LI ::1 ::1 1
I _I.L 1
05 06 07 01
SEGMENT ffTb
.
07 • • 01 DESIGNATION
·/~/c.
d
8·87
DIGIT7 Vss I
Voo--.l 10% ~_ _ _ _ _ _-I' I--' 10%
Vss --1-------,....-----.,
DIGIT 1 /
Voo --+-_----J
~
POL - j--tPOH
Vss ~-------
:1
0H 90%
READY
VOD _ _ _1_0_%~~VO_L_____________-li
sample problems
I. Single Calculations
5 x 3.14 = 15.7
c
C o
23.37 23.37
+ 23.37
243 243
x 266.37 Function key completes previously recorded "+" operation.
(Wrong Function Key)
266.37 Wrong "X" function key is updated to "-."
489.17 489.1 7
C 266.37
489.16 489.16 Number entry error is cleared and corrected. Note the
222.79 floating negative sign.
B. Find square root of 169 using a modified Newton approximation method. Let N represent the squared number and Xo
the initial estimate. The first approximation, Xl, is
Xl = (N/Xo + Xo)/2
If Xo is 15,
Xl = (169/15 + 15)/2
X2 = (169/X l + Xl )/2
X3 = (169/X 2 + X 2 )/2, etc.
c
C o
169 169
169
15 15
+ 1 1.2666
15 15
26.2666
2 2
13.1333 Result is Xl
169 169
169
13.13 '13.13 Four digits are conveniently remembered
8·88
sample problems (con't)
II. Chain Calculations (continued)
+ 12.8712
13.13 13.13
26.001 2
2 2
1 3.0006 x
Result is 2 , which is usually adequate. If more
accuracy is required, continue the iteration.
A. 5.25 2 = 27.5625
c
C o
5.25 5.25
5.25
27.5625 Number in display register is squared.
5
B. 5.25 = 3988.37
c
C o
5.25 5.25
5.25
27.5625 Auto square = 5.25 2
27.5625
759.69 1 Auto square = 5.25 4
x 759.69 1
5.25 5.25
3988.37 Result is 5.25 5
8·89
Calculators
connection diagram
Dual-I n-line Package
24
REAOY...!... ~OIGIT4
2
OIGIT9- ~OIGIT5
8
NC- ~ KEY INPUT 1 (K1)
NC .! 16 "WRONG"
I--'-INOICATOR
15 "RIGHT" .
NC ..!2.. I--'-INOICATOR
. 11
NC ...;.;,. ...,!!. NC
Vss .21. t-E- NC
TOP VIEW
8-90 rug
s:
absolute maximum ratings s:
U1
Voltage at Any Pin Relative to Vss. (All
other pins connected to V ss.) Vss + 0.3V to Vss - 12.0 '"
(Xl
o
Ambient Operating Temperature' oOe to +70 o e
o
Ambient Storage Temperature -55°e to +150 e
Lead Temperature (Soldering, 10 seconds) 300°C
dc electrical characteristics
PARAMETER CONDITIONS MIN TYP MAX UNITS
Noto.1: The internal low battery voltage sensing circuit will disable both indicator outputs when VSS-VDD falls below a safe operating
voltage. That voltage may be less than or greater than 6.5V depending on process variables; the MM5780 will have been tested to operate correctly
for any voltage less than 9.5V at which an indicator output is enabled.
8·91
LED
INDICATORS
9V
11
K1
18
K2 MM5780 Voo
19 K3
01 02 03 04 05 ·06 07 08 09
TEST 24 23 22 21 20 2
'"Vss--t-,...----,.
DIGIT 9
",V OD
DIGIT 1
READY
The MM5780 calculator chip is designed to interface or ringing has stopped and the stability time counter has
with low cost keyboards, which are often the least timed out. Noise that persists will inhibit key entry
desirable from a noise and false entry standpoint. indefinitely. Key ~elease is timed in the same manner.
~'~"'.. A key closure is sensed by the calculator chip when one One of the popular types of low cost keyboards
) .. of the Key Input Lines, Kl, K2 or K3 are forced more available, the elastomeric conductor type, has a key
t 'l'1' positive than the Logical High Level specified in the Elec- pressure versus contact resistance characterrstic that can
:" . trical Specifications. At the' instant of closure, an internal generate continuous noise during "teasing" or low pres·
"Key Bounce·out Stability Time" counter is started. sure key ·depressions. I The· MM5780 defines a series
Any significant voltage perturbation occurring on the contact resistance up to 50 kn as a valid key closure,
switched key input during timeout will reset the timer. providing an optimum interface to that type of keyboard
Hence, a key is not accepted as a valid entry until noise as well as more conventional types.
Error Conditions Subsequent depressions of any function key, without an
interceding number or decimal point entry will supersede
In the event of an overflow or divide-by-zero the the previous function as the next to be performed. If a
"Wrong" light will come on and remain on until a function key is depressed after an equal key, the result
Clear key is depressed. Normally the indicator lights are of the operation will be re-entered and the function key
activated only after depression of the TEST key. depressed will become the next operation to be per-
formed after a number entry is followed by another
KEY OPERATIONS function key (including equal).
Clear Key
Equal
The Clear key clears all registers to zero and places the
machine in an idle state ..
First depression after a number entry will terminate the
entry, perform the previously recorded operation and
Number Entries record the fact that an equal key has been depressed.
Depression after the add, subtract or divide keys, with-
First entry clears the entry register and enters the out an interceding number or decimal point entry, will
number into the least significant digit (LSD) of the be ignored. After a multiply key, the number in the
entry register and, extinguishes the indicator lights. entry register will be squared.
Second through eighth entry shifts tne 'entry register
left one digit and enters the number into the LSD. The
ninth and subsequent entries, are ignored and no error Resultant Entries
condition is generated. Because only seven positions
are allowed to follow the decimal point, the eighth and Results are entered as number entries after an equal key
subsequent entries after a decimal point entry are ignored. and before the Test key. Results are assumed positive
and a plus key should not be entered prior to the
Decimal Point resultant. Negative results must be preceded by a minus
key.
Depression results in a decimal point entry into the
entry register. Test
Add, Subtract, Multiply or Divide Keys The Test key is used to terminate computations and
to initiate a test of the student's answer versus the
First depression after a number entry 'will terminate the calculator's answer. If the answers match, the "Right"
entry, perform the previously recorded operation, if indicator is enabled, otherwise the "Wrong" indicator is
any, and record the function key depressed as the next enabled. If the results are incorrect the problem must be
operation to be performed after another number entry. worked again from the beginning.
Key Entry and Functional Operation When a key is depressed, the bounce-out stability timer is initiated.
READY remains high until the bounce-out time is completed and the
key is entered, at which time it changes to a Logical Low Level ("vV oo ).
Key Release and Return to Idle READY remains low until key release is debounced and the calculator
returns to the idle state. The low to high transition signals the return
to idle.
INDICATOR OUTPUT
CALCULATOR CONDITION
PIN 15 PIN 16
Test was last key depressed with correct answer entered. HIGH LOW
Test was last key depressed with incorrect answer
entered or the problem has resulted in an error or LOW HIGH
overflow condition.
Any key other than Test was last depressed and
LOW LOW
calculator is not in an error or overflow condition.
Clear was last key depressed. LOW LOW
The battery supply voltage has fallen below a valid
operating voltage for the MM5780. I ndependent of LOW LOW
keys depressed.
~
~
I. Simple Addition: 4+5=?
C
C NONE Clear necessary on power-up
4 NONE
+ NONE
5 NONE
NONE
8 NONE Answer supplied
TEST WRONG Wrong answer
4 NONE Indicator goes out
+ NONE
5 NONE
NONE
9 NONE
TEST HI G HT
DI
6 NONE
TEST RIG H T
Calculators
general description
The single-chip MM5791 calculator was developed using tion during testing and when the MM5791 is used with
a metal-gate, P-channel enhancement and depletion mode other logic devices.
MaS/LSI technology with a primary objective of low
end-product cost. A complete calculator as shown in Data (0) and Shift (CP) outputs are the only two
Figure 1 requires only the MM5791, a keyboard, conrwctions required between the MM5791 and the digit
DS8874 digit driver, NSA 1198 or NSA 1298 LED driver. This reduces the number of pins on both packages
display and a 9V battery. and .the amount of interconnect on the' printed circuit
board. Figure 3 shows the timing relationships between
Keyboard decoding and key debounce circuitry, all the MM5791 and DS8874.
clocks and timing generation, power-on clear, display
turnoff and 7-segment output display decoding are in-
cluded on-chip and require no external components.
Segments can usually be driven directly from the
features
MM5791, as it typically sources 8.5 mA of peak current. • Full 8-digit capacity
The left-most, or 9th digit is used to indicate memory • 7-functions (+, -, x, 7, x 2 ,..;x, %)
in use or the negative sign of an eight digit number.
• Convenient algebraic notation
• Fully protected accumulating memory (M+, M-)
Leading zero supression and a floating negative sign
allows convenient reading of the display and conserves • Aut'omatic constant independent of memory
power. The DS8874 digit driver is capable of sensing a • Floating input/floating output
low battery voltage and providing a signal during the • Power-on clear*
left-most digit time that can be used to turn on one of • On-chip oscillator*
the segments as an indicator. Typical current drain of a
• Display turnoff after 25 seconds (typical)*
complete calculator displaying five "5's" is 30 mAo
Automatic display cutoff after approximately 25 seconds • Direct 9.0V battery compatibility*
is included. • Low system cost
• Direct segment drive of LED display*
The Ready output signal is used to indicate calculator
status. It is useful in providing synchronization informa- *Requires no external components.
NC....!.
£.K3
1!.. K4
[]
~READY
00000
cp2. ~NC
~NC
DDDDG
VDD
Sdp
...2..
....!!. r!!- Sf CJCJDDG
DISPLAY....!!..
RESET
..!.!. Sb DDGJDB
, [JODDB
Sc ...!.!!. .!.!.. Sg
Sa...!!. .!!.. Sd ~
VSS....!! .!2.. Se
~--------------~
TDP VIEW
Order Number MM5791 N
See Package 22
8-96
absolute maximum ratings operating voltage range
Voltage <It Any Pin Relative to VSS VSS + 0.3V to VSS - 12V 6.5V S; VSS - VOO S; 9.5V
(All Other Pins Connected to VSS)
Ambient Oper<lting Tempemture O°C to +70°C
Ambient Storage Temperature -55°C to +150°C
Lead Temperature (Soldering, 10 seconds), 300°C
dc electrical characteristics
PARAMETER CONDITIONS MIN TYP MAX UNITS
Dand CP Outputs
Logical High Level Voo = Vss -6.5V. V OUT = Vss -2.0V -220 J.1A
Voo = Vss -9.5V. V OUT = Vss -5.0V -1100 J.1A
Logical Low Level Voo = Vss -9.5V. V OUT = Voo +0,8V 100 J.1A
ac electrical characteristics
PARAMETER CONDITIONS MIN TYP MAX UNITS
8-97
FUNCTIONAL DESCRIPTION
The MM5791 is a calculator chip which contains four The MM5791 performs the "+:: "-," "x" and "-;-"
data registers: (1) entry, (2) accumulator, (3) working and functions using algebraic notation. This requires the use
(4) memory, each consisting of 8 digits, sign, and decimal of a mode register and a terminate flag. The mode
point. The entry register is always displayed. It contains register directs the machine to the proper function (add,
digit entries from the keyboard, and results of all func- subtract, multiply or divide) with each new key entry.
tions except M+ and M-. The accumulator is used in all After the function has been performed, the key entered
arithmetic functions and stores a copy of the entry is used to modify the mode register.
register on' all results. This allows another number to be
entered without losing an intermediate result. Multiply The terminate flag is set on ','=" and sometimes on "%"
and divide requires three registers to perform the function and "C." This signifies the end of the problem. The
and save the divisor, or multiplier. The working register MM5791 allows for full floating entries and intermediate
is provided to perform these functions in conjunction results.
with the entry and accumulator registers.
If the terminate flag is set, a "+," "-:' "x" or "-;-" key
The memory register is used only to store a number to be signals the beginning of a new problem. The number
used later. It is fully protected during all operations, and being displayed is copied into the accumulator register
'is only modified by depressing a "MS:' "M+," or "M-" and the mode register assumes the mode of the key
key. Power on clears all of the registers including the entered. The terminate flag is always reset by the "+,"
memory register. "-," "x" and "-;-" keys.
RELy Voo
Vss
_1
9V_
ij CP Vss Voo LV
,-
+J
OS8814
"ON-Off"
09 08 01 06 05 04 03 01 01
N>- 9
..... ~..... r--o-......
N-:- ~....... r--&-.......
N>:- i'O-..... ~
"-
N>:- ~, ~,
I
Dl OVl-J ~
-9V~ I-DIGITTIME
D2 _:~~~------------------------------------~~
OV
DJ
-9V L-J L
DV
D9
-9V
DECIMAL PDINT
SEGMENTS
S.
Sb
Sc
Sd
S.
S'-+__+_-'f-_-f-I
Sg.....;._ _...:.J
---u u u
MMS791
{
CP
0
02~ U U
03
04 U U U-
058874 OS
U U LI
06
U U Lr
07
U U L
08.J U U
09U U U
FIGURE 3. Digit Timing
If the terminate flag is set, an "=" key will result in a If the terminate flag is not set, and a number has not
constant add/subtract. The number in the accumulator been entered from the keyboard, or memory, a "+,"
will be added to (or subtracted from) the number being "-," "x" "..;." key will only change the mode register
displayed. The result is right·justified and displayed in to the new key entry.
the entry register. Accumulator and mode registers are
not altered, allowing for constant operations.
If the terminate flag is not set, an "=" key will add/
If the terminate flag is not set and a number has been subtract the number being displayed to/from the number
entered from the keyboard, or memory register, a "+," in the accumulator register. The number being displayed
"-," "x" or "..;." key will result in an addition or is transferred to the accumulator, and the result of the
subtraction. The entry register will be added to or sub· operation is displayed in the entry register. The terminate
tracted from the accumulator and the new running total flag is set, conditioning the calculator for constant,
will be displayed in the entry register and copied into add/subtract operation. ·The number being displayed
the accumulator register. The mode will be altered previous to the "=" key is stored in the accumulator as
according to which key is entered. the constant.
8·99
Operation of the "%" key in add/subtract mode, with played. The terminate flag is set and the divisor is stored
the terminate flag reset, will multiply the accumulator in the accumulator register.
by the last entry, divide the result by 100, and display it
in the entry register. The mode register remains as it was If the terminate flag is not set, a "+ ," "-," "x". or "-,;-"
in the add or subtract mode. All of the above is required key will result in a division. The number in the accumu-
to perform the percent add on or discount problems. lator register will be divided by the number being
Depression of an "=" key after the "%" key will either displayed. The results are displayed in the entry register,
tax or discount the orig'inal number as a function of the and a copy of the result is stored in the accumulator.
mode register and the last entry. The mode register is modified to reflect the latest key,
entry.
Operation of the "%" key in add/subtract mode, with
the' terminate flag set, will shiftthe decimal point of the Operation of the "%" key while in divide mode looks
number being displayed two places to the left and copy exactly the same as the "=>." key except the decimal
it into the accumulator register. The mode is set to point of the display is shifted two positions to the left
multiply and the terminate flag remains set. befo,re division takes place.
If the terminate flag is set, an "=" key will result in A key closure is sensed by the calculator chip when one
constant divide operation. The number being displayed of the key inputs, K 1, K2, K3 or K4 is forced more
is divided by the constant stored in the accumulator negative than the Logical Low Level specified in the
register. The accumulator and mode registers are not electrical specifications. An internal counter is started
altered allowing for constant operations. Repeated de- as a result of the closure. The key operation begins after
pressions of the "=" key will result in repeated divisions eleven word times if the Key Input is still at a Logical Low
by the constant. Thus, it is possible to raise a number to Level. As long as the key is held down (and the Key
a negative integer power using the sequence:, "C," "C," Input remains low) no further entry is allowed. When
"1," "-';-," "No.," "=," "=," etc. the Key Input changes to a Logical High Level, the
internal counter starts an ~Ie~en word timeout for key
If the terminate flag is not set, an "=" key will signal release. During both, entry and release time outs, the
the end ,of a proble'm. The number in the accumulator Key Inputs are sampled every word time for valid levels.
register will be divided by the number being displayed. If they are found invalid, the counter is reset and the
The result is transferred to the entry register and dis'- calculator resumes scanning the keyboard.
8-100
READY SIGNAL OPERATIONS
The Ready signal indicates calculator status. When the "-;." and "%" keys and the examples given in later
calculator is in an "idle" state, the output is at a Logical sections will aid in further explaining these actions.
High Level (near Vss ). When a key is closed, the internal
key entry timer is started. Ready remains high until the Clear Key, "CE/C"
timeout is completed and the key entry is accepted as
valid, then goes low. as indicated in Figures 5 and 6. While in the number entry condition, one depression
It remains at a Logical Low Level until the function will clear the entry register to zero and recall.'-'\
initiated by the key is completed and the key is released. accumulator for display. The machine then leaves_',
The low to high transition indicates the calculator has number entry state. ." ,;.
returned to an idle state and a new key can be entered.
If the error condition is displayed, one depression will
TEST FEATURES clear the error, and all registers except the memory
register. The machine could not be in the number entry
Several features have been designed into the MM5791 condition with the error flag set.
to facilitate testing. One is to allow the key debounce
timing to be modified, and the second performs a If the error flag is not set and the machine is not in the
"segment test" function which turns on all segments for number entry condition, one depression of "CE/C" key
all digit times, with no interdigit blanking. The key will clear the entry and accumulator registers. It also
bounce time can be reduced from eleven word times to places the machine in the add mode and sets the termi-
one if a key closure is made between D9 and K2. nate flag. The memory register remains unchanged.
Similarly the "Segment Test" occurs when a key closure
is made between D9 and K3. Closures for test operations Number Keys 0-9
are not debounced, and also may occur simultaneously
with normal key closures if diodes are used to isolate If not in the number entry condition, a number key will
the D-Lines from each other. The test features are active clear the display and then enter the value of the key
for every word time the Test switch closure is main- into the LSD. The digits are displayed as they are entered
tained. These test matrix entries are isolated internally and the machine assumes the number entry condition. .
from the normal calculator keys, allowing simultaneous
entry of "test" keys and "calculator" keys. If in the number entry condition, the entry register is
shifted left one position and the key depressed is entered
FUNCTION OF KEYS into the LSD. If there,is a number in the most significant
digit position (9th) the entry register is then shifted
Some of the keys operate differently when in the data right one position and the. entry is lost.
or number entry condition. The MM5791 switches to
entry condition when entering numbers and leaves this Square Root Key, "V"
condition after most function keys. The following para-
graphs discuss each of the keys on a full keyboard and The square root key extracts the square root' of the
the action taken when they are depressed. The earlier absolute value of the number being displayed in the
paragraphs which discussed the action of "+," "-," "x," entry register.
D9LJ ELEV~~~I~~~~~~SSIVE ~
:L.J~~I-------
~ !J:
INPUT K·lINE
READY -. -+--------jl"'"
(KEYE::::~ tpd - t I-i- - - - - - -
(KEY RELEASE}--J
tpel::: 5ps (TVPICAl) t ::: tol;IT + Ipd. tpd::: 5ps(tvp)
j~1
j
ANy---r--nr
11 WORDS I I J
~~
INPUT
'''NOISE' "NOISE"/
11 WORDS
::~EE:S~~~
CALCULATION
~
• IS COMPLETED.
WHICHEVER IS
LONGER.
READY
5J I
• ~
I
NE~~~~~t~LBAEi;RA~~~P::~J NEX~ KEY CANJ
MAY BE RELEASED. BE ENTERED .
,8·i01
The mode of the calculator remains unchanged. This While in multiply or divide mode, this key'shifts the
enables square root operations in the middle of chain displayed decimal point two places to the left, completes
calculations. For example: the multiplication, or division and sets the
. terminate flag.
KEY DISPLAY KEY DISPLAY KEY DISPLAY I n add or subtract mode, this key shifts the displayed
decimal point two places to the left, multiplies the
A A A A 11 11 display times the accumulating register, places the pro-
..r VA X A + 11. duct in the entry register and leaves the accumulator
+ VA B B 5 5 register and mode register undisturbed. This permits
B B ..r vB 16. automatic calculation of net by depression of the "="
key. The t~rminate flag is not altered.
..r vB AvB ..r 4.
= VA+vB 6 6.
J1 SAMPLE PROBLEMS
9 9
..r 3. 1. Simple addition or subtraction
Square C 0
3 3 Start addition pro-
blem
Depression of the "Square" key copies the number being
+ 3. Sets add mode
displayed into the accumulator register, and performs a
2 2
multiplication. On completion of the square operation,
+ 5. Completes addition,
the results are displayed in the entry register, the original
sets add mode
number is stored in the accumulator and the mode of the
5. Sets subtraction
calculator is unchanged. Entering a number to start a
mode
new entry will first clear the entry register.
4.355 4.355
0.645 Completes subtrac-
Memory Plus Key, "M+"
tion. Sets mode ter-
minal
When the "M+" key is depressed, the number being
+ 0.645 Sets mode terminal.
displayed is added to the contents of the memory and
Sets add mode,resets
the results, providing there is no overflow, are placed in
3.25 3.25 Starts Digit Entry
the memory. The calculator will be out of the data
CS -3.25 Changes Sign
entry mode.
4 -3.254 Continues Digit Entry
+ -2.609 Completes signed
If an overflow occurs, the contents of the m'emory are
addition, sets add
not altered. The display shows the eight most significant
mode
digits and sign of the results with all nine decimal points.
1
-1.609 Completes signed
Memory Minus Key, "M-"
addition, sets termin-
ate mode
This key operates like the "M+" key only the displayed
number is subtracted from memory.
Plus, Minus, Multiply and Divide Keys, "+," "-," "x," "-;.-" 2. Constant addition or subtraction (second factor
constant)
These keys terminate a number entry, complete the
operation designated by the mode register and update KEYS DISPLAY COMMENTS
the mode register for the next operation. A more detailed
explanation of these keys is found in the description 3 3
of modes. 3. Sets subtract mode
2 2
Equal Key, "=" + 1. Completes subtrac-
tion, sets Add mode
This key terminates a number entry, complete the 6 6
operation designated by the mode register and sets the ,7. Completes addition,
terminate flag. saves (6) as constant,
sets terminate mode
Percent Key, "%" .5 .5
6.5 . Completes constant
Following a clear·all operation or a number entry addition constant=6
proceeded by a clear all operation, this key shifts the 7 7
decimal point of the number being displayed two places 7. Sets subtraction
to the left, copies it into the accumulating register and mode, resets termin-
establishes the multiply mode. ate mode
~
2. Constant addition or subtraction (second factor 5. Constant multiplication (continued) ~
constant) (continued) CJ1
"oJ
KEYS DISPLAY COMMENTS
KEYS
6
DISPLAY
6
COMMENTS
...
CD
3 3 3 3
X 3. Sets multiply mode' 3.
4 4 8 8
.1 2. Completes multipli- + 0.375
cation, saves '4' as 2 2
constant, sets termin- X 2.375
ation mode 3.1 3.1
"f 8:103
'l"""
0')
I""'- 7. Chain division (continued) 10. Percent in multiplication and division (continued)
LO
~ KEYS DISPLAY COMMENTS KEYS DISPLAY COMMENTS
~
7.3625 500 500
6 6 5 00.
1.2270 833 4 4
% 1 25 a O.
15
1 7.95
15
...r
+
1.7320 5 a 8
1.7320 5 08
% 2.6925 4 4
+
6
1 5.2575
6
...r 2.
3.7320 5 08
% 0.91 545 7 7
16.17295 + 7.
8 8
1 5 ..
10. Percent in mUltiplication and division ...r 3.8729833
8-104
Calculators
24
DIGIT 4--2. r-DIGIT J
, DIGIT 6..2.
DIGIT 7...!
~vGG
r!!- Kl
0G8800 BI
20
DIGIT 8..l. -K2
DGJGJGD
DIGIT 9...2.
DIGIT 1..2..
\
.!!.KJ
..!..!!....K4
[JuuE)B
Voo -
8
.!2.. SEGMENT F DLJDD[J
SEGMENT D,P •
SEGMENT
.J!..
c.2.!!..
.!!..SEGMENT B
.!!..SEGMENT G \,.
B8DDD
SEGMENT A....!.!. 1!..SEGMENT 0
VssJ!. ..!l..SEGMENTE·
TOP VIEW
\
Order Number MM5794N
See Package 22
8-105
absolute maximum ratings operating conditions
Yoltage at Any Pin Relative to 6.5'::; Vss - V DD .::; 9.BV
V ss Except V GG (All Other V ss - V GG .::; 32V
Pins Connected to V ss ) Vss + 0.3V to Vss -12V
Voltage at VGG Relative
to Vss Vss + 0.3V to Vss' - 35V
Ambient Operating Temperature O°C to +70°C
Ambient Storage Temperature -55°C to +150°C
Lead Temperature (Soldering, 10 seconds) 300°C
dc electrical characteristics
PARAMETER CONDITIONS MIN TYP MAX UNITS
Digit Outputs
Logical High Level VGG = Vss - 32V, V OUT = Vss - 5.0V -3.5 mA
VGG = V ss - 25V, V OUT = Vss - 5.0V -2.2 mA
Logical Low Level Voo = Vss - 9.5V, V OUT = VGG = Vss - 35V 10 f.1A
8-106
FUNCTIONAL D~SCRIPTION
The MM5794 is a calculator chip which contains four and save the divisor, or multiplier. The working register
data registers: (1) entry, (2) accumulator, (3) working and is provided to perform these functions in conjunction
(4) memory, each consisting of 8 digits, sign, and decimal with the entry and accumulator registers.
point. The entry register is always displayed. It contains
digit entries from the keyboard, and results of all func·
tions except M+ and M-. The accumulator is used in all The memory regi~ter is used only to store a number to be
arithmetic functions and stores a copy of the entry used later. It is fully protected during all operations, and
register on all results. This allows anot~er number to be is only modified by depressing a "MS," "M+," or "M-"
entered without losing an intermediate result. Multiply key. Power on clears all of the registers including the
and divide require three registers to perform the function memory register.
8X200k
A·A·
"10"'"
A
...,.
T A A"
T I " ...
J .1 T I I ." ...
KI VGG SG SF SE So Sc SB SA soP SoP SA SB Sc So SE SF SG
K2 Voo I-- 0-
K3 MM5794 Ef FLUORESCENT DISPLAY
0-
~ Vss -
09 08 07 06 05 04 03 02 01 OIt 02 03 04 05 06 07 08 09
lOOk
"
"'o!-
.... i'o!-
'-
~
...... ~...... 1 I
~ ~ ~
9
lOOk
..... ...... ...... -""-
4~ ~
.
lOOk i"o1-...... ....... ......
lOOk
~ r...o-:- "'o-i
.AA
. ....... ...... ......
~ ~E ~
lOOk
.AA
.. ....... '- ........
~
M-
lOOk
'o..!.
.AA '-- ........... .'-
"
. ..,
lOOk ~...... ~
......
~,
'-
7 .jX
lOOk
lOOk
"
.
......
-- ...... ......
-9V
--.!oEf
"OFF/ON"
--
~o-
OCTO OC
CONVERTER
:f,."
VGG 2 Vss - 32V'
Voo =VSS - 6.5V TO VSS - 9.5V
-r- "I
30V
--
*Vss - VOO must be as specified in this data sheet (6.5-9.5) but VSS - VGG, Ef and Vz are determined by the fluorescent display specifications.
t 01 is the right·most display digit, also see Figure 2.
8·107
The MM5794 performs the "+," "-," "x" and "-.;-" , If the terminate flag is set, a "+ ," "-.:' "x" or "-.;-" key
functions using algebraic notation. This requ ires the use signals the beginning of a new problem. The number
of a mode register and a terminate flag. The mode being displayed is copied into the accumulator register
register directs the machine to the proper function (add, and the mode register assumes the mode of the key
subtract, multiply or divide) with each new key entry. entered. The terminate flag is always reset by the "+,"
After the function has been performed, the key entered "-," "x" and "-.;-" keys.
is used to modify the mode register.
DIGIT 1
Vss - 35 - -
DIGIT 2
DIGIT 3 DIGIT 3
DIGIT4 DIGIT4
DIGIT 5 DIGIT 5
DIGIT 6 DIGIT 6
DIGIT 7 DIGIT 7
DIGIT 8 DIGIT 8
--------+-----~----~----_+----~------r_----+_----~ ~----~----------
DIGIT9 DIGIT 9
- - - - - - - - - - . VSS-4
SEGMENT D.P.
--------+------! ~----~------+_-----r----~------+_----~----~------~---VSS-35
SEGMENT A ________+_-----!
SEGMENT B ________-!
SEGMENT C
----f
SEGMENT D
SEGMENT E
--------+-----~
SEGMENT F
SEGMENT G
a
ACTUAL DISPLAY: SEGMENT fIT/b
D9-·.----------~--~---Dl
DESIGNATION el Je. SEG
d D.P.
8·108
OPERATION IN THE ADD AND SUBTRACT MODE
If the terminate flag is set. an "=" key will result in a If the terminate flag is not set. an "=" key will signal
constant add/subtract. The number in the accumulator the end of a problem. The number in the display will be
will be added to (or subtracted from) the number being multiplied by the contents of the accumulator. and the
displayed. The result is right·justified and displayed in results will be displayed in the entry register. The number
the entry register. Accumulator and mode registers are previously in the entry register is stored in the accumu-
not altered. allowing for constant operations. lator register and the terminate flag is set.
If the terminate flag is not set and a number has been If the terminate flag is not set, and a number. has been
entered from the keyboard. or memory register. a "+." entered from the keyboard or memory register, a "+,"
"-." "x" or "..,." key will result in an addition or "-," "x" or "..,." key will result in a multiplication. The
subtraction. The entry register will be added to or sub- number being displayed will be multiplied by the num-
tracted from the accuml,llator and the new runring total ber residing in the accumulator register. The result will
will be displayed in the entry register and copied into be' copied into the accumulator and displayed in the
the accumulator register. The mode will be altered entry register. The mode register is up-dated as a func-
according to which key is entered. tion of the key depressed.
If the terminate flag is not set. and a number has not Operation of the "%" key while in multiply mode looks
been entered from the keyboard. or memory. a "+." exactly the same as an "=" key except the decimal
"-." "x" "..,." key will only'change the mode register point of the display is shifted two positions to the left
to the new key entry. before the multiplication takes place.
Operation of the "%" key in add/subtract mode. with If the terminate flag is not set, a "+," "-," "x" or "..,."
the terminate flag set. will shift the decimal point of the key will result in a division. The number in the accumu-
number being displayed two places to the left and copy lator register 'will be divided by the number being
it into the accumulator register. The mode is set to displayed. The results are displayed in the entry register,
multiply and the terminate flag remains set. and a copy of the result is stored in the accumulator.
The mode register is modified to reflect the latest key
OPERATION IN THE MULTIPLY MODE entry.
If the terminate flag is set. an "=" key will result in a Operation of the .. %rt:, key while in divide mode looks
constant multiply operation. The number being displayed exactly the same as the "=" key except the decimal
is multi'plied by the constant stored in the accumulator point of the display is shifted two positions to the left
register. The result is displayed in the entry register and befQre division takes place.
the accumulator and mode registers are ,not altered.
allowing for constant operation. Repeated depressions
of the "=" key can be used'to raise a number to an ERROR CONDITIONS
integer power. i.e .• "C/CE." '·C/CE." "5.2." .. x ... • "=."
"=," "=;' computes 5.24. If any of the operations mentioned above generates a ,
number larger than 9999 9999, an error will occur. An
The constant in multiplication, as well as in addition. error is indicated by displaying the eight most significant
subtraction and division is the last number entered. For digits and sign with all nine decimal points. The first
the sequence' "C/CE .. "C/CE .. "3 ......!.. . . . .4 ""x ""2 " depression of the "C/CE" key will clear the error condi-
"=" the cons~ant mul~iplier fo; futu;e p;~ble~s is 2'.
, ' tion. and all registers except the memory register.
8-109
It is not possible to generate an error during number entry. If the error condition is displayed, one depression will .
The ninth and subsequent digits entered are ignored. ' Clear the error, and all registers except the memory
register. The machine could not be in the number entry
POWER-ON CONDITION condition with the error flag set.
The MM5794 has an internal power-on clear circuit If the error flag is not set and the machine is not in the
which clears all registers to zero, places the mode to add number entry condition, one depression of "CE/C" key
and sets the terminate flag. A zero and decimal point will clear the entry and accumulator. registers. It also
are displayed. places the machine in the add mode and sets the termi-
nate flag. The memory register remains unchanged.
KEYBOARD BOUNCE AND NOISE REJECTION
Number Keys O-g
The MM5794 is designed to interface with most low cost
keyboards, which are often the least desirable from a If not in the number entry condition, a number key will
false or multiple entry standpoint. clear the display and then enter the value of the key
into the LSD. The digits are displayed as they are entered
A key closure is sensed by the calculator chip when one and the machine assumes the number entry condition.
of the key inputs, Kl, K2, K3 or K4 is forced more
positive than the Logical High Level specified in the If in the number entry condition, the entry register is
electrical specifications. An internal ,counter is started shifted left one position and the key depressed is entered
as a result of the closure. The key operation begins after into the LSD. If there is anumber in the most significant
eleven word times if the Key Input is still at a Logical digit position (9th) the' entry register is then shifted
High Level. As long as the key is held down (and the right one position and the entry is lost.
Key Input remains high) no further entry is allowed.
When the Key Input changes to a Logical Low Level, the Square Root Key, "r"
internal counter starts an eleven word timeout 'for key
The square fOot key extracts the square root of the
release. During both, entry and release timeouts, the
absolute value of the numl?er being displayed in the
Key Inputs are sampled every word time for valid levels.
entry register.
If they are found invalid, the counter is reset and the
calculator resumes scanning the keyboard.'
The mode of the calculator remains unchanged. This
enables square root operations in the middle of chain
TEST FEATURES
calculations. For example: I
8·110
~
Memory Store Key, "MS" 1. Simple addition or subtraction (continued) ~
(J'1
The "MS" key transfers the number being displayed in KEYS DISPLAY COMMENTS -..J
(D
the entry register to the memory register. The arithmetic + 3. Sets add mode
~
status of the calculator is not changed. 2 2
+ 5. Completes addition,
resets add mode
Memory Plus Key, "M+" 5. Sets subtraction
mode
When the "M+" key is depressed, the number being
4.355 4.355
displayed is added to the contents of the memory and
0.645 Completes subtrac-
the results, providing there is no overflow, are placed in tion: Sets terminate
the memory. The calculator will be out of the data mode.
entry mode. Sets add mode
+ 0.645
If an overflow occurs, the contents of the memory are 3.25 Starts Digit Entry
3.25
not altered. The display shows the eight most significant CS -3.25 Changes Sign
digits and sign of the results with all nine decimal points. -3.2 54 Continues Digit Entry
4
+ -2.609 Completes signed
addition, sets add
Memory Minus Key, "M-" mode
1
This key operates like the "M+" key only the displayed
-1.609 Completes signed
number is subtracted from memory.
addition, sets termin-
ate mode
Plus, Minus, Multiply and Divide Keys, "+," "-," "x," "-;-"
SAMPLE PROBLEMS
1. Simple addition or subtraction 3. SilT)ple multiplication
KEYS DISPLAY COMMENTS KEYS DISPLAY COMMENTS
CICE o 3.1 3.1 Start multiplication
3 3 Start addition pro- problem
blem
8-111
3. Simple multiplication (continued) 5. Constant multiplication (continued)
3 3 3 3
X 3. Sets multiply mode 3.
4 4 8 8
1 2. Completes multipli· + 0.375
cation, saves '4' as 2 2
constant, sets termin: X 2.375
ation mode 3.1 3.1
6 6 7.3625
24. Completes constant 6 6
multiplication, 1.2270833
constant = 4
3 3
3. Sets subtract mode,
resets termination
8. Constant division
4.5 4.5
X -1.5 Completes subtrac· KEYS DISPLAY COMMENTS
tion, sets multiply
mode 6 6
8 8 6.
CS -8 Changes sign 2 2
1 2. Completes multipli· 3.
cation '-8' as con· 1.5
stant, sets termina· 15 1 5
tion mode 1 5.
EX ':"8. Exchanges entry 2 2
register, and constant X 13.
CS 8. 8.3 8.3
3 3 107.9
36. Completes constant 3 3
multiplication CS -3
constant = 12 EX 107.9
8·112
~
8. Constant division (continued) 11. Memory operations (continued)
~
CJ1
KEYS DISPLAY
-.02780352
COMMENTS KEYS DISPLAY
3
COMMENTS
"
CD
~
3
EX 107.9 + 3.
CS -107.9 2 2
EX -.02780352 M- 2.
608.7 608.7 5.
-5.641 3345 MR 4.
3.678 3.678
CS -3.678
M+ -3.678
9. Add on and discount problems X -3.678
5 5
KEYS DISPLAY COMMENTS M- I' 5.
-1 8.39
695.99 695.99 MR -4.678
695.99 5 5
20 20 MS 5.
% 1 39.1 98 3 3
.556.792 X 3.
+ 556.792 4 4
6 6 X 1 2.
% 33.4 0 7 5 2 MR 5.
590.19952 6 O.
17.95 1 7.95 0 0
1 7.95 MS O. ,Memory indicator
15 15 turned off when
% 2.6925 contents equal zero
+ 1 5.2575
6 6
% 0.91 545
1 6.1 7295
12. Square root problems
8-113
Calculators
24
DIGIT 4 DIGIT 3
DIGIT 6 ""I
DIGIT 7
GBGG00
DIGIT 8
OD[J[JCJ
CJCJDGEJ
DIGIT 9 K3
DIGIT 1
BCJDDD ~.
SEGMENT A 11
13 SEGMENT E
TOP VIEW
8-114
absolute maximum ratings operating conditions
Voltage at Any Pin Relative to 6.5 ~ Vss - Voo ~ 9.8V
Vss Except V GG (All Other Vss - VGG ~ 32V
Pins Connected to V ss ) Vss + 0.3V to Vss -12V
Voltage at V GG Relative
to Vss Vss + 0.3V to Vss - 35V
Ambient Operating Temperature O°C to +70°C
Ambient Storage Temperature -55°C to +150°C
Lead Temperature (Soldering, 10 seconds) 300°C
dc electrical characteristics
PARAMETER CONDITIONS MIN TYP MAX UNITS
Digit Outputs
Logical High Level VGG = Vss - 32V, V OUT = Vss - 5.0V -3,5 mA
VGG = Vss - 25V, V OUT = V ss .- 5.0V -2.2 mA
Logical Low Level V OD = Vss - 9.5V, V OUT = VGG = Vss ..:. 35V 10 J.1.A
ac electrical characteristics
PARAMETER CONDITIONS MIN TYP MAX 'UNITS
Word Time
Digit Time
Interdigit Blanking Time
(Figure 2)
(Figure 2)
(Figure 2)
0.53
58
14.5 20
3.3
367
ms
ps
}JS
aI
(Segment and Digit Outputs)
I
Voo
Low to High C LOAO = 50 pF 2.0 4.0 J.1.s
8-115
FUNCTIONAL DESCRIPTION
The MM5795 is a calculator chip which contains four and save the divisor, or multiplier. The working register
data registers: (1) entry, (2) accumulator, (3) working and is provided to perform these functions in conjunction
(4) memory, each consisting of 8 digits, sign, and decimal with the entry and accumulator registers.
point. The entry register is always displayed. It contains
digit entries from the keyboard, and resul ts of all func·
tions except M+ and M-. The accumulator is used in all The memory register is used only to store a number to be
arithmetic functions and stores a copy of the entry used later. It is fully protected during all operations, and
register on all results. This allows another number to be is only modified by depressing an "MC," "M+," or "M-"
entered without losing an intermediate result. Multiply key. Power on clears all of the registers including the
and divide require three registers to perform the function memory register'.
BX200k
...
...........
.........
,-
__ I
-
,-,-
......-...
T I ............
1 I T I I ......
Kl VGG SG SF SE So Sc SB SA SoP SoP SA SB Sc So SE SF SG
K2 VOO I - - 0-
KJ MM5795 Ef FLUORESCENT DISPLAY
~ VSS r- 0-
09 08 07 06 05 04 OJ 02 01 Ott 02 03 04 05 06 07 08 09
....'~Ok
..
~
.....
~
......
~
............
~
.......... 1 I
~ ~
9
....'~Ok
~
... ........ '- ........ _.........
lOOk
~ ~ ~......
... ...... ......
- ""02- ~ ~
lOOk
...........
... "- ........ ........
"o-!- ~E ~
lOOk
......
.A ... ........ ........ ' ........
~ ~ ~ ~
lOOk
...... ........... ' .........
...
lOOk ~ ~ ~
... ...... ...... .......
7 ..;X
lOOk
.A ........
...
........ ........ ........
lOOk
......
I
-9Vr---- +
~ Ef
"OFF/ON"
.r:-<"'o--
-=- DCTU"
CONVERTER
(f,. Vz =6V
--
VGG <: Vss -32V' -r- T- JOV
8-116
The MM5795 performs the "+," "_," "X" and "";''' If the terminate flag is set, a "+," "-," "x"
or "..;." key
functions using algebraic notation. This requires the use signals the beginning of a new problem. The number
of a mode register and a terminate flag. The mode being displayed is copied into the accumulator register
register directs the machine to the proper function (add, and the mode register assumes the mode of the key
subtract, multiply or divide) with each new key entry. entered. The terminate flag is always reset by the "+,"
After the function has been performed, the key entered "-," "x" and "-;-" keys.
is used to modify the mode register.
DIGIT 2 DIGIT 2
----+--~
OIGIT 3 DIGIT 3
--------+-----~----~ ~---------------_4------
OIGIT 4 OIGIT 4
~----------------------~-------
DIGIT 5 DIGIT 5
DIGIT 6 DIGIT 6
DIGIT 7 OIGIT 7
DIGIT 8 DIGIT 8
L-____~----------
--------+-----~-----+----~------~----+-----~----~
DIGIT 9 DIGIT 9
- - - - - - - - - - . VSS-4
SEGMENT O.P.
--------+-----~ ~----~~----+_----~----~------+_----~----~----------- VSS-35
SEGMENT A --------0I----!
SEGMENT B ________-!
SEGMENT C
SEGMENT 0
°BJI
SEGMENT E
----+----!
SEGMENT F
--------01----~---~----__!
a
ACTUAL DISPLAY: SEGMENT ,IT/b
09 • • 01
DESIGNATION e/__ lc. SEG
d D.P.
8·117
OPERATION IN THE ADD AND SUBTRACT MODE
If the terminate flag is set, an "=" key will result in a If the terminate flag is not set, an "=" key will signal
constant add/subtract. The number in the accumulator the end of a problem. The number in the display will be
wi'll be added to (or subtracted from) the number being multiplied by the contents of the accumulator, and the
displayed. The result is right·justified and displayed in results will be displayed in the entry register. The number
the entry register. Accumulator and mode registers are previously in the entry register is stored in the accumu-
not altered, allowing for constant operations. lator register and the terminate flag is set.
If the terminate flag is not set and a number has been If the terminate flag is not set, and a number has been
entered from the keyboard, or memory register, a "+," entered from 'the keyboard or memory register, a "+,"
"-," "x" or ".;-" key will result in an addition or "-," "x" or ".;-" key will result in a multiplication. The
subtraction. The entry register will be added to or sub- number being displayed will be multiplied by the num·
tracted from the accumulator and the new running total ber residing in the accumulator register. The result will
will be displayed in the entry register and copied into be copied into the accumulator and displayed in the
the accumulator register. The mode will be altered entry register. The mode register is up-dated as a func-
according to which key is entered. tion of, the key depressed.
If the terminate flag is not set, and a number has not Operation of the "%" key while in multiply mode looks
been entered f~om the keyboard, or memory, a "+," exactly the same as an "=" key except the decimal
"-," "x" ".;-" key will o'nly change the mode register point of the display is shifted two positions to the left
to the new key entry. before the multiplication takes place.
Operation of the "%" key in add/subtract mode, with If the terminate flag is not set, a "+ ," "-," "x" or ".;-"
the terminate flag set, will shift the decimal point of the key will result in. a division. The number in the accumu-
number being displayed two places to the left and copy lator register will be divided by the number being
it into the accumulator register. The mode is set to displayed. The results are displayed in the entry register,
multiply and the terminate flag remains set. and a copy of the result is stored. in ~he accumulator.
The mode register is modified to reflect the latest key
entry.
OPERATION IN THE MULTIPLY MODE
If the terminate flag is set, an "=" key will result in a Operation of the "%" key while in divide mode looks
constant multiply operation. The number being displayed exactly the same 'as the "=" key except the decimal
is multiplied by the constant stored in the accumulator point of the display is shifted two positions to the left
register. The result is displayed in the entry. register and before division takes place.
the accumulator and mode registers are not altered,
allowing for constant operation. Repeated depressions
of the "=" key can be used to raise a n~mber to an , ERROR CONDITIONS
integer power, i.e., "C/CE," "C/CE," "5.2," "x," "=,"
"=," "=;' computes 5.24. If any of the operations mentioned above generates a
number larger than 9999 9999, an error will occur. An
The constant in multiplication, as well as in addition, error is indicated by displaying the eight most significant
subtraction and division is the last number entered. For digits and sign with all nine decimal points. The first
the sequence: "C/CE," "C/CE," "3," "';-," "4," "x," "2," depression of the "C/CE" key will clear the error condi-
"=" the constant muitiplier for future problems is 2. tion, and all registers except the memory register.
8-118
It is not possible to generate an error during number entry. If the error condition ,is displayed, one depression will
The ninth and subsequent digits entered are ignored. clear the error, and all registers except the memory
register. The machine could not be in the number entry
POWER·ON CONDITION condition with the error flag set.
The MM5795 has an internal power-on clear circuit If the error flag is not set and the machine is not in the
which clears all registers to zero, places the mode to add number entry condition, one depression of "CE/C" key
and sets the terminate flag. A zero and decimal point· will clear the entry and accumulator registers. It also
. are displayed. places the machine in the add mode and sets the termi-
nate flag. The memory register remains unchanged.
KEYBOARD BOUNCE AND NOISE REJECTION
~
The test features are active for every word time the
Test switch closure is maintained. These test matrix 11
entries are isolated internally from the normal calculator 9 9
keys, allowing simultaneous entry of "test" keys and
"calculator" keys, except for K3 keys during "Segment V 3.
Test." 8.
FUNCTION OF KEYS
8-119
Memory Clear Key, "MC" 1. Simple addition or subtraction (continued)
The "Me" key clears the memory register. The status of KEYS DISPLAY COMMENTS
the calculator remains unchanged. + 3. Sets add mode
2 2
'+ 5. Completes addition,
Memory Plus Key, "M+" sets add mode
5. Resets addition
When the ,"M+" key is depressed, the number being' mode, sets sub-
displayed is added to the contents of the memory and traction mode
the results, providing there is no overflow, are placed in 4.355 4.355
the memory. The calculator will be out of the data 0.645 Completes subtrac-
entry mode. tion. Sets terminate
mode.
If an overflow occurs, the, contents of the memory are + 0.645 Sets add mode
not altered, The display shows the eight most significant
digits and sign of the results with all nine decimal points. 3.25 ~.2 5 Starts Digit Entry
CS -3.25 Changes Sign
4 -3.254 Continues Digit Entry
Memory Minus Key, "M-" + -2.609 Completes signed
addition, sets add
This key operates like the "M+" key only the displayed mode
number is subtracted from memory. 1
-1.609 Completes signed
addition, sets termin-
Plus, Minus, Multiply and Divide Keys, "+," "-," "x," "..,." ate mode
These keys terminate a number entry, complete the
operation designated by the mode register and update
the mode register for the next operation. A more detailed 2. Constant addition or subtraction (second factor
explanation of these keys is found in the description constant)
of modes.
KEYS DISPLAY COMMENTS
3 3
Equal Key, 3. Sets subtract mode
2 2
This key terminates a number entry, complete the + 1. Completes su btrac-
operation designated by the mode register and sets the ticn, sets add mode
terminate flag. 6 6
7. Completes addition,
saves (6) as constant,
Percent Key, "%" sets terminate mode
Following a clear-all operation or a number entry
.5 .5
6.5 Completes addition
proceeded by a clear all operation, this key shifts the
,decimal point of the number being displayed two places constant=6
to the left, copies it into the accumulating register and
7 7
establishes the multiply mode. 7. Sets subtraction
mode, resets termin-
While in IT)ultiply or divide mode, this key shifts the ate mode
displayed decimal point two places to the left, completes 3 3
the mUltiplication or division and sets the terminate flag. 4. Completes subtrac·
tion, sets terminate
mode, saves 3 as a
In add or subtract mode, this key shifts the displayed
decimal point two places to the left, multiplies the constant
display times the accumulating register, places the pro-
8 8
EX 3. Exchanges entry, and
duct in the entry register and leaves the accumulator
constant
register and mode register undisturbed. This permits
-5. Completes subtrac-
automatic calculation of net by depression of the "="
, tion constant = 8
key. The terminate flag is not altered.
9 9
1. Completes subtrac-
tion constant = 8
SAMPLE PROBLEMS
1. Simple addition or subtraction 3. Simple multiplication
KEYS DISPLAY COMMENTS KEYS DISPLAY COMMENTS
CICE o 3.1 3.1 Start multipl ication
3 3 Start addition pro- problem
blem
8-120
3. Simple multiplication (continued) 5. Constant multiplication (continued)
3 3 3 3
,X 3. Sets multiply mode 3.
4 4 8 8
1 2. Completes multipli· + 0.375
cation, saves '4' as 2 2
constant, sets termin· X 2.375
ation mode 3.1 3.1
6 6 7.3625
24. Completes constant 6 6
multiplication, 1.2270833
constant = 4
3 3
3. Sets subtract mode,
8. Constant division
resets term i nation
4.5 4.5
-1.5 KEYS DISPLAY COMMENTS
X Completes subtrac-
tion, sets multiply
mode 6 6
8 8 6.
CS -8 Changes sign 2 2
1 2. Completes multipli· 3.
cation '-8' as con- 1.5
stant, sets termina· 15 15
tion mode 1 5.
EX -8. Exchanges entry 2 2
register, and constant X 13.
CS 8. 8.3 8.3
3 3 107.9
36. Completes constant 3 3
multiplication CS -3
constant = 12 EX 107.9
8·121
Ln
,....
0)
8. Constant division (continued) 11. Memory operations (continued)
Ln
~ KEYS DISPLAY COMMENTS KEYS DISPLAY COMMENTS
~
-.02780352 3 3
EX 107.9 + 3.
CS -107.9 2 2
EX -.02780352 M- 2.
608.7 608.7 5.
-5.641 3345 MR 4.
3.678 3.678
CS -3.678
M+ :-3.678
9. Add on and discount problems X -3.678
5 5
KEYS DISPLAY COMMENTS M- 5.
-1 8.39
695.99 695.99 MR -4.678
695.99 5 5
20 20 MC 5. Memory indicator
% 139.198 turned off when
556.792 contents equal zero
+ 556.792 3 3
6 6 X 3.
% 33.4 0752 4 4
590.19952 X 1 2.
17.95 1 7.95 MR O.
1 7.95 O.
15 15
% 2.6925
+ 1 5.2575
6 6
% 0.91 545
12. Square root problems
16.17295
8-1i22,
~
Calculators ~
CJ1
..........
o
eN
general description
The MM57103 is a powerful one-chip scientific • Selectable Reverse Polish Notation (RPN) or Alge-
calculator device designed to provide the features and braic notation with 2 levels of parentheses
functions most desired by professionals_ An a-digit • Arithmetic functions: +, -, X, 7, 1/X,..JX, X2
mantissa plus sign with a 2-digit exponent plus sign is • Constant operations in algebraic modi!
featured_ A 36-position keyboard (such as that illustrated
• Power function: yX
below) was designed for' convenience_ Algebraic logic,
combined with a fully accumulating a-function memory • Logarithmic functions: LN X, LOG X, eX, 10 x
in addition to two levels of parentheses are features • Trigonometric functions: SIN, COS, TAN, SIN-1,
most asked for in professional scientific calculators. COS-1, TAN-1
With a simple pin connection, the MM57103 offers • Full-function, addressable memory
RPN logic with a 4-level stack in addition to the • 4-register working stack with ROLL capability (RPN)
a-function memory. or EQUAL with 2 levels of parentheses (algebraic)
• 11, change sign, clear, clear-all and exchange
sample keyboards
Algebraic RPN
SIN-l COS- l TAN-l ~OEG SIN- l cos- l TAN- l .... OEG
OGBBB
eX lOX X2 P~R
808GB
eX lOX P.... R
GJ8GGEJ 880GB
G8800
X-M CM SCI FLT M+
GD80@J
00088 ( MX
GGGJG8 MX
DDOCJ
- M-
c=JDDD M-
DODD M+
DODD M+
CJCJDO CA CF
DODD CA CF
DDGD DDG[EN;ER]
absolute maximum r~tings
Voltage at Any Pin Relative to VSS Vss +0.3V to VSS -12V
(All Other Pins Connected to VSS)
Ambient Operating Temperature 0°Cto+70°C
Ambient Storage Temperature -55°C to +125°C
Lead Temperature (Soldering, 10 seconds) 300°C
o°c <
- TA <
dc electrical characteristics - +70°C, 7.9V < < 9.5V unless otherwise stated
- Vss - Voo .-
PARAMETER CONDITIONS MIN TYP MAX UNITS
Operating Voltage (VSS - VOO) 7.9 9.5 V
Operating Supply Current (100) VSS - VOO = 9.5V, T A = 25°C, 12 18 mA
,... (Excluding Outputs)
PARAMETER
0
CONDITIONS MIN TYP MAX UNITS eN
Sync OutPllt Voltage Levels (With Load and Oriver to VOO)
VSS - VOO = 7.9V
Logic High Level (VOH) IOH=-100pA VSS-0.5 VSS V
Logic Low Level (VOL) IOL=15pA VOO VOO+3.7 V
ac electrical characteristics o°c::; T A::; +70°C, 7.9V::; VSS - Voo ::; 9.5V unless otherwise stated
Osc. Input
Rise Time (t r ) CL=25pF,RL=6kn 350 ns
Fall Time (tf) RC=0.15ps 50 ns
Kl-K4,003
Input Timing
tSK 1.75 ps
tLK
BLK Output Timing
tpdBLK
trb
CLOAO = 50 pF
CLOAO::; 20 pF
1.0
0.3
4.4
ps
ps
J.1s
a
F 1, F2, F3 Output Tim ing CLOAO = 100 pF 4.4 J.1s
tpdf
Sync Output Timing
Interval (tB, Bit Time) (For On-Chip Oscillator) 8.8 30 ps
tpdsL CL = 250 pF 0.1 1.65 J.1s
The user has access to 5 registers designated x, Y, Z, T, When the calculator is in the "idle state" and ready to
and M. X is the display and entry register and the bot- accept a key, F 1 is high (near VSS). It remains high
tom of an "operational" stack that includes Y, Z and T. until a key is depressed and accepted, then goes low. It
M is an independent user-addressable memory register goes low until the calculator is complete then goes high
that can be stored, recalled, added, multiplied, subtracted again to indicate that a new key may be entered.
or divided with X. In the algebraic mode, Z and Tare
used as parenthesis registers. KEYBOUNCE AND NOISE REJECTION
All registers contain 8 mantissa digits with sign and 2 When a key is depressed, a time-out is started. A key is
exponent digits with sign. accepted as valid if it remains depressed for approxi-
mately 12 ms. The key must be released for at least
DISPLAY CONFIGURATION 12 ms before a new key can be entered.
The X-register is always displayed and shown as 8 digits ERROR CONDITIONS AND INDICATION
of mantissa with sign and 2 digits of exponent with sign.
Numbers are entered left justified with trailing zeros In the event of an illegal operation, the calculator will
suppressed. , display "Error" and X will be cleared. Any key depresseCl
after an error will use X = 0 for the next operator.
DISPLAY FORMAT Table I summarizes results ,and operations that will
give an error indication.
Floating point display output format is "F", ".". If X
is greater than 99999999. or less than .1, the display. is RANGE ACCURACY AND SPEED
in scientific notation.
All functions work over the full mathematically allow-
By pressing "F", "EE" all results are displayed in able range as defined by the error conditions.
scientific notai:ion.
All functions take less than 1 second and are accurate
READY SIGNAL OPERATION. to 8 digits.
8~:126
functional description (Continued)
KEY OPERATIONS
a) In RPN mode: Pushes down stack and clears T. Four Sets F mode
"c" depressions will clear a completely full stack
b) After "F": Clears all registers including the memory Memory Store/Clear "MS/"MC"
c) In algebraic mode after number key: Copy Y to X
d) In algebraic mode after function key: Clears all a) Copy X to memory
modes and X, Y, Z and T b) After F: (CM) clear memory
a) In RPN mode after any function key except "EN": a) In RPN mode: Pushes up stack, recall memory to X
Clears X and enters number left justified to X b) In algebraic mode: Recall X to M
b) After any number key: Enters next digit into X. All 'c) After F: Exchange X and M
entries after eighth are ignored
c) After "EE": Enters number to exponent. Last 2 Enter Exponent Key, "EE"
-entries are used
d) After "EN": Clears X and enters number in X Sets enter exponent mode, displaying 00 in exponent
e) In algebraic mode, after function key: ~Iears X and position.
enters number
Stack Rotate Key "ROLL", RPN Only
Change Sign Key, "CS"
Rolls stack down
a) After "EE": Change sign of exponent of X
b) After any other key: Changes sign of X mantissa
Exchange Key, "X .... V"
Coordinate Conversion Key. "R .... P"
Exchanges X and V
a) Converts contents of X and Y in rectangular coor-
dinates to polar coordinates: Common Log Key, "LOG/l0x "
yX2 + y2 to Y
TAN-l YIX to X a) Common logarithm of X to X (base 10)
b) After "F": (P -+ R): Converts contents of X and Y in b) After "F": (lOX) lOx to X
polar coordinates to rectangular coordinates:
Y SIN X -+ Y (n SIN 0)
Natural Log Key, "LN/e x "
Y COS X-+ X (n COS 0)
a) Natural logarithm of X to X (base e)
Square Root/Square Key. "VX/X2"
b) After "F": (eX) eX to X
a) Square root of X to X
b) After "F": (X2) X-squared to X Trigonometric Keys, "SIN, COS, TAN"
a) In RPN mode: Computes :(x power, pushes down The Four Function Keys, "+, -, X, -':-", In RPN Mode
stack, clears T
b) In algebraic mode, not in chain mode: Copy X to Y, a) Add key, "+": Y + X -+ X
set yX chain mode Subtract key, "-": V - X -+ X
c) In algebraic mode, in chain mode: Perform the speci- Multiply key, "X": V X X -+ X
fied function of X and Y, putting the result to both Divide key, "-':-"; V/X -+ X
X and Y, set yX chain mode Then push down stack and clear T
O-+T-+Z-+Y
Enter Key. "EN" b) AfterF: +: X+MtoM
-: M - X to M
a) Pushes up stack, retains X X: M X X to M
b) After F: (CF) resets F mode -':-: MIX to M
functional description (Continued)
a) If not in chain mode: Copy X to Y, set the speci- b) In constant mode: Perform the specified function of
fied chain mode X, Y putting the result in X
b) After "+, -, X,.;." key: Copy Xto Y, set chain mode c) After F: (CF) reset F mode
c) In chain mode: Perform the specified function of X
and Yputting the result to X and Y, set the specified Open Parenthesis, "[ ("
chain mode
Copy Z to T, copy X to Z; copy Pl mode to P2 mode;
7T Key, "7T" copy the calculator mode to Pl mode, reset calculator
mode
a) In RPN mode: Pushes up stack enter IT to x·
(3.1415927) Close Parenthesis 0) 1", Algebraic Mode
b) In algebraic mode: Enter 7T to X
a) In chain mode: Perform the specified function of X, Y
putting the result to X. Copy Z to Y, copy T to Z,
Degree to Radian Key, "0 -+ R"
clear·T2. Copy P2 mode to Pl mode, copy Pl mode
a) Converts' X in degre.es to radians X = Xo/180 x 7T
to the calculator mode, reset P2 mode
b) Not in chain mode: Z to Y, T to Z, clear T, Pl mode
b) Converts X in radians to degrees X = XO/IT x 180
to calculator mode, P2 mode to Pl mode, reset P2
mode
Equal Key,"="
summary
(M UNCHANGED)
@]
~LDST
t-.-l .T --_'--.T
z \~z
: II : y~'
X \
,.,y
,., X
~LDST
I +,-,X,+, yx I
• T
.. Z .. t '--.T
____x : ~ z
y\~y
\~z
x~X
8-128
s
summary (Continued) s
(J'1
Stack Operations in RPN Mode (Continued) ......
....
o
eN
~ AFTER FUNCTION KEY O'R
~
t~T
,-LOST
z Z t ----1_ ~ T
y Y z~/ .z
--F~
x X
11,1-----'
FIRST
~AFTER@] DR ~
t ., T
., Z
y ., Y
NUMBER • X
.. T
., Z
y ., Y
;
~LOST
\ :~
ERROR
F,X "'M POWER "ON" or ~ OVERflOW INTO MEMORY
., T o • T ., T
.. Z ., Z • Z
y ., Y ., Y y ., Y
m _ _....... x :~ ., X
• M
~
m~
\."---- X
- .,M
'---LOST
8-129
M
0
or- Example Showing Parentheses Registers and Modes in
Algebraic Mode
connection diagram
f'
I!) Dual-I n-Line Package
6 X (2(8-5) + 2)
~ Kl 28 DO 1
~ Pl P2
X Y & MODE 27
Z& MODE T& MODE K2 DO 2
26
K3 DO 3
6 6 25
K4 004
X 6 6x
lNB 24 SI
( 6 6 6x
SYNC 23 SO
2 2 6 6x
22
FYx 2 2Yx 6x OSC BLK
21 voo
2 2 2Yx 6x F3
20 S,
8 8 2 2Yx 6x F2
10 19 Sb
8 8+ 2Yx 6x Fl
pow 11 18 Sc
5 5 8- 2Yx 6x
12 17 Sd
) 3 2Yx 6x Sp
13 16 S,
+ 8 8+ 6x Sg
14
Z Z 8+ 6x Sf 15 VSS
) 10 6x TOP VIEW
60 10x (constant) Order Number MM57103N
See Package 23
-'Ll1,ilil
pow Fl F2 F3
vss Kl
1 ,
IS VSS 2
K2
NC o!! SO
K3
3
NC~ SI
MMS7103
'Ul SYNC ~NC
VOO 4
2,1 Voo K4
r;--
ALGEBR:~~: ~~~ o-! t--
OSC
mj
lNB
SWI BLK~
004 003 002001 S. Sb Sc Sd S, Sf Sg Sp
• ON/OFF 19 18 17 16 14 13 12
2S,26r7r820
"
+ CONVERTER
--
~oo
S 2 3 4
0 C B A ENA8LE OSC
OUT
12 GNo
R OCS ~
OS8664 Rl
U2 33k
2%
--2i VCC RC OCS ~
01 02 03 04 OS 06 07 08 09 010 011 012 013 014
20 19 18 17 16 IS 14 13 11 10 9 8 7 6
-'- ~~~PF
~5%
Voo
014 r#-
013 ~r-
012
Sf
~
19 [l-~
.-
~ l~ -,
18
011
17
Sb
010
16 1"
Sg 15
14
r'
NSA
09
Sd
08
13
12
11
c;
S120 S,
07
10 [
9
S,
06
8
1
~L
Sp
6 (;/
OS
S
Sc
04
4 C
03
3 r
2 L
02
ol~NC c:
.'t.: ,_
......_ _ _ _ _ .J
KEYBOARD
8-130
switching time, waveforms
INTERNAL
CYCLE TIME
\'20 "2
osc
VOH-==""""'-=\
SYNC
VOL - - - - - I - L_ _--..J
BLK
VOL
INTERNAL
CYCLE TIME
\'20 \'20 ~1
VIH
OSC
VOH -====t:t~
SYNC
~
Pd
VOH_==============================='~~tPdSEG
S.-Sg.Sp
VOL
K1 = + C 0 3 2 1
K2 X - 9 8 7 6 5 4
K3 M+ [( l) % L+ CS EE MS MR
K4 F D.MS R~P TAN COS SIN
"F l/X LOG LN
8·131
Calculators
general description
The MM57104 features the most essential and desirable • Left justified entry with trailing zero suppression
scientific functions microprogrammed onto a single • Selectable Reverse Polish Notation (RPN) or Alge-
economical MOS/LSI device. Use of a 9-digit display braic notation with 2 levels of parentheses
with a 5-digit mantissa plus sign and a 2·digit exponent
• Arithmetic functions: +, -, X, +, 1 /X,;,jx. X2
plus sign is featured even though internal numbers
• Constant operations in algebraic mode
use a full 8-digit mantissa for accuracy. Low system
cost without sacrificing features has been achieved with • Power function: yX
the M M571 04; direct operation from an inexp~nsive • Logarithmic functions: LN X, LOG X; eX, lOx
throw-away 9V battery, eliminating the need for a • Trigonometric functions: SIN, COS, TAN, SIN-1,
dc/dc converter, minimal cost 23-position keyboard COS-1, TAN-1
and a standard 9-digit low cost LED display. National's • Full-function, addressable memory
built-in reliability and rugged 24-lead DIP add further
• 4-register working stack with ROLL capability
to the MM5710~'s total system efficiency. (RPN) or EQUAL with 2 levels of parenth'eses (alge-
braic)
features • rr, 'change sign, clear, clear-all and exchange
• Enters ±9.9999999 x 10 99 to ±1 x 10-99 • Auto power-on clear
• 9-position display: 5-digit mantissa plus sign and • Degree/r~dian conversion
2-digit exponent with sign • Two output modes: floating or scientific
sample keyboards
Algebraic RPN
MS ylX RAD -+ DEG
DGJGJD
ARC aX l/X rr
DGJGD ARC aX l/X rr
DODDcos LN e1< M+
.DDDD COS LN eX M+
DCJDD
SIN X +> V CA CF
DODD SIN X-V CA CF
8DGD 8DGGIJ
8-132
absolute maximum ratings
dc electrical characteristics o°c 'S. TA ~ +70°C, 7.9V ~ Vss - VDD ~ 9.5V unless otherwise stated
Kl-K4
Input Voltage Levels
Logic High Level (VIH) VSS - VDD = 7.9V VSS-3.2 VSS V
VSS - VDD = 9.5V VSS-4.5 VSS V
Logic Low Level (V I L) VDD+l.5 V
8-.133
ac electrical characteristics o°c ~ T A ~ +70°C, 7.9V ~ Vss - VDD ~ 9.5V unless otherwise stated
Kl-K4,INB
Input Timing
tSK 1.75 ps
tLK 1.0 ps
connection diagram
Dual·1 n·line Package
Sc Sp
Sb NC
Sa Fl
NC INB
NC K4
004 KJ
001 K2
VSS Kl
TOP VIEW
8·134
functional description
REGISTER CONFIGURATION'
The user has access to 5 registers designated X, Y, Z, T, When the calculator is in the "idle state" and ready to
and M. X is the display and entry register and the bot· accept a key, Fl is high (near VSS). It remains high
tom of an "operational" stack that includes Y, Z and T. until a key is depressed and accepted, then goes low. It
M is' an independent user·addressable memory register goes low until the calculator is complete then goes high
that ca.n be stored, recalled, added, multiplied, subtracted again to indicate that a new key may be entered.
or divided with X. In the algebraic mode, Z and Tare
used as parenthesis registers. KEYBOUNCE AND NOISE REJECTION
All registers contain 8 mantissa digits with sign and 2 When a key is depressed, a time·out is started. A key is
exponent digits with sign. accepted as valid if it remains depressed for approxi·
mately 12 ms. The key must be released for at least
DISPLAY CONFIGURATION 12 ms before a new key can be entered.
The X·register is always displayed and shown as 8 digits ERROR CONDITIONS AND INDICATION
of mantissa with sign or 5 digits of mantissa with sign
and 2 digits of exponent with sign. Numbers are entered In the event of an illegal operation, the calculator will
left justified with trailing zeros suppressed. dispiay "Error" and X will be cleared. Any key depressed
after an error will use X = 0 for the next operator.
DISPLAY FORMAT Table I summarizes results and operations that will
give an error indication.
Floating point display output format is "F", "CS". If X
is greater than 99999999. or less than 0.001, the display RANGE ACCURACY AND SPEED
is in scientific notation.
All functions work over the full mathematically allow·
By pressing "F", "EE" all results are displayed in able range as defined by the error conditions.
scientific notation.
All functions take less thari 1 second and are accurate
READY SIGNAL OPERATION to 8 digits.
IT
Iz
y Iy
x IX
m 1M
FIGURE 1. User Register Configuration
8-135
functional description (Continued)
KEy.oPERATION
a) In' RPN mode: Pushes down stack and clears T. a) Sets enter exponent mode, displaying 00 in exponent
Four "C" depressions will clear a completely full position
stack b) After F: Set calculator to scientific notation ,I,
,II'
a) Pushes up stack, retains X The Four Function Keys, "+, -, X, +", In RPN Mode
b) After F: (CF) resets F mode'
a) Addkey,"+":Y+X-+X
Second Function Key, "F" Subtract key, "-": Y - X -+ X
Multiply key, "X": Y x X -+ X
Sets F mode Divide key, "+": Y /X -+ X
Then push down stack and clear T
Memory Recall/Memory Store, "MR/MS" O-+T-+Z-+Y
b) After F: +: X + M to M
a) In RP~ mode: Pushes up stack, recall memory to X -: M - X to M
b) In algebraic mode: Recall X to M X: 1Tto X
c) After F: Copy X to M .:.. Convert X from degre~s to radians
8-136
functional description (Continued)
a) If not in chain mode: Copy X to Y, set the speci- a) Copy X, T copy X to Z, copy P mode to P2 mode:
fied chain mode Copy the calculator mode to Pl mode, reset calcu-
b) After "+, -, X, -;.-" key: Copy X to Y, set chain mode lator mode
c) In chain mode: Perform the specified function of X b) After F: Square root of.X to X
and Y putting the result to X and Y, set the specified
chain mode Close Parenthesis ")1 ", Algebraic Mode Only
"F" "7" ARC Key a) In chain mode: Perform the specified function of
X, Y putting the result to X. Copy Z to Y, copy T
Set ARC mode to Z, clear T2. Copy P2 mode to Pl mode, copy P1
mode to the calculator mode, reset P2 mode
Equal Key "=", Algebraic Mode Only b) Not in chain mode: Z to Y, T to Z, clear T. P1 mode
to calculator mode, P2 mode to P1 mode, reset P2
a) In chain mode: Perform the specified function of mode
X and Y putting the result to X' and save the last' c) After F; Convert radians to degrees
number displayed in Y, set the constant mode
b) In, constant mode: Perform the specified function
of X, Y putting the result in X
c) After F: (CF) reset F mode
summary,
Stack Operations in RPN Mode
(M UNCHANGED)
@J
~LDST
~~~T
:~~: z~ '---Z
:-----Ir=: Y~~Y
x~ '----X
"---LOST
!+,-,X,7,y x l
.: T
• z :~~T'
:==x----: z~z
Y\~Y
x~X
ERROR
• T
z, • Z
• Y
• X
8-137
summ-ary (Continued)
Stack Operations in RPN Mode (Continued)
FIRST
~ AFTER FUNCTION KEY ~AFTER@] OR ~
r - LOST • T
t~T .. z
z~ .r----- z y .. Y
y--.-l ;--:Y NUMBER • X
~ .. T
~LOST
t---.-J' .T .. Z
z- r---Z • Y
y--.J
:--.-1c:
r-- Y
: .
~LOST
\ :~
ERROR
POWER "ON"or ~ OVERFLOW INTO MEMORY
o • T • T
• Z • Z
• Y • Y
• X
• M :~ "--X
m~'--M
. ' - - - LOST
6 X (2(8-5) + 2)
P1 P2
X Y&MODE
Z& MODE T&MODE
6 6
X 6 6x
( 6 6 6x
2 2 6 6x
FYx 2 2Yx 6x
2 2 2Yx 6x
8 8 2 2Yx 6x
8 8- 2Yx 6x
5 5 8- 2Yx 6x
) 3 2Yx 6x
+ 8 8+ 6x
2 2 8+ 6x
) 10 6x
60 10x (constant)
8~138
system interconnection diagram
,5 13 17 9 11 ,3 15+7
I ~~2 •4
LEO NSA1198 OR EOUIV.
F EE +/-
7 8 9 X
4 5 6 - ...
1 2 3 +
0 e =
3 4 5 6 8 9 10 11 12
01 02 03 04 05 06 07 08 09 .\13
I 0 ep
OS8874
Vee GNO
LOW BAT I
~:4 .g
2 rol
9V -
10 11
004 001Sa 5
4
Sb
3
Sc
S 2
MM57104 d
16
K4 Se 1
15 24
K3 Sf
14 23
... K2 Sg
13 .. 22
K1VSS VOoSp
9V~
---
-
-=r
GNO
.L
8-139
switching time waveforms
INTERNAL
92D 91 91D 92 1>2D <P1
CYCLE TIME
-tp~
I
VOH
CSC
VOL
- VOH
SYNC
VOL
tOXH--i-
INTERNAL
920 '
CYCLE TIME
OSC
Vo L ---,.--4.::..--=1-
VOH -~~~~tt!~
SYNC
VOL--------r~~--~~
-tpd-- - .-,-'
0".00
1
::: -:::::::::::::::::::::::::::::::: ~.
---------
8-140
Calculators
general description
The single-chip MM57123 Business and Financial Calcu- Data is entered into the calculator in floating point busi-
lator was developed using a metal-gate, P-channel ness notation. All entries and results are displayed as
enhancement and depletion-mode MOS/LSI technology floating point, left justified with insignificant zeros to
with low end-product cost as a primary objective. A the right of the decimal point suppressed.
complete calculator as shown in Figure 1 requires only
the MM57123, a keyboard, digit driver, LED display, 9V
battery and appropriate hardware. features
• Complete business and financial capability
Keyboard decoding and key debounce circuitry,' all • Arithmetic functions: +, -, x, 7,
clock and timing generation and 7-segment output dis- • Power function: yX (power)
play encoding are included on-chip and require no • Live percent
external components. Segments can usually be driven • Sum-of-digits capability for, computing deprecia-
directly from the MM57123, as it typically sources about tion or "Rule of 78's" loan costs
8.5 mA of peak current. • Financial functions:
4 "N" keys enter number of periods
An internal power-on clear circuit is included that clears 4 "I" keys enter interest rate per period
all registers, including the memory, when VDD and VSS 4 "AMT" key enters given amount
are initially applied to the chip. 4 "I NT" keys compute PV or FV (compound
interest)
Trailing zero suppression allow's convenient reading of 4 "SA V" keys compute deposit or sinking fund
the left justified display, and conserves power; typical amounts
current drain of a complete calculator displaying five 4 "LOAN" keys compute payment or loan
"5's" is 30 mAo Automatic display cutoff is also in- amounts
cluded: if no key closure occurs for approximately 35 • Accumulating memory
'seconds, all numbers are blanked and all decimal points
• Automatic constant
are displayed.
• Convenient business (adding machine) entry notation
The Ready output signal is used to indicate calculator • Eight full digits
status. It is useful in providing synchronization informa- • Power-on clear
tion for testing or applications where the MM57123 is • Automatic display cutoff
used with other logic or integrated circuits; e.g., with
the MM5765 Programmer (Figure 3).
keyboard outline
Twenty-two dual-function keys are arranged in a three-
by-nine matrix as shown in Figure 1. There are the *CF
standard four-function keys (+, -, x, 7). Change Sign,
Exchange X and Y, Percent, Yx, Power, four accumu-
lating memory control keys, plus 12 unique business or CF
80
MC MR
financially oriented computation keys; an automatic
constant feature is also included.
LJOOD
overlay, need be changed to show respective keystroke
functions.
AMT N 12N M-
The user has acce~s to six registers designated X, Y, A, I,
Nand M. The X-register is used for keyboard entry and
display. The Y and A-registers are used in multiply/
divide and add/subtract,calculations, respectively. Interest
DODD
1/12 X .. Y 1 M+
8-141
absolute maximum ra,tings
Voltage at Any Pin Relative to Vss Vss + 0.3V to Vss - 12V
(All other pins connected to VSS).
Ambient Operating Temperature O°C to +70°C
Ambient Storage Temperature -55°C to +150°C
Lead Temperature (Soldering, 10 seconds) 300°C
dc electrical characteristics
PARAMETER CONDITIONS MIN TYP MAX UNITS
ac electrical characteristics
8·142
y
REr
.~
I Kl f- ~ OP Sg Sf S, Sd S, Sb S,
I K401 09 08 07 06 05 04 OJ 02 01
02 OJ 04 05 06 07
"' I
~
1
LL __ ~
~V/6
1 9V MALLORY
~VI7
~ -
MN1604 OR
EQUIVALENT
~x ~-AMT/8
~ -I
~+ ~
~V/9
If
POWER
SWITCH
~ ~ ~ DIGIT
DRIVER
~ ~ ~
(NOTE 2)
I'c>-:::~/CE
12 ~ ~
~s ~MT/4
FC/CA
" lOAN-PMT/5
"""' i-----
i - - - - - - - - - - - W O R O TIME -------------11
--==----------------------~~
I
02
09
DECIMAL
POINT-I_ _ -+__-t.J
SEGMENTS
S'--1_ _-,:.J
,
ACTUAL DISPLAY; CI-'CCI' -, -','
CI 'C' ~I -, ~.C
SEGMENT IIT/b
09-..
_ - - - - - - - -___ 01
OESIGNATION _1::1,
d
8-143
LED
FINANCIAL- DISPLAY
(7)
CALCULATOR
(9)
I -..:-+
~
--
r---iJ
I
(9) (9) ..
OUTPUT
READY
GND
RUN/LOAD
OAT A
KEYBO ARD MM5765
,
CONTROL
AN 0 K5 ALARM
1 X4 VDD POWER
PROGRA MMER , ~i~RM SWITCH
CONT ROL' LEARN MOOE -~ INDICATOR
,..
KEYBO ARD, PROGRAMMER
- - ON
The MM57123 is designed to interface with most low If no key is depressed for approximately thirty-five
cost keyboards, which are often the least desirable from seconds, an internal automatic display cutoff circuit
a false or multiple entry standpoint. will blank all segments and display nine decimal points_
Any key depression will restore the display; to restore
A key closure is sensed by the calculator chip when one the display without modifying the status of the calcu-
of the key inputs, K 1, K3 or K4 are forced more lator, use two Change Sign "+/-" key depressions.
positive than the Logical High Level specified in the
electrical specifications. An internal counter is started as READY SIGNAL OPERATION
a result of the closure_ The key operation begins after
nine word times if the key input is still at a Logical High The Ready signal indicates calculator status_ When the
Level. As long as the key is held down (and the key calculator is in an "idle" state, the output is at a
input remains high) no further entry is allowed. When Logical High Level (near VSS)- When a key is closed, the
the key input changes to a Logical Low Level, the internal key entry timer is started. Ready remains high
internal counter starts a sixteen word time-out for key until the time-out is completed and the key entry is
release_ During both entry and release time-outs the key accepted as valid, then goes low as indicated in Figures 4
inputs are sampled approximately every other word time and 5_ It remains at a Logical Low Level until the
for valid levels_ If they are found invalid, the counter is function initiated by the key is completed and the key
reset and the calculator assumes the last valid key is released. The low to high transition indicates the
input state_ calculator has returned to an idle state and a new key
call be entered_
One of the popular types of low-cost keyboards avail-
able, the elastomeric conductor type; has a key pressure ERROR INDICATION
versus contact resistance characteristic that can generate
continuous noise during "teasing" or low pressure ~ey In the event of an operating error, the MM57123 will
depressions_ The MM57123 defines a series :ontact display all zeros and all decimal points. The error in-
resistance up to 50 kil as a valid key closure, assuring dication occurs if division by zero is attempted or
a reliable interface for that type of keyboard_ either a result or intermediate value exceeds 99999999_
8-_144
DIGIT 9 ~ ]VOH / JVOH
Il
'PdH
READY
'Pdf
VOL
KEY IS
~ 9WORDS------~._I
1- t
RelEASED
JUUI'. . --------(i~t' J
ANY
SWITCH
INPUT _ _..IIjj.ll-_--I
---
/ 16WORDSAFTER
-- I
"NOISE" KEY RelEASE OR
AFTER CALCULATION
lt
IS COMPLETE.
WHICHEVER IS
READY LONGER.
~------------------------~)~)------~
NEW KEY HAS
t NEXT KEY
BEEN ACCEPTED CAN BE
BY CALCULATOR. ENTERED.
THE KEY MAY
BE RelEASED.
The indication is cleared by depressing any key. terminator ("=," or "%" key). The Y-~egister is used to
store the constant in the constant mode of operation.
If an error results from a "+" or "-" key, the X-register
is cleared and the last entry is saved in the A-register; The calculator automatically changes to the chain mode
all other registers are not effected. An error condition when an "x" or "7" key occurs in the calculation. In the
during "x" or "7" operations clears X without changing chain mode, the result of each "x" or "7" key is stored
any of the other registers. in both X and V-registers. A new entry replaces X
An attempt to raise a negative number to a power will Table I summarizes the four modes.
cause the error indication to appear, the X-register will
be cleared and the exponent will be stored in Y. The
other registers are. not changed.
KEY OPERATIONS
Overflow as a result of "M+" destroys the value stored
in M, clears X and displays the error indication. Calcu- (Note: Register X is always displayed.)
lations are immediately stopped and other registers are
not cleared. Clear Entry Key, "CE"
8-145
Number Entries Subtraction Key, "-"
The first entry clears the X-register and enters the num- If the previous key was not a "+" or "-" key, the
ber into the LSD of X_ Second through eighth en'tries number in the X-register is subtracted from the number
(excluding a decimal point) are entered one digit to the in the A-register, X is transferred to A, and the differ-
right of the last number. The ninth, and subsequent ence is stored in X. When the last key was a "+" or "-"
entries are ignored. First entry after a "+", "-", "M+" key, the number in A is subtracted from X without
or "M-" following a "+" or "-" key causes the number destroying the value of A. The result is stored in X.
in the X-register to be transferred to the A-register
before clearing and placing the new entry in X.
Multiplication Key, "x"
Decimal Point, "."
If there has not been a "x" or "..;." key since the last
terminator key ("=" or "%"), the value of the X-register,
At the first depression of a number entry, it clears the
is copied into the V-register and the calculator is set to
X·register and places a point in the leftmost digit. If the
the chain mUltiply mode. In a chain calculation in which
previous key was a number, it enters a decimal point to
there has been an "x" key since the last terminator (
the right of the last number entered. Following a "+",
"..;." key, X is multiplied by Y and the resulting product
, "-" or those keys preceding a "M+" or "M-" key, the
is stored in both X and Y; if a "..;." key has occurred
X·register is transferred to A, cleared and a de,cimal
since the last terminator or "x" key, depression of "x"
point entered in the leftmost digit. The last decimal
will divide the V-register by the X-register, with the
point depression in a single number entry is accepted as
quotient stored in both 'X and Y.
the valid point.
Changes sign of register X. If there has npt been an "x" or "+" key since the last
terminator key ("=", or "%"), the value of the X-register
Addition Key, "+" is 'copied into the V-register and the calculator is set to
the chain divide mode. In a chain calculation, if an "x"
If the previous key was not a ."+" or "-" key, the key has occurred since the last terminator or "..;." key, X
number in the A-register is added to the X-register, X is is multiplied by Y and the product is stored in both X
transferred to A, and the sum is stored in X. When the and Y; if a "..;." key has occurred since the last termina-
last key was a "+" or 'i_" key, the number in A is added tor qr "~" key, depression of "..;." will divide the
to the number in X without destroying the value of A. V-register by the X-register, with the quotient stored in
The sum is stored in X. both X and Y.
DESCRIPTION
MODE KEYS THAT SET MODE
(See Calculation Examples)
~}
With calculator previously ply the X-register by the Y-register and re-
in chain multiply place X with the product_ Y remains unchanged.
CONSTANT PWR
MULTIPLY SOD
INT
SAV
LOAN
X Depression of an "=" or "%" key will multi-
CHAIN
Following a terminator or ply the X-register by the Y-register and place
MULTIPLY
....;-.. or "x" operation the product in X. Y remains unchanged .
Depression of an "=" or "%" key will divide
~J
CONSTANT With calculator previously
the X-register by the V-register and replace X
DIVIDE in chain multiply
with the quotient. V is unchanged.
Depression of an "=" or "%" key will; divide
CHAIN Following a terminator or the V-register by the X-register,' transfer X to
DIVIDE ....;-.. or "x" operation V, and place the quotient in X.
;
8-146
Equal Key, "=" Exchange Key, "EX" (shift mode)
In the chain mUltiply mode, the value in the X-register is The X and V-registers are exchanged. No other registers
multiplied by the V-register with the product stored in are effected.
X. Register Y remains. unchanged. In the chain divide
mode, depression of "=" will divide Y by X, transfer X
Interest Entry Keys "1" and "1/12" (shift mode)
to Y, and place the quotient in X. If the calculator is in
constant multiply, "=" will multiply X by Y, place the
"1" divides the number by 100 and stores the quotient
product in X and retain Y. For constant divide, the X-
in X and the I-register". "1/12" divides by 1200 and
register is divided by Y, the quotient is stored in X; Y
stores the quotient in both X and I; i.e., the interest
is unchanged.
will be compounded monthly.
Percent Key, "%" Number of Periods Entry Keys, "N" and "12N"
(shift mode)
This key acts exactly like the "=" key except the value
of X is copied into A, then divided by 100 before The "N" key copies X directly into register N. The
performing the required operation. "12N" key multiplies X by 12; the product is stored in
register N and displayed in X.
Square-root Key, ,\/-"
Amount Entry Key, "AMT" (shift mode)
Depression of .this key will compute the square-root of
the number contained within the X-register; no other The' value of the X-register is copied into the V-register.
registers are affected. The same results can be achieved No other registers are effected.
by using the power "PWR" key (requires extra key-
strokes) as shown in example 12; this allows producing
a 20-key calculator (leaving off "CA" and "V") with "1 NT", (compound interest) Keys, "FV" and "PV':
no sacrifice in performance. (shift mode)
Following "MR", the value of the M-register is copied The "SAV-PMT" key will compute the amount to be
into the X-register. deposited at the end of each period in a sinking fund
for the number of periods, n, contained in register N,
at an interest rate, i, contained in register I, compounded
Power Key, "PWR" (shift mode) each time period, to accumulate the desired amount,
contained in register Y. The "SAV-FV" key will com-
Whe~ the calculator is in either the chain or constant pute the amount in a sinking fund. The number in Y is
mUltiply modes, depression of "PWR" raises the number deposited at the end of n time periods (N-register) at an
in the V-register to the. power of the X-register and interest rate per time period i (I-register). compounded
replaces' X with the, result. Thus, to raise two to the fifth each time period. Thus, to compute the required sinking
power use, the sequence: "2, X, 5, F, PWR." If the fund deposit to accumulate a desired amount over a
calculator is in the constant or chain divide modes, the given period of time, enter i, n and the amount in any
value of Y is raised to the inverse of X power; i.e., the order using the "1," "N" and "AMT" keys, then
key sequence "5, ~, 2, F, PWR" results in the calcul- "SAV-PMT". To find the amount in the sinking fund,
ation of 5 raised to the 1/2 power. The original value of simply enter i, n and the periodic amount of deposit
X is retained in Y and register A is cleared. The calcu- and press "SAV-FV". Registers N, I or Yare not
lator is set to the constant mUltiply mode. Results altered by the calculation, register A is cleared and
computed with the "PWR" key are rounded to five register ,X contains the computed value. The calculator
places. is set to the constant multiply mode.
8-147
Loan Installment Keys, "LOAN-PMT" and "LOAN- examples
AMT" (shift mode) .
8-148
examples (Continued)
8 8 6. Calculate Percentage
10.
7 7 KEYS DISPLAY COMMENTS
x 1.4285714 3 3
4 4 o 30
5.7142856 o 300
300.
2 300.2
5 300.25
4. Constant Multiplication or Division x 300.25
5 5
KEYS DISPLAY COMMENTS % 15.0125 "Live %" key
a) 3 3
x 3.
7. Perform Add On and Discount
2 2
6
KEYS DISPLAY COMMENTS
4 4
a) Add·On: $125 plus 5%
12. First factor in constant
1 1
multiply
2 12.
5 5
5 ,125.
5.
x 125.
2 5.2
5 5
15.6
% 6.25 5% of 125 is displayed
46.8 15.6 is re·entered and
+ 131.25 125+5% is displayed
multiplied by constant
b) Discount: $532.10 by 6%
b) 5 5
5 5
5.
3 53
2 2 2 . 532
2.5
532.
4 4
532.1
2. Second factor in
x 532."
constant divide
6 6
5 5
% 31.96 6% of 532.1 is display·
5.
ed
2 5.2
500.174 532.1 - 6% is displayed
2.6
1.3 2.6 is re·entered and
divided by constant 8. Perform Change Sign
{terminate
Cha~ge ,Sign does not
5. To Perform Products of Sums . 2 12
(5+4) x (3+2)/(6+7) = ? +/- -12 entry.
3 -123
KEYS DISPLAY COMMENTS -123.
5 5 +/- 123.
+ 5. 5 123.5
4 4 +/- -123.5
+ 9. 6 -123.56
x 9. Chain multiply mode is
set 9. Perform Exchange Registers (X+-*Y)
3 3
+ 3. KEYS DISPLAY COMMENTS
2 2. a) 5 5
+ 5. x 5.
45. (5+4)x(3+2) is execu- 3 3
ted 15. 5 is initially constant
6 6 multiplier
+ 6. 4 4
7 7 F, EX 5. 4 is now constant
+ 13. multiplier
3.4615384 45 -T (6+7) is executed 20
8·149
examples (Continued)
b) 6 6 c) 3-5 = 0.00412
6. 3 3
3 3 x 3
F, EX 6. NUmerator and denom- 5 5
inator are exchanged. +/- -5 Change sign
.5 F, PWR .00412 Rounded to five digits
8·150
~
~
financial examples U1
(Continued) .....
...&
N
KEYS DISPLAY COMMENTS at an interest rate of 4.75%. compounded monthly. tAl
a) 7 7 Number of years b) 7.5%. c) at 4.75% for 9 years.
F. 12N 84 Compounded monthly.
stored in N KEYS DISPLAY COMMENTS
4.5 4.5 Interest a) 4.75 4.75 Interest
F.I/12N .00375 Compounded monthly • F.I/12 .00395833 Compounded monthly.
stored in I stored in I
5000 5000 Future value 6 6 Number of years
F.AMT 5000 Future value stored in F.12N 72 Compounded monthly.
Y stored in N
F.INT-PV 3651.0957 Present value required 100 100 Monthly payment
F.AMT 100 Monthly payment
b) 10000 10000 New future value stored in Y
F.AMT 10000 Futue value stored in F. SAV-FV 8311.9301 Accumulated sinking
Y fund
F.INT-PV 7302.1914 Present value required
b) 7.5 7.5 New interest rate'
c) 7.5 7.5 New number of years F.I/12 .00625 Compounded monthly •
F.12N 90 Compounded monthly. stored in I
stored in N F. SAV-FV 9057.8807 Accumulated sinking
F.INT-PV ·7140.0271 Present value required fund
b) 5.5 5.5
required
Interest
5
F.12N
5
60
stored in I
Number of years
Compounded monthly.
GIll
5.5 stored in N
4 4 Compound quarterly 5000 5000 Loan amount
1.375 F.AMT 5000 Loan amount stored in
F. I .01375 Quarterly interest Y
stored in I F. LOAN- 126.9671 Monthly installment
5 5 Number of years PMT
x 5
4 4 Compound quarterly b) 12 12 New interest rate
20 F.I/12 .01 Compounded monthly •
F. N 20 Quarter periods. stored stored in I
in N F. LOAN- 111.22225 New monthly install-
15000 15000 Re-enter future value PMT ment
F.AMT 15000 Future value stored in
Y c) 7.5 7.5 New interest rate
F. SAV-PMT 656.7085 Quarterly deposit F.I/12 .00625 Compounded monthly.
required stored in I
10 10 New number of years
4. Savings Computations - Accumulated Value F.12N 120 Compounded monthly.
stored in N
To find the amount accumulated a) if $100 is deposited F. LOAN- 59.35085 New monthly install-
at the end of each month for 6 years in a savings account PMT ment
8·151
financial examples (Continued)
To find the amount of a loan with monthly payments Find the depreciation and depreciable value for each
of $125, and an interest rate of 9% for 3 years, b) 4. year, on an item with an initial cost of $3,500.00 and a
years, c) $120 for 4 years. salvage value at the end of 8 years of $675.00.
connection diagram
DIGIT 3 24 DlGIT4
OlGIT2
K4 4
~
K3
SWITCH
INPUTS 6
NC
{
Kl
VOO 8
Sf 11
VSS 12
'--------'
TOP VIEW
8-152
Calculators
[IJ[TI[g0 F1-
9
.1!. SKIP
F2..2.!!. .l!.TEST
F3 -1.!. .!!.INB
13
'VSS ..!3. --F4/BLK
TOP VIEW
Order Number MM57135N
See Package 22
8-153
functiona I descri ption
REGISTER CONFIGURATION providing synchronization information during testing
and if used with other logic.
The user' has access to 7 registers designated X, Y, P1,
P2, M1, M2 and M3. X is the display and entry register. When the calculator is in the "idle state" and ready to
Y is the constant register. M1, M2 and M3 are indepen· accept a key, F IP is high (near VSS). It remains high
dent user·addressable memory registers that can be until a key is depressed and accepted, then goes low. It
stored, recalled, added, multiplied, subtracted or divided stays low until the calculation is complete then returns
with X. P1 and P2 are parentheses registers. to a high state which signifies a new key may be entered.
DISPLAY FORMAT
In the event of an illegal operation, the calculator will
display"Error" and X will be cleared. All other registers
Floating point display output format is selected at and memories are protected. AnY,key depressed after an
power-on or by pressing "F", "F LT". If X is greater error will use X = 0 for the next operator. Table I
than 9999999999. or less than 0.000000001, the summarizes results and operations that will give an e~ror
display is automatically in scientific notation. indication.
The OS8664 digit driver can sense a low battery voltage Transcendental functions give 10 digits of accuracy
condition and send a signal to inputlRB of the MM5781 except near normal limits and. all other functions are
which causes the display to show an "L" in the left-most internally accurate to 12 digits.
sign position:
The calculation time of all transcendental functions
READY SIGNAL OPERATION takes less than a second; all other functions, with the
exception of factorial computations, are executed in
Output FIPof· the MM5781 can be used as a "ready less than 1/3 second. Factorial of 69, the longest calcula-
signal" to' indicate calculator status. It can be useful in tion possible, takes less than 3 seconds.
EF154
functional description (con't)
KEY OPERATIONS Accumulative/Factorial Key, "M+/X!"
a) Used to enter data points for computation of mean Common Log Key, "LOG/10 x "
and standard devi ati on:
Sums X to Ml ('Lx) a) Common logarithm of X to X (base 10)
Sums X2 to M2 ('Lx2) b) After "F": (lOX) lOX to X
Adds 1 to M3 (N)
b) After "F": ('L-) used to delete data points: Natural Log Key, "Ln/e x "
Subtracts X from M 1
Subtracts X2 from M2 a) Natural logarithm of X to X (base e)
Subtracts 1 from M3 b) After "F": (eX) eX to X
functional description (c~n't)
Decimal to Degrees Conversion Key, "D.MS" Equal Key, "="
a) Replaces the decimal angle in X with its degrees a) In chain mode: perform the specified function of X
(or hours), minutes and seconds conversion and Y, putting the result to X and save the last num-
b). After "F": (OMS) degrees (or hours) minutes and ber displayed in Y, set the constant mode
seconds in X is converted to decimal angle b) In constant mode: perform the specified function of
X, Y putting the result in X
Trigonometric Keys, "SIN, COS; TAN" c) After "F": (CF) reset F mode
'.8·,156
Calculators
[TI[IJ[g[IJ 8
K4-
Fl...1
22..18
,!!. SKIP
0000 FJ...!.!.
VSs..,g
~INB
#-F4/BLK
TOPVIEW
Order Number MM57136N
See Package 22
Kl
K2
1
4
2
5
3
6
0
7
.
8
C
9
-
X
+
K3 MR MS EE CS ~+ % EXC EN ROLL M+
K4 LN LOG l/X v' SIN COS TAN R .... P .... D.MS F
(8~~57
functional description
REGISTER CONFIGURATION
The user has access to 7 registers designated X, Y, Z, T, When the calculator is in the "idle state" and ready to
-M 1, M2 and M3. X is the displ ay and entry register and accept a key, FIP is high (near VSS). It remains high
the bottom of an "operational" stack that includes Y, Z until a key is depressed and accepted, then goes low.
and T. Ml, M2 and M3 are independent user-addressable It stays low until the calculation is complete, then returns
memory registers that can be stored, recalled, added, to a high state which signifies a new key may be entered.
multi-plied, subtracted, divided or exchanged with X.
All registers contain 12 mantissa digits with sign and 2 KEYBOUNCE AND NOISE REJECTION
exponent digits with sign. '
When a key is depressed, a time-out is started. A key is
DISPLAY CONFIGURATION accepted as valid if it remains depressed for approxi-
mately 12 ms. The key must be released for at least 12
The X-register is always displayed and shown as 10 digits ms before a new key can be entered.
of mantissa with sign and 2 digits of exponent with sign.
All internal calculations are done with 12 digits and
rounded to ten; therefore, all displayed digits are accurate ERROR CONDITIONS AND INDICATION
for all functions. Numbers are entered left justified with
trailing zeros suppressed. In the event of an illegal operation, the calculator will
display "Error" and X will be cleared. The other registers
DISPLAY FORMAT in the stack and all memories are protected. Any key
depressed after an error will use X = 0 for the next
Floating pOInt display output format is selected at power-
operator. Table 2 summarizes results and operations that
on or by pressing "F", "OS", ..... _ If X is greater than
will give an error indication.
9999999999. or less than 0.1, the display is automatically
in scientific notation.
The number of decimal places displayed call be selected TABLE II. Results and Operations that Result in an
by pressing "F", "DSP" and a number key (0-9). The Error Indication
display is rounded to the selected decima'i position. A
result too large or small to show with the selected posi-
tion is displayed in scientific notation.
Results> 9.999999999 x 10 99
By pressing "F", "ENG" all results are displayed in
modified scientific notation with exponents of 10 'that
Results< 1 x 10-99
are multiples of 3. Di~ision by 0
LOG, LN:::; 0
All results maintain 12 digits internally at all times. Only yx for Y:::; 0
the display is affected when '''DS'' is used to reduce the TAN, SIN, COS> 25 revolutions (9000°)
number of decimal positions. The unrounded result may TAN of angles at or near ±oo asymptotes
be viewed by returning to the floating point mode. SIN-l, COS-l > 1 or~ 10- 50
DISPLAY CUT-OFF
.jX < 0
DMS Conversion ~ 10 10
If no key is depressed for approximately 32 seconds, an Xl < 0, not an integer, or> 69
internal display cut-off circuit will turn off the entire
display except fo'r segments C, 0, E and G of the left-
most digit. Depression of any key will restore the display.
Input INB of the MM5781 must be wired to VDD to
enable the display cut-off feature. If INB is left floating,
no display cut-off will occur.
RANGE, ACCURACY AND SPEED
BATTERY LOW INDICATION
All functions work o·ver the mathematically allowable
The DS8664 digit driver can sense a low battery voltage range defined by Table II.
condition and send a signal to input I RB of the MM5781,
which causes the display to flash an "L" in the left-most Transcendental functions give 10 digits of accuracy
sign position. except near normal limits and all other functions are
internally accurate to 12 digits.
READY SIGNAL OPERATION
The calculation time of all transcende'ntal functions
Output F IP of the MM5781 can be used as a "ready takes less than a second; all other functions, with the
signal" to indicate calculator status. It can be useful in exception of factorial computations, are executed in
providing synchronization information during testing less than 1/3 second. Factorial of 69, the longest calcula- '
and if used with other logic. tion possible, takes less than 3 seconds.
·8~158
functional description (con't)
t======~' T , m3 , M3
z=====~, Z
:='
:='
~,m=2=======:' M2
y====:' Y
1,-x_ _ _--11 x
:=:'
,-Im_l_ _----'I M1
KEY OPERATIONS
a) Pushes down stack and clears T. Four "c" depres- a) After "EE": change sign of exponent of X
sions will clear a completely full stack b) After "F": (OS) set calc to Decimal Select mode
b) After "F": Clears all registers including the memories c) After any other key: changes sign of X mantiss(l
a) After any function key except "EN": pushes up a) Used to enter data points for computation of mean
stack, clears X and enters number left justified to X and standard deviation:
b) After any number key: enters next number. All Sums X to Ml ('EX)
entries after tenth are ignored Sums X2 to M2 C~:X2)
c) After "EE": enters number to exponent. Last two Adds 1 to M3 (N)
entries are used b) After "F": ('E-) used to delete data points:
d) After "EN": clears X and enters number in X Subtracts Xfrom M1
e) After "OS": load decimal select position for fixed Subtracts X2 from M2
decimal output mode Subtracts I from M3
f) After "F":
Accumulative/Factorial Key, "M+/X!"
.(~OC) "." Converts X in ° F to °c
(oC = (OF - 32)/1.8) a) Sums X to Ml
(~oF) "0" Converts X in ° C to ° F b) After "F": (X!) replaces X with X-factorial
(OF = 1.8°C + 32)
Coordinate Conversion Key, "R ..... pOI
(DEG) "1" Set calc to degrees mode
(GRAD) "2" Set calc to gradians mode
a) Converts contents of X and Y in rectangular
(RAD) "3" Set calc to radians mode cciordinates to polar coordinates:
(~LB) "4" Replace X with X -;- 0.4535924
(~IN) "5" Replace X with X -;- 2.54 JX2 + y2 to Y
(~GAL) "6" Replace X with X -;- 3.785412
(~KG) "7" Replace X with X • 0.4535924 TAN- 1 y/xtox
(~CM) "8" Replace X with X • 2.54
(~LlT) "9" Replace X with X • 3.785412 b) After "F": (P ~ R) converts contents of X and Yin
g) 1,2,3 after: polar coordinates to rectangular coordinates:
Y SIN X~Y
"MR" Push up stack, recall selected mem-
Y COS X~ X
ory to X
"MS" X to selected memory Note: R ..... P works in all four quadrants
"M+ mode" M + X to selected memory
"M- mode" M - X to selected memory
"MX mode" M' X to selected memory Square Root/Square Key, ".jX/X2"
"M-;- mode" M -;- X to selected memory
"MEXC mode" X is exchanged with selected a) Square root of positive value of X to X
memory b) After "F": (X2) X-squared to X
functional description (con't)
8-160
summary
Summary of Stack Operations
t-./ • Z
T ·t ..
.. Z
T
z /
V .. Y
/,----~
f (x) .. X
• T
--_~T .. Z
z
V~
X . \
\"-=-z
..
•
y
X
V'r--1'Y
x~X
~LOST
.. T
~
• Z t~T
z Z
V---"X,
:: V
X
Y
X
1 +. -. X. 7. yx 1
O_ _ _ '~T
--\"-=-z
V,~y
X~X
11.1-----'
FIRST
~ AFTER NUMBER KE'y OR
~ AFTER FUNCTION KEY
~LOST 1 DS. DEG. RAD. GRAD. ENG. CF. F I·
t / .. T • T
;-=:~ .. z
z
NUMBER - - - - - - - ' .
.
yx ..
•
y
EJAFTER~ OR ~ ERROR
t .• T • T
.. Z .z .. Z
V • Y .. Y
NUMBER - - - - - - -....- X
: \\. • X
LOST
8-161
summary (con't)
(n = 1,2, J)
~
. r-- LOST .. T .. T
t----l - .. T .. Z .. Z
~ -z .. Y
:~
z / Y
y
mn
2~, mn---- X
ERROR
~ [2] OVERflOW INTO MEMORY
---------- T .
.. Z
-.. T
Z
.. T
- Z
y - Y
~n
x
y
.... Y
X
- Y
x \. :
mJ~MJ ~X
mn~LOST mn~-
- - -......\ _ M
m2~M2
' - - - LOST
m1~M1
MS,+, n
MS,-:-,n
,MS,X,n POWER "ON" OR
MS, -, n
... T
~
- T - .T
.. Z .. Z - Z
y .. Y o .. Y .. Y
_ X
x .. X o x .. X
~LOST o- - - - - - -...._- MJ mJ~MJ
~
mn ~- Mn O· .. M2
f (x, m)
m2~M2
- - - - - - -....-- M1
m1~M1
»
2
Calculators ........
I
In applications that require counting at fairly low rates The MM5736 is a 6 digit, no decimal point, five function
and display of the accumulated total, the MM5736 calculator. These five functions are: ADD, SUBTRACT,
calculator chip can be used to yield a very low parts MUL TIPL V, DIVIDE, and CLEAR. The calculator has 3
count solution. Such applications include: timers, stop· inputs (K 1 , K 2 , K 3 ) that are designed to be driven by a
watches, bin counters, digital panel meters, coordinate keyboard matrix and two sets of outputs: 6 "digit"
counters and nearly all applications that currently use outputs and 7 "segment" outputs. The segment outputs
mechanical counters. A 6 digit counter that will drive a provide a positive true, 7 segment 'code that represents
LED display and count at a maximum rate of about the information in the calculator's display register.
60 Hz can be constructed with only 2 integrated circuits. These outputs are multiplexed such that the 7 segment
Higher counting rates, simplified control, and more code for digit 1 appears on the segment outputs during
versatile display driving capability can be obtained with digit time 1. The code for digit 2 appears during digit
the addition of a few more components. Counting is time 2 and so on as illustrated in Figure 1. These
accomplished by loading a "1" into the calculator and outputs are designed to drive a LED readout in a
causing an "add" each time the counter is incremented. "digit" multiplexed manner by strobing the LED char·
But before describing any actual counters, a brief acters with the digit outputs. The digit outputs can not
explanation of the calculator's operation is in order. drive the LED display directly and must be buffered
r - - - - - - - - - · - - W D R D TIME ----------1
INTERDIGIT BLANKING TIME
DIGIT 1
OlGIT2
DIGIT
OUTPUTS
DIGIT 3
DIGIT 6
So
Sb
Sc
SEGMENTS Sd
S.
Sf
Sg
SEGMENT
ACTUAL DISPLAY,
DESIGNATION
06--------01
····-8-163
....N
'7
Z
« with a DM75492 digit driver. The segment outputs will
drive some LED displays directly but the designer must
itself will draw about 6 mAo If a LED display is driven
directly, without segment drivers, the current that drives
choose the display carefully if he does not wish to use the display must come through the calculator so the
segment drivers. National's line of low current LED total power supply current could be as high as 110 mA
displays, such as the NSN66A and NSN98A, can be but will typically be about 50 mAo This is dependent
driven directly by the calculator chip. to some extent on the supply voltage and the nature of
the particular digit drivers that are used.
ENTRY INTOTHE CALCULATOR
NO POWER SUPPLY RAMP ALLOWED
Numbers are entered into the calculator by conf)ecting
the appropriate digit output to either the K1 or K2 The power supply voltage must come up to an opera-
input. Arithmetic operations (and the clear operation) tional level fairly quickly since a slow ramp will not
are initiated by connecting th{l appropriate digit output always initialize the calculator properly. The chip was
to the K3 input. Table I shows the combinations of digit designed for battery operation where the dc source is
outputs and K inputs. switched. If the chip is used in a syst~m with a heavily
. filtered power supply, some provision should be made
TABLE I. to allow the Vss terminal of the calculator to rise
abruptly. After power up, the calculator should be
Digit cleared twice to ensure that all registers are reset to zero.
The first CLEAR operation affects only the display
# K1 K2 K3
register, the second CLEAR affects all other registers.
1 0 CLR
2 1 6 CMOS COMPATIBILITY
3 2 7 -
4 3 8 + The MM5736 is directly compatible with Nationals' 74C
5 4 9 X line of CMOS. The number of CMOS loads the calculator
can drive is limited only by degradation in waveshape
6 5
due to capacitive loading. Loads of 200 pF or less should
present no problem to the digit outputs but the segment
Note: Blanks are illegal connections. outputs should not be loaded with more than about
50 pF. This means fanout should be limited to about 10
Switch debounce is done. in the calculator chip and is on the digit outputs and 4 on the segment outputs. The
accomplished by requiring that the digit output of CMOS can be run from the same supply as the calculator
interest be connected to the proper input for at least 8 and still drive the calculator inputs directly. This
consecutive word times (see Figure 1). Before another compatibi.lity makes interfacing with the calculator a
entry can be made, at least 8 word times must elapse breeze.
during which none of the digits outputs are applied to
\ the K inputs. This requirement limits the speed of the SIMPLEST COUNTER
calculator but is necessary to provide an adequate
debounce timeout. A method of speeding up this time- Figure 2 shows a 6 decade counter that drives a display
out is discussed later. and requires a minimum of parts. This circuit's
maximum counting rate will typically be about 60 Hz.
POWER REQUIREMENTS Some chips may run as slow as about 40 Hz while some
may run as fast as 150 Hz due to inherent variations
The MM5736 will operate from a single supply voltage of the on-chip oscillator from calculator to calculator.
anywhere between 6.5V and 9.5V. The calculator chip This counter is useful in applications where speed is not
o-_---'-IK S. Sb Sc Sd S. Sf SJ 10
J
ss
MM5736
CALCULATOR CHIP
START
8-164
»
2
.!..
~
an important factor and where the counter is reset operate as long as the voltage between the Vee terminal N
manually. The resetting of this circuit consists of two and each output is at least 1.6V. This means Vee can be
operations, clearing the calculator and entering a 1 into operated at a lower level than Vss, resulting in a power
it again (only one CLEAR operation is needed following saving. The voltage on an output of the DM8895 when
an arithmetic operation). The circuit in Figure 2 leaves the segment is ON is determined by the saturation volt-
these two operations to the operator; he must first clear age of the digit driver (typically 1.0V for the DM75492)
the counter by depressing S1 to the CLEAR position and the voltage across the LED (typically about 1.8V).
and then he must enter a 1 into the machine by depress- Consequentially the typical minimum value of Vee is
ing S2 to the START position. This allows the operator about 4.4V. Worst case conditions will result in a
to control when the counting starts without gating the minimum Vee of about 5.3V.
"count" input.
Figure 4 again indicates how to build this same counter
In case the impact of this escaped you, let's repeat it: but this time using different segment drivers. In this cir-
the circuit in FiguCe 2 demonstrates a 6 decade counter' cuit, the current drive to the LED's is determined by the
and everything that is needed to drive a 6 digit LED external current limiting resistors. Here again the current
display, yet this circuit requires only two integrated to the display is supplied by Vee which can be less than
circuits! Vss , again resulting in a power saving and the ability to
drive large LED displays.
Figure 3 indicates how to build this same counter using
segment drivers. The DM8895 segment driver can be
mask programmed to source several values of current. SELF STARTING COUNTER
Since the values of current that are readily available will
change from time to time, National should be consulted With the addition of only one package of CMOS gates, a
about the DM8895 before a design using it is under- counter can be built that does not require a separate
taken. The general range of currents available is from "start" operation to enter an initial 1 into the calculator
5.0 mA up to about 17 mA per segment. This means chip; This circuit is shown in Figure 5_ When the RESET
that fairly large displays can be used. Noteworthy is the switch is returned to its normal position after clearing
fact that the current that drives the display in this the calculator, the additional parts generate a delayed
configuration is not supplied by the calculator chip. pulse that gates digit output 2 into the calculator and
Instead, this current comes from the Vee supply thus enters a 1. This allows the counter to be reset in a
terminal of the DM8895. The DM8895 will continue to single operation.
Vss Vee
8-165
Vee - - - _........ -_+4....
OM15491
COUNT
FIGURE 4. Counter with Segment Drivers and External Current Limiting Resistors
6.5-9.5V
6.5 - 9.5V
8-166
FASTER COUNTING RATES
Figure 6 illustrates how to speed up the circuit shown in age is taken out of the bin, switch S3 is activated and the
Figure 5 so that it will count at a higher rate. The actual counter subtracts 4 from the accumulated total.
maximum counting rate attainable with this circuit will
depend on the particular MM5736 used but will run
from about 80 Hz up to about 300 Hz. A reasonably RETAINING FULL USE OF THE CALCULATOR
typical speed is about 120 Hz. This circuit could also be
used with segment drivers as previously described. The
Counters can be built such that full use of the calculator
increase in counting rate is obtained by feeding digit
is retained. This requires that the usual keyboard ar-
output 6 back to the digit 4 output thereby fooling
rangement of the calculator be undisturbed by the
some internal logic. However this results in a double
counting logic. Figure 8 illustrates a circuit that uses
pulse on the digit 4 output which must be gated back to
MaS transistors to accomplish this. In this circuit,
a single pulse at the normal digit 4 time. This requires
normal calculator operation is retained when S2 is in the
one diode and one additional package of CMOS gates. In
"calculate" position since all four MaS transistors
reality, very few relays or switches will operate at these
(Ol-04) are "off" {gates are at Ved and the circuit is
speeds. Consequently, applications requiring these higher
essentially the same as the "recommended calculator"
counting rates may have a normal logic signal'to (,:ount
circuit in the MM5736 data sheet. If the,"RESET"
rather than relay closures. Figure 8 illustrates this. In
'switch is activated D 1 is connected to K3 and the
this configuration the input must be high at least 4 word
calculator is cleared. Capacitors C1 and C2 are dis-
times and the duty cycle cannot exceed 50%. A word
charged while S1 is activated but as soon as S1 is
time will vary from 420J,ls to 1.6 ms with 1.0 ms being
released C1 and C2 will charge up generating a delayed
typical.
pulse (negative going) on the gate of 02 which gates D2
into K1 and causes a 1 to be entered into the calculator.
MORE VERSATILITY The delay caused by C1 is necessary to allow the
CLEAR function to be debounced by the calculator chip
These counters can be made to count by numbers other as mentioned earlier. When S2 is in the "COUNT" mode
than 1 by causing the desired number to be entered into 04 is turned on and D6 is tied to D4. This doubles the
the calculator during the START operation. Table I max imumcounting rate by reducing the internal
indicates which connections must be made. The counters debounce timeout. The count input is now enabled and
can also be made to count down by doing successive an input pulse will turn 01 on. This gates D4 into the
subtractions rather than successive additions. Both could K3 input and causes the calculator to perform an
be used to build an up/down counter, the only restric- addition. Each subsequent input pulse causes 1 to be
tion being that trying to count up and down at the same added to the sum. When S2 is returned to the "cal-
time is no fair. Figure 7 shows a circuit that counts up culate" position the count input is disabled and 04
and down by 4's. Such a counter might be used to keep is turned off returning the keyboard logic to its
track of inventory in a bin. In this case, the parts to be normal state. This same circuit can be imPlemented
inventoried are package,d in groups of 4. When a package with MM74C02 NOR gates instead of MM74COO
is put into the bin, switch S2 is activated and the NAND gates. The MaS transistors can then be replaced
counter adds 4 to the accumulated total. When a pack- with an MM5616 CMOS switch.
6,5-9,SV
8:167
Vee
330k .lC2
3JOk~TOoM
~ I COO
- 02
--Cl
JOoM
s,:-11-=
I Vss Sg Sf Se Sd Sc Sb Sa
/ K,
"RESET"'
I MM5736 NSN66A
K,
/
<. ....
....
I~ K,
01 02
CALCULATOR CHIP
03 04 05 06
LEO DISPLAY
I
J
/ S,. Voo
'"
i'o- 5 ~7 -=1-
1'0- 3~8 ~+
t---
OM75492
i'o-,1
.-....!
,0 ~C
'"""~I
!
INPUT
"COUNT"'
"CALCULATE"
Vee
S,
.
COD
COD
•
01
0
OJ
~
FIGURE 8. Calculator/Counter
Many versatile counters can be built using the MM5736 2. The ability to debounce switch or relay inputs.
or its 9-digit equivalent. the MM5739. calculator chips.
3. 6 decades of counting in one DIP.
These counters should yield very cost effective solutions
to a variety of counting applications. The major dis- 4. Low cost.
advantage of these counters is that they are relatively
slow. The major advantages these counters offer are: 5. Low parts count.
8-168
l>
2
Calculators
-
..!..
CD
INTRODUCTION
A number of interesting stopwatch and elapsed time In all these circuits, the MM5736 calculator chip is used
functions can be implemented using the MM5736 calcu- in the autosumming mode as a counting and display
lator chip and a few packages of CMOS gates. This note element. Application note AN-112 illustrates how to
describes six different circuits that are intended to accomplish this counting. A thorough understanding of
stimulate thinking along these lines. The circuits to be the calculator's operation as a counter can be gained
described are listed below. from AN-112 and the MM5736 data sheet. Consequent·
Iy, the emphasis in this note is on controlling the counter
in such a way that useful timing functions are performed.
1. Stopwatch with 1/10 second resolution
2. Stopwatch with 1/100 second resolution Two types of timebases are also described. The first, a
3. Stopwatch/calculator (1/10 second resolution) CMOS RC oscillator, is depicted in all the circuits des-
4. Stopwatch/calculator (1/100 second resolution) cribed but may not be stable enough for some applica-
5. Stopwatch with 1/10 secs, secs, mins display tions. Consequently, a simple crystal controlled timebase
is also described.
6. Interval timer with keyboard and alarm
Vee
COUNT
~
~TOO-P.+---~~----~
LED DISPLAY
RJ SIMILAR TO NSA166
6aOk
DIGIT INPUTS
8-169
This implies that timing may continue after it has been STOPWATCH WITH 0.01 SECOND RESOLUTION
stopped without resetting to zero. The display will be in
tenths of seconds and seconds. Thus, 3 minutes 11 1/2 Figure 2 depicts a circuit that is identical to the one
seconds would be displayed as 191.5 seconds. shown in Figure 1 except that it has a resolution of
0.01 sec. This means the counter must run at a 100 Hz
rate which is normally beyond the capability of the
MM5736. However, as described in AN·112, a trick can
Circuit Description be played with 06 and 04 that will double the effective
counting rate ofthe calculator. This trick is accomplished
The RESET switch simply gates 01 into the K3 input of by forcing 04 high during 06 time. SWO is a bilateral
the calculator and clears ,it. Upon initial power up it will swit~h that connects 06 to 04. CR2keeps 04 off 06.'
be necessary to activate RESET twice. From then on, SWC is turned off during 06 time so the extra pulse on
only one RESET activation is necessary. the 04 line wiU not get to either the LED display or the
data entry logic.
When the COUNT switch is activated, R 1 pulls up
signal X1. This, makes all the inputs to the 3 input gate The remainder of the circuit operates exactly like the one
high and gates 02 into input K1. This will cause a 1 to in Figure 1 with the exception that'some of the gating is
be entered into the calculator. Signal X2 is delayed by implemented with the MM5616 switches.
R2 and C1 and will go low about 25 ms after X1
and shut off the 02 pulses being gated into input K1. 'STOPWATCH/CALCULATOR WITH 0.1 SECOND
About 40ms after this, signal X3 (which is delayed RESOLUTION
through R3) goes high and 04 is gated into the K3 input
at a 10 Hz rate. This causes repeated additions and results Figure 3 depicts a combination stopwatch and calculator.
in the calculator counting at this rate.When the COUNT Stopwatch operation is the same as described earlier
switch (S1) is returned to the STOP position the with the foUowing exceptions: Transistors 01 and 02
additions will be stopped about 60 ms later (after X3 (which are small GP switches) are used to switch either
is delayed through R3). This delay hardly seems objec· 02 or 04 to the calculator inputs. This allows the key,·
tionable since it Is less than the resolution of the counter. board and the stopwatch logic to operate in parallel in
However, purists may feel the addition of CR1 is what amounts to a "wire OR'ed" arrangement. Also
necessary. This will cause the,counting to stop imme· there is no RESET switch in th is circuit since the
diately after S1 is returned to the STOP position since calculator's CLEAR key can be used to reset the time
C2 will be discharged immediately. to zero.
The LED display shown differs from the NSA 166 only Normal "f~ur function" calculator operation is available
in the placement of the decimal point. when S1 is in the "CALCU LATE" position.
Vee
COUNT
~
(TOP
R3
6BOk LEO DISPLAY
NSA166
~AR
DM75492
DIGIT
DRIVER
'MM5616
8·170
Vee
: lOOk
33~1
5= . .
~-
r: IIr I I II
cau NT
.~ I '" I I
S'VSS~
CALC
6Bok KI S, S. S, S, S, Sf
K2
. . - - - K3
DI D2
MMS73B
CALCULATOR
03 D4 DS D6
,f-i"
VOO
_
9V
LEO DISPLAY
NSAI66
" ~ 1 -=-J
"- ""- "-"-
'Z.
DM75492
r--
~"
~"
" '---
,~
r *.t<1
Co4
ec S60k S60k
_.....
FIGURE 3. 1/10 Second Stopwatch/Calculator
8·171
Vee
lOOk
+O.M
330k
~
~, I I I I I --i I
CO UNTER
f' A
CALC
6aOk Kl S, SI S, S. S, Sb
Vee
I III
S. Vss _
MM5736 NSA166
K2
CALCULATOR LED DISPLAY
~K3
01 02 03 04 05 06 V00-i
""- 'Z J I
"
"-
"" "- "'"
A
'Z..
"'-..
DM75492
OIGIT
DRIVER
r--
"-
'Z. " 'Z.
(a- I ~:~
C04
~
CALCULATOR
-
-"lN914
_L...
-"
560k 560k ko- COUNTER
~ Cl0
8-172
»
2
~
"Speed Up" Circuit Circuit Description ....
(D
Transistors 011 and 010 implement the "speed up" As was the case for the stopwatch described in Figure 5,
function, in the same way as that described in Figure 2 a small controller made from a counter and a decoder is
except that naked MOS transistors are used in place of used to switch Digit outputs to the proper K input to
the MM5616 CMOS switch. create the sequence of entries required. The counter is
clocked by a 30 Hz oscillator whose output is also gated
AN INTERVAL TIMER WITH A KEYBOARD with all the Digit lines to create the proper "key down"
and "key up" times.
An interval timer that can be programmed to time out There are two sequences of entries required: one for
long intervals can also be made using the calCulator chip. RESET and one for START, the beginning of the timing
The desired time interval is entered from a keyboard. interval.
When the interval is complete, a tone is' emitted by a
small speaker until the operator activates a RESET Reset Sequence
switch. The timer (as described) will handle intervals as
long as 99999.9 minutes, which is about 69 1/2 days. When the RESET switch is activated, it is debounced by
This is probably too long an interval for an RC oscillator a latch and differentiated by C1 to generate a positive
to be acceptable as a timebase. Figure 6 shows an RC going pulse that clears the MM74C193 controller counter
oscillator but it could be replaced by the crystal oscilla- and the sequence proceeds as follows:
tor described later in this note. Counting speeds other
than 0.1 minutes could be used as long as the counting 1. Reset Latches: The "0" output of the decoder resets
speed of the calculator is not exceeded. the zero decode latch and the buzzer latch.
RJ
lOOk
1 1 01
h-
>--~"V GND
o't
"""'" "~
"
COUNTER
-R
DC 08 OA
"" CEP
",
~~ND
co
Vss
00
.. '";~
CEP
MM74C161 CEl
COUNTER
CP
CL
co~
CUi
'1r- I
SEGMENT
ORIVER
r--
IGND ~~8~~ Vee I
GNO CE VssVcc
DM889S
SEGMENT ~
r -H
DRIVER
{'"" ,
1
" '"I
B A 5.. Sb Sc Sd S.
Vss
MM74C4Z
DECODER
IKl
KZ MMS7J6 k 470
Dp EiSAEf sLAYa a
76 4
I CALCULATOR
KJ 01 OZ OJ 04 OS 06
DP
(OPTIONALI
9 8 S J Z 1 0 06 OS 04 OJ OZ 01
rr c~
Cl
lS 04
t>-s
"
10-+
\. I +J EVER,
EAOY +
Z16-=- 9V
-LCJ
v
~~ -
~- - b-z
\
i'"o-7
\
'"0--
\
OIGIT
DRIVER
POWER
R7
3,JM T O,l"F
"0-1 '"0-6
. . / "STOPWATCH"
\ \.
. _0- "CALCULATE"
Sl b-o "O-C -r-
\ \
CRl ~D.2...-
-<®
COD C K
C~ C~
~
010
~
",--
R~ ...L. cz "
10M TO,Ol"F
R6"
5M
I
(
RS
S10k
.. J
lN914
~1 i·
All FET, are 1/4 MM552 quad MOS transistors Sms
~
~100ms~
FIGURE 5. 1/10 Second, Seconds, Minutes Stopwatch/Calculator
8-173
r-;:::-
;:
;:
v
rKmo"ARol
.---+----.,
"v
~ "
r--
,'t>!, r-..
v
I
't>i
\ \ I
f'c! I
-J,
I J
I I ,
s. S. S,S. S, Sf S, ~
v
r-..
I II
~ I
Vss LED DISPLAY
I~J ' NSN14',
b2. CA~~SZ~~OR
\ I
L+-+-1H--i-lIK2
L.--H-+-+-~Kl 01 02 OJ 04 05 06
~
DR
NSA166
I
~:
';'
I I I,
b! 1 :::-
v
~ 6: I L.--+H-+---+-+--+-+-+-_-H'>o-+------.J
"
~
o ;:
v
\ I I
~
1.--- - - - - -l II
Xr ~JoHz ~
ISok ISok
i' I I I ..
~4~OOC04
o,ol"F
I I
~ ~~~ ~~}-H--+-t--iSWA
II~ I r-~;- ________--l~Co~o ~C~08~____- ,
I~CooCoo
Clo~
coo
i
L ___ ~R.!!.!Elli..T _ _ _ .J
COD I
Vee ~ ~Io-
J ~~>-+-++--tca
Il2-
i - - - - IiiiTzEil - - - - ,
It
ACD cM. (RSTI C02
:I~I :MM14C19t
o Do
~
0
:Io-~
3 ~ (HALTI
r--__ -+:fc02)-l:!CO~2)o---H~SWB
I~ 4 ~AITl
C
: : ~ "F V 8 (SUBTRACT)
L~ ____ ::..e~
All inverten:MM14C04"s.
__ J
~:f-~.. ~~.J. '" "=
~,!:.04
V v 1
,!i04~2L - -_ _ _ _- '
v
I TM
L-_-"N......__....._ " " "__...J 116 Hz
8-174
3. Enter 1: Decoder output 6 gates D2 into K1 to enter oscillator is to control the frequency of oscillation.
a 1. This is the number that will be repeatedly sub· Figure 8 depicts a simple and foolproof way to do this.
tracted to make the total count down.
~
4. Add: This simply causes the 1 just lmtered to be
added to the number that was entered from the key·
~
board. The total will now be one count higher than
desired. Since this would shake up most users, the
next step corrects this.
FIGURE 8. RC-CMOS Oscillator
5. Subtract: Decoder output 8 causes a subtraction
which decrements the display by 1 and brings it back The frequency of oscillation will be about f = 0.55/R2 C
to the correct reading. if R1 = R2. R2 has the most effect on frequency and in
6. Count: Decoder output 9 makes the controller halt most applications it would be a pot. Stability of the
and also turns transistor Q1 off. Q1 was initializing oscillator as a function of time is dominated by the
the timebase oscillator so the timer won't begin to passive elements, especially at frequencies as low as
count down prematurely. D3 is also gated into the 100 Hz or less. Variations in output drive capability of
base of Q2 which causes repeated subtractions at the the CMOS will be swamped if R2 is 100k or more.
timebase rate. Stability with respect to supply voltage in the range of
voltages that can be used with the calculator chip
At this point the timer simply chugs away decrementing (6.5-9.5V) is a function of frequency but the following
until it reaches zero. Time remaining to zero is continuo is representative:
ously displayed. When zero has been detected, the con·
troller's count enable term will go high and it will advance FREQUENCY VARIATION (6.5-9.5VI
to state 15 at which time the "carry out" term will go
high and inhibit any further counting. It will stay this 100 Hz :::::::3%
way until the RESET button is activated. 10 Hz :::::::0.5%
Zero Decode Logic
Empirically determined temperature drift of this oscilla·
A zero is detected by recognizing that a blank exists in tor due only to the CMOS is:
digit 2 and a 0 exists in digit 1. A blank is decoded with
the e,xpression Sb + Sc since one of these two segments FREQUENCY DRIFT
is always on when any number is being displayed. When 100 Hz 0.03%tC (-15 ~ +50°C)
BLANK' D2 exists, a latch is set. Then when a zero is
10 Hz 0.01%tC
detected in digit 1 according to the expression Sf • Sg
the buzz latch is set. This gates D6 into the base of Q3
which turns the speaker on at about a 1 kHz rate with Crystal Oscillator
a 1/6 duty cycle and generates a buzz. The buzz latch
will be reset during the RESET sequence. Figure 9 illustrates how to build a crystal oscillator using
CMOS. This oscillator is also described in AN·118.
OSCILLATORS
Cl
11
Two CMOS oscillators have been mentioned: one RC
and one crystal controlled. These oscillators are analyzed
elsewhere in National's applications literature (AN·118)
so only a summary is given here.
RC Oscillator
8·175
Cl
II
II
1.6384 MHz CZ
oH ' II
5M +10
10 Hz
+16384
Vee
Cl
II
1.3107ZMHz CZ
OHI II
5M
10Hz
+16384 -+Z048
1/6 Hz
SUMMARY
A rich variety of timing functions can· be done digitally parts count solutions to many of these problems. It can
and many of these can be implemented with the MM5736 be used in a variety of ways, it interfaces ideally with
calculator chip. The MM5736 offers six decades of the 74C line of CMOS and consumes little power.
counting and display in one package and will yield low
8·176
»
Calculators -
:2
I
~
CD
I I
VSS
warehouse or display shelves for unknown periods of
MM5760
time_ Not surprisingly, alkaline cells are also three to VDO SEGMENTS
four times more expensive than carbon-zinc. Silver ~ (BlllISEG+IDP
oxide batteries have been used in throw-away calculator
applications to achieve a more desirable form filctor.
Although replacements are available (the cells are often
9,
--...=-
_
- I DISPLAY I
used in heari'ng aids and cameras) the high current
drain inefficiency of the cell results in poor utiliziltion 1 (9It~·
of available capacity, and battery life is short.
SECONDARY CELLS
100
I DIGITS
OSBB64
I
Nickel-cadmium batteries have become the standard for
rechargeable systems. They exhibit relatively constant
discharge voltages and can be recharged many times. Figure 2. Power Supply Current for 9 V Calculator
Internal resistance is low so they are capable of supply-
Referring to Figure 2 and using typical values from the
ing high peak currents_
5760 data sheet,
Figure 1 indicates the discharge characteristics of carbon- IDISPLAY ~ IsEG(Avel + IDP(Avel
zinc, alkaline and nickel-cadmium cells_
~ (I I (no. of segments) (no. of digitS) (Digit Duty) +. I
16 I SEG , on per digit on per word Cycie DP
~ 29.75 mA
TIME
ISATTERYDRAIN ~ Iss ~ 100 + IDISPLAY
Figure 1_ Comparison of Discharge Characteristics
~ 8,0 mA + 29,8 mA ~ 37.8 mA
8-177
Battery life is a function of the battery being used, of
course, and its capacity. An alkaline 9 V battery has a
IBATTERYDRAIN = (lDD + IDISPLAY) (VCONVERTER)
(VBAT) (EFFCONYERTER)
capacity of approximately 550 mA·hr.
(lDD + IDISPLAY) will be the same as the 9 V case.
. -Battery Capacity
Battery Life = = 550 mA.hr
=,::-:.:.0.:....;:"":':':' Assume the DC-DC .converter has a nominal output
IBATTERY DRAIN 37.8 mA
voltage of 8.0 V, and an efficiency of 75%:
= 14.3 hr, typical
IBATTERYDRAIN = (37.8 rnA)(~:~~) (O.~5) = 155.1 rnA
As a comparison, a carbon-zinc 9 V battery is rated at
only 125 mA-hr, giving a typical battery life of only
3.24 hr.
If two AA alkaline cells were used, average- battery life
would be (1500 mA-hr/155.1 mAl. or just over 9.6
SOMETIMES SIMPLEST ISN'T BEST
hours; 500 mA-hr nickel-cadmium batteries would typi-
cally give 3.2 hours between ~echarges.
In some cases it is not advantageous to design the
cillcuiator with a9 V battery system. If the calculator
is to be marketed in an area of the world where 9 V
replacements are difficult to find, or a unique form
factor is required to optimize overall calculator shape or
THREE CELLS INCREASE EFFICIENCY
size, alternate battery systems may be preferable.
8-178
Using three AA alkaline cells woulC! give a battery life of
(1500 mA-hrI100.5 mAl, or almost 15 hours; a 56%
improvement over the two cell system for the additional
_IDISPLAY cost of the OS8867 and an additional battery. 500 mA/hr
ni-cad cells would provide 5.0 hours of continuous
life. Note that this extended battery life is with higher
display current than the two cell system, which will
result in a brighter display as an added bonus.
FOUR CELL SYSTEM
VBAT + TO ANALDGOUS
0 ; ; ; _. . . ._ -+_
..... SEGMENT OF
A four cell battery system offers even higher power
OTHER DIGITS efficiency than the three cell system and the additional
battery cost is offset somewhat by the removal of the
OS8867. If the OC-OC converter output voltage is
regulated between Vss - 7.5 V and VSS - 9.5 V, seg-
ments can be driven directly (Figure 5). Figure 6 shows
the system diagram.
(a)
*MM51l1
MM51l8
MM51J9
MM516D
MM516Z 4.0 4.5 5.5
MM516l NSAl198 mon.
MM5164 Requirement VSAT (,)
MM5161
MM5169 Figure 5. Guaranteed Peak Display Current vs. Battery Voltage
= VBAT in a Four Cell Battery System_
(ll or (41
(91
KEYBOARD MATRIX
(b)
.'
Typical battery drain for a display of five "8s" in a
three cell system is:
'BAT '"
~
![~ 'OOMOS +
mA + (1. 5
(lSEG ORIVEMOS', Cycle
= 100.49 rnA
8-179
Battery drain current with five "8s" displayed is: Using four AA cells would give a battery life of at
least (1500 mA·hr/54.0 mAl. or almost 28 hours of
_ f.VCONVERTER )
continuous use. Four smaller capacity cells could be
IBAT - IDDMOS \VBAT • EFFCONVERTER + IDISPLAY
used to improve the form factor of the finished calcula·
£:: (10 mAl [ 8.75 1+ (8.5segmA\I (~\
(4.8) (0.75U Digit)
(5 Digits) (0.1) tor and still maintain a reasonable battery life. For
example, four alkaline N cells would give almost 10
hours of operation.
= 54.0 mA
Table 1.
3.0V';;;VIN ';;;4.5 V
3 MM5758 058867 058868 7.2 V';;; VOUT';;; 8.8 V 14.5 hours
lOUT';;; -25 mA
058873
9V Group A None or None 14.0 hours
058864
8·180
l>
Z
Calculators I
~
-..J
0')
The National line of calculators are designed to interface 1) Whenever Ready is at a logic high, enter keys.
with low-cost keyboards, which are often the least 2) Whenever Ready is at a logic low, inhibit all keys and
desirable from a false or multiple entry standpoint. wait.
3) The transition from low to high indicates that an
When a key closure is sensed by the calculator, an external machine can change states. Also, after a
internal time-out is started. Any voltage perturbations of period of time, the display is valid and can be
significant magnitude which occur on the Key Input sampled.
Lines during the time-out will reset the timer to zero.
A key is accepted as val id only after a noise-free ZERO SUPPRESSION
time-out period: noise that persists indefinitely will
inhibit key entry. Key releases are checked in the same All calculators have some form of zero suppression.
manner. For left-justified displays, it is trailing zero suppression
which is relatively easy to implement and fast. Right-
justified displays require leading zero suppression. While
READY SIGNAL OPERATION this doesn't require much more logic, it is much slower.
This can play an important role in using a calculator
The Ready signal indicates calculator status. When the which must transfer results to other logic elements.
calculator is in an "idle" state, the output is at a logical After Ready goes high, it can take up to 7 word times
high level (near VSS). When a key is closed, the internal before the segment information is correct. Consult
key entry timer is started. Ready remains high until the Table I for specifics.
time-out is complete and the key entry is accepted as
valid. As the calculator begins to process the key, Ready Figure 2 illustrates circuits for accomplishing the speed-
goes low (near VOO). ups given in Table I.
04 06
9V
1/2 C04016
NEW KEY IS
DEPRESSjD KEY IS
RELEASED
[ - - N WORD T I M E S - - - - I (
'"''''''"ru-u~-
"'" "-",,, """,./ - :f{(l~~\~: ~
TO KEYBOARD
AND OISPLAY
If the inverter is unavailable, a CD4016
IS COMPLETED, and resistor suffice.
WHICHEVER IS
LONGER
REAOY-------.'----.I I 04 06
I!- --_1-1
NEW KEY HAS BEEN NEXT KEY
9V
TO KEYBOARO
ANO DISPLAY
8-181
In many cases, a calculator circuit can be applied in a Conversion) calculators will fit into the same socket and
microprocessor system to eliminate the necessity of provide different algorithms.
writing extensive floating point software routines.
Figure 3 shows such a system developed for a SC/MP Table II describes these functions and the codes that
microprocessor. Due to variations in power supply the SC/MP must present to the input register. SC/MP
voltages and logic levels between SC/MP and the MM5760 may operate either in an interrupt driven mode or
Mathematician calculator, a combination of CMOS and through the use of the sense input. When programming
low power Schottky components has been used. The the SC/MP calculator systems, it is advisable to perform
MM5760 was chosen for this particular application the functions in the same manner as one would when
because 3 other pin compatible calculators, the MM5762, operating the corresponding Novus or National Semi-
MM5763 and MM5764 (Statistical, Financial and Metric conductor calculator.
TABLE I
DISPLAV CORRECT
NORMAL KEV DEFEATED KEV HOW TO DEFEAT POWER ON WHEN CAN SEGMENTS
CALCULATOR READV FOLLOWING LONG CAL
BOUNCE TIME BOUNCE TIME KEVBOUNCE CLEAR BE SAMPLED
READV PLUS
MM5736. MM5749 7-8 words 3-4 words 04 high during 06 No No 220ms Middle of digits
MM5757
MM5737 7-8 words 3-4 words 07 high during 09 Yes 7 words No 350ms Trailing edge of digits
MM5738 7-8 words 3-4 words 07 high during 09 Yes 7 words No 350ms Trailing edge of digits
MM5739 7-8 words 3-4 words 04 high during 09 No No 300ms Middle of digits
MM57S8 7 words 4 words TC high during 03 Yes o words Yes 3.1 sec Middle of digits
MM5760, MM5762, 9 words down, same none Yes o words Yes 3 sec Middle of digits
MM5763, MM5764 16 words up
MM5765 Uses ready Yes 40ms
MM5766 Uses ready Yes 40ms
MM5780 7-8 words 3-4 words 07 high during 09 Yes o words No 350 rns
MM5784 7--8 words 3-4 words Conn"ct K2 to 09 Yes 7 words Yes 580ms Middle of digits
MM5791 11 words 2 words Connect K2 to 09 Yes 7 words Yes 580ms Middle of digits
MM5777 7-8 words 3-4 words 06 high during 07 Yes 5 words No 300ms Trailing edge of digits
TABLE II
11 - * - - -
12 +* + + +
13 .*
14 X* X X X
15 - Freq* KS*
16 TAN JAL * x: Ft-in
- 17 SIN LOAN* COR In-mm
18 COS SAV* INT IN-em
20 l/X SOD Ex mile-km
21· eX j* REMy Ft-m
22 yx AMT y -
23 LOG - X MC
24 Ln yX REMx yd-m
25 Vx* M+ M+ M+*
26 STO* MR* MR* MR*
27 C C C C
41 EN = = =*
42 RCL =+ =+ =+
43
44
45
.
k
9
.
CS
9
.
CS
9
.
CS*
*
9*
46 8 8 8 .8*
47 7 7 7 7*
48 6 6 6 6*
80 5 5 5 5*
81 4 4 4 4*
82 3 3 3 3*
83 2 2 2 2*
84 1 1 1 l'
85 '0 0 0 O·
.to 86 ARC* n* CA' -
87 CS % % %*
8-182
»
2
CONT
, FLAG -~--~~
SENSE
liZ DM74LSOI
HALT - - - - - - + - - - - - - -....
VSS
1/6DM74LS04
ROY
01
02
MM5760
9 7
VCC Ell CLR 03
DBJ D4 04
04
'DB2 DJ 03
DM74LS17J
DBI D2 02
05
DBO 01 01
06
07
DB
09
":'
~-----------------------------------~~---~VY---VCC
Vee = 5V
VSS ':' 8V
All resistors 5.1 k
RA15-5.1KN
RA07-5.1KN
Operation of the circuit is' straight forward; when the receive the output of the calculator, the processor
8-bit control word is applied to the input register, a should load the lower 4 digits of the input register
9-bit multiplexer is addressed by the lower 4 bits, with the code corresponding to the digits required and
selecting a digit line. The upper 4 bits then gate the the upper 4 digits with zeroes-the multiplexer output
digit output through to the key inputs; the Ready signal then indicates availability of data.
line clears the input register and indicates acceptance
to the processor. When the Ready line returns to its In an SC/MP system, synchronization with data is accom-
original state, another command may be entered. To plished by first loading the digit code as described and
8-183
<D
"Z
~ immediately entering the HALT state. The mUltiplexer
output then drives the CONTINUE input. On start-up:
TABLE III. Hexidecimal Conversion for 7-Segment Output
CONTINUE )
INPUT .
FIGURE 4
8-184
U)
E
Q)
....
U)
COPS
en>
~
o
U)
U)
Q)
(.)
o
~
Elements in the COPS family provide four levels of • Data terminal controller
processing capabil ity from the dedicated MM57140
single chip system with direct display and keyboard • Automated gasoline pumps
interface to the highly flexible MM5782 based multi-
chip systems. • Alpha/numeric programmable calculators
features applications
• National's COPS feature P-channel metal gate process MM5781 16k control and ROM element
for lowest cost MM57129 32k control and ROM element
• Single power supply operation MM5782 Memory and processor element
• CMOS compatibility MM5785 Memory interface to 1024 x 1 RAM
• Serial I/O ports for easy communication between devices
processor and peripheral circuits MM5788 Printer interf~ce to Seiko printers
• Expandable RAM and ROM MM5799 Single chip microcomputer
• BCD in/out option for applications flexibility MM57140 Single chip microcomputer
• Direct interfacing to keyboard and display DS8664/5/6 Decoder, digit driver and oscillator
• 10 flS instruction cycle DS8692 Hex power driver (single)
• 4-bit data/8-bit instruction word DS8693 8-bit latch and driver (source)
• Single mask programmable MM57126 Programmer shift register
• Learn mode programmability
9-2
COPS
connection diagrams
28
VOO 11 VOO 001
27
IRB 12 11 002
12 003
SYNC 13
13 004
OSC 14
14 NC
Kl 15
15 SI
K2 16 16
MMS781 MM5782
K3
K4
17
17
18
17
18
OIl
16 SYNC Sc
Fl SKIP
OSC Sd
15
F2 TEST
SKIP Se
14
F3 INB
Sp
13
VSS F4/BLK VSS
9-3
absolute maximum ratings
dc electrical characteristics
.9-4
dc electrical characteristics (can't)
s:
PARAMETER CONDITIONS MIN TYP MAX UNITS s:U'I
.....
DO 3 Output Voltage Levels co
Logical High Level (VOH) RL>= 150k, to VOO VSS-1.0 VSS V N
Logical Low Level (VOL) 10L = 3J-lA VOO VOO+0.5 V
Logical High Level Current (I OH) Battery Low "OFF"
VOH = VOO + 3V, VSS - VOO = -1.3 -{).3 rnA
9.5V
VOH '" VOO + 2.5V, VSS - VOO = -1.0 -{),4 rnA
7.9V
Battery Low "ON"
VOH = VSS - 3V, VSS - VOO = -{).3 rnA
7.9V
VOH = VSS - 3V, VSS - VOO = -(),4 rnA
9.5V
. 9·5
ac electrical characteristics MM5781 - o°c to +70°C, unless otherwise noted(Figure 1)
PARAMETER CONDITIONS MIN TYP MAX UNITS
OSC Input Frequency (l/tp) 320 400 kHz
-OSC Input Duty Cycle 46 56 66 %
(tpdt)
--l1-H--1'th---t-----1b I
SYNC V,H ~=~~""0:~\
V,L -t----~++~--Io~
n \0:\ Un+---+----+---
- -1 "" - I-- IOs<h
'1-l aVOH
VOL :s: &.,,""~ ~'Vf
-Ipdhi-
X
f--1 '"'"'"
~ ~
--1 ~""~
t-- Ipd Ii
r:-SL
x
~""",,*
~""""""~
SKtP VOH
VOL
'" t--tpdx
F4/BLK VOH
INTERNAL
VOL
0: ~",,,,'\X
'"
~ '"'"'"'""l'.."'''''''~
Ir--1~
i---¢2D .1 ¢ID <12 ¢2D ¢1
CHIP CYCLE
FIGURE 1. MM5781 Input/Output Waveform Timing
9-6