LSI/CSI UL ® LS7055 LS7056 LSI Computer Systems, Inc. 1235 Walt Whitman Road, Melville, NY 11747 (631) 271-0400 FAX (631) 271-0405 A3800 6 DECADE PREDETERMINING UP/DOWN COUNTER DESCRIPTION: The LS7055/LS7056 is a MOS synchronous 6 decade Up/Down counter. The circuit includes storages and comparators, zero detect, automatic presetting and resetting, output latches, multiplexed output BCD and seven segment data. Thumbwheel switches can be used to provide BCD data to the storage networks in the circuit. January 2003 PIN ASSIGNMENT - TOP VIEW 40 COUNT INPUT 2 39 UP/DOWN INPUT 3 38 ZERO DETECT OUTPUT 4 37 DATA TRANSFER INPUT INHIBIT INTERNAL RESET INPUT 5 36 PRESIGNAL OUTPUT INHIBIT INTERNAL PRESET INPUT 6 35 B1 34 B2 33 B4 32 B8 B1 10 31 BLANKING OVERRIDE B4 11 30 g B2 12 29 f B8 13 28 e 14 27 d SELECT STORAGE INPUT 1 15 26 c SELECT STORAGE INPUT 2 16 25 b LSD 17 24 a L S D + 1 18 23 SCAN OSCILLATOR INPUT L S D + 2 19 22 MSD L S D + 3 20 21 LSD+4 COUNT INHIBIT INPUT DIVIDE CONTROL INPUT 1 DIVIDE CONTROL INPUT 2 RESET INPUT PRESET INPUT V DD (-V) MAIN SIGNAL OUTPUT BCD DATA INPUTS V SS (+V) DIGIT SELECT OUTPUTS 1 LSI FEATURES: • +4.75V to +15V (Vss - VDD) • Preset, Presignal and Mainsignal Store • DC to 250kHz Count Frequency • Fully Synchronous Operation Three Comparators with Output Flags Automatic or Manual Preset/Reset Control • Thumbwheel Interface for Storage Selects • Prescale on Count Input Selectable • Count Inhibit • Up/Down Control • Scan Rate up to 150kHz • Scan Oscillator has Override Capability • Blanking Override for Decimal Point Operaton • Multiplexed 7 Segment and BCD Data Output • Output latches • Reset • Hysteresis on Count Input • CMOS Type Noise Immunity on all other inputs • LS7055, LS7056 (DIP) - See Figure 1 7 8 9 LS7055 BCD DATA OUTPUTS * SEGMENT OUTPUTS DIGIT SELECT OUTPUTS FIGURE 1 COUNT (Pin 40) Counter operates at speeds up to 250kHz and advances on the positive edge of the input count pulse. UP/DOWN (Pin 39) Counter operates in up or down mode. A high input causes the counter to operate in the up mode while a low input causes it to operate in the down mode. COUNT INHIBIT (Pin 1) A high input inhibits counting and the counter remains at its last count. A low input enables counting. DATA TRANSFER INPUT (Pin 37) A high input allows the seven segment display and BCD data to follow the count (the internal latches become transparent). A low input prevents updating of the latches as the count advances and the seven segment display and BCD data outputs remain fixed. RESET (Pin 4) A high input resets and holds all counter stages at zero. A low input allows counter operation. 7055-012703-1 * OPTIONAL CHOICE-LAMP TEST (SPECIFY LS7056) INHIBIT INTERNAL RESET (Pin 5) A high input prevents the automatic reset of the counter to zero when in the up mode and when the counter reaches the number in the main signal store. PRESET (Pin 7) A high level presets the BCD counter to the number set in the preset store. A low input allows counter operation. INHIBIT INTERNAL PRESET (Pin 6) A high input prevents the automatic preset of the counter to the number set in preset store when in the down mode and the counter reaches zero. SELECT STORAGE OF DATA INPUTS (Pins 15, 16) Two inputs which allow BCD data to be stored in either the preset, presignal or main signal store. The proper method for loading the stores is depicted in Figure 4. PIN 15 0 1 0 1 PIN16 0 0 1 1 STORAGE No Selection Presignal Main Signal Preset BCD DATA INPUTS (Pins 10, 11, 12, 13) Four inputs containing BCD data which are applied to either the preset, presignal or main signal stores one decade at a time. This data can be provided by a set of thumbwheel switches which are driven by the digit select outputs. Referring to Figure 4, the BCD data inputs have built in pull down resistors (typically 51k Ohms). DIVIDE CONTROL (Pin 2, Pin 3) Two inputs for selection to divide the count input by either 5, 6 or 1. PIN 2 0 1 1 PIN 3 0 0 1 Divide by 5 Divide by 6 Divide by 1 MAIN SIGNAL OUTPUT (Pin 9) An internal comparator provides a high level output when the number set into the main signal store is reached by the counter. In the automatic mode and with the Up/Down control in the up position, the counter is reset to zero and the main signal output is typically a 2.5 µs wide pulse. In the manual mode (inhibit internal reset is high) the output remains high until the next count input or a reset is applied. PRESIGNAL OUTPUT (Pin 36) The presignal comparator provides a high level output when the number set into the presignal storage is reached. The output remains high until the next count input or a reset or preset is applied. SCAN CLOCK INPUT (Pin 23) A DC to 150kHz oscillator input port for driving the internal scan counter is provided. Up to 150kHz may be used when demultiplexilng BCD data using the digit select outputs. The frequency of the oscillator is determined by an external RC network as shown in Figure 4. Table 1 indicates several frequencies and their associated RC networks. The oscillator can be overridden using an external driver. Table 2 indicates the external drive requriements. When displaying, leading zero blanking and unblanking on LSD is provided. BLANKING OVERRIDE (LS7055 only) (Pin 31) On circuits with this option, unblanking can be made to occur on any digit by connecting that digit select output to the unblanking input. Since the input has an internal pull down resistor, it can be left floating when not in use. LAMP TEST (LS7056 only) (Pin 31) A high input will cause the seven segment outputs to provide all 8's to a display (BCD outputs are not affected). ZERO DETECT OUTPUT (Pin 38) A high output occurs whenever the counter is at zero. In the automatic mode and with the Up/Down input in the down mode, the counter presets to the number in the preset store and the zero detect output is typically a 1.5 µs pulse. In the manual mode (inhibit internal preset is high), the counter remains at zero until a preset or a count input pulse is applied. DIGIT SELECT OUTPUTS (Pins 17, 18, 19, 20, 21, 22) Six positive outputs for digit identification. The outputs occur sequentially going from MSD to LSD and can be applied directly to thumbwheel switches. They must be buffered before being applied to the seven segment displays either by a CMOS or transistor buffer as shown in Figure 5. Figure 3 indicates the timing relationship between the digit select outputs and the BCD data outputs. SEVEN SEGMENT OUTPUTS (Pins 24, 25, 26, 27, 28, 29, 30) Capable of sourcing current into the base of a common emitter NPN transistor for interfacing to a seven segment display. Small displays needing an average current of 0.5 mA can be interfaced to the circuit without external transistors. A typcial example of a 12V circuit is shown in Figure 5. BCD OUTPUTS (Pins 32, 33, 34, 35) Four outputs corresponding to the BCD data stored in the latches. The outputs can be demultiplexed using the circuitry shown in Figure 4. As can be seen from the timing diagram of Figure 3, the BCD data output and seven segment outputs are completely stable during the positive digit select outputs. POWER-ON-RESET An external RC network applied to the reset input as shown in Figure 4 can be used to reset the counter to zero upon application of power. The preset input must be held low at this time. The RC time constant should be larger than the power supply rise time. For example, a 100kΩ resistor and a 0.1µF capacitor could be used if the power supply rise time was 5 ms. POWER SUPPLIES The circuit operates over the range of +4.75V to +15V. At +4.75V, the inputs are TTL and CMOS compatible (external pull-up resistors must be provided on any input which does not pull up to Vss) when using TTL inputs. At +15V, inputs are CMOS compatible. All outputs are CMOS compatible from +4.75V to +15V. TABLE 1 Typical resistor/capacitor values for the scan oscillator RESISTOR 12kΩ 100kΩ 1.0MΩ CAPACITOR 1000pF 1000pF 1000pF TYPICAL FREQUENCY 100kHz 10kHz 1kHz TABLE 2 Driver Requirements for Overriding Scan Oscillator Input Power Supply (V) 5 10 15 7055-012703-2 Sink Current 1.0mA 4.5mA 10.0mA Source Current 0 0 0 MAXIMUM RATINGS PARAMETER Storage Temperature Operating Temperature Voltage (any pin to Vss) SYMBOL Tstg TA Vmax VALUE -65 to +150 -25 to +70 -30 to +0.5 UNITS °C °C V DC ELECTRICAL CHARACTERISTICS (VDD = VGG = 0V, Vss = +4.75 to +15V, -25°C ≤ TA ≤ +70°C unless otherwise specified.) PARAMETER Quescent Supply Current (All Input Pins Tied to Vss) (All Output Pins Left Open) Vss = 4.75V Vss = 15V Input Capacitance All Inputs Hysteresis On Count Input Noise Immunity All Other Inputs Output Levels All Outputs (All Output Pins Left Open) SYM MIN - IDD IDD Cin VNL VNH VOL VOH 30%(Vss - VDD) 30%(Vss - VDD) 30%(Vss - VDD) Vss - 1 7 Segment Output Current Source Current Vss = 4.75V, VOUT = 0.7V, 70°C ISEG 0.3 Vss = 4.75V, VOUT = 0.7V, 25°C ISEG 0.4 Vss = 10V, VOUT = 7V, 25°C ISEG 2.0 Vss = 15V, VOUT = 13V, 70°C ISEG 3.0 Note: Limit Segment Source Current to 4.5mA max. Sink Current (VOUT = 0.4V) Vss = 4.75V, 25°C Vss = 10V, 25°C Vss = 15V, 25°C Vss = 15V, 70°C ISEG ISEG ISEG ISEG -21 -17 -15 -10 BCD, Zero Detect, Mainsignal and Presignal Output Current Source Current Vss = 4.75V, VOUT = 4.5V, 70°C IoH 0.10 Vss = 4.75V, VOUT = 4.5V, 25°C IoH 0.13 Vss = 10V, VOUT = 9.0V, 25°C IoH 0.7 Vss = 15V, VOUT = 13V, 25°C IoH 2.5 Note: Limit Segment Source Current to 4.5mA max. Sink Current (VOUT = 0.4V) Vss = 4.75V, 25°C Vss = 10V, 25°C Vss = 15V, 25°C Vss = 15V, 70°C IoL IoL IoL IoL Digit Select Output Current Source Current Vss = 4.75V, VOUT = 4.5V, 70°C IoH Vss = 4.75V, VOUT = 4.5V, 25°C IoH Vss = 10V, VOUT = 9V, 25°C IoH Vss = 15V, VOUT = 13.5V, 70°C IoH Note: Limit digit select current to 10mA. Sink Current (VOUT = 0.4V) Vss = 4.75V, 25°C Vss = 10V, 25°C Vss = 15V, 25°C Vss = 15V, 70°C IoL IoL IoL IoL -7.5 -6.0 -5.5 -4.0 MAX - UNITS - 20 25 10 0.5 - mA mA pF V V V V V - mA mA mA mA - µA µA µA µA - mA mA mA mA - µA µA µA µA 0.28 0.35 2.0 7.0 - mA mA mA mA -15 -12 -11 - µA µA µA µA DYNAMIC ELECTRICAL CHARACTERISTICS (VDD = VGG = 0V, Vss = +4.75 to +15V, -25°C ≤ TA ≤ +70°C unless otherwise specified.) PARAMETER Count Input Frequency Vss = 4.75V Vss = 10V Vss = 15V Pulse Width Vss = 4.75V Vss = 10V Vss = 15V Rise Time Fall Time Scan Input Frequency Divide Control Set-Up Time Hold Time Reset Pulse Width** Reset Set Up Time Hold Time Inhibit Internal Reset Set Up Time Hold Time* Preset Pulse Width** Preset Enable Set Up Time Hold Time* Data Transfer Pulse Width** Data Transfer Set Up Time Hold Time Up/Down Set Up Time Hold Time Count Inhibit Set Up Time Hold Time Data Outputs (CL = 10pF) Rise Time Fall Time Vss = 4.75V Vss = 10V Vss = 15V SYM MIN MAX UNITS Fc Fc Fc DC DC DC 250 175 125 kHz kHz kHz Tcw Tcw Tcw Tcr Tcf Fsc 2 2.8 4 DC ∞ ∞ 100 µs µs µs µs µs kHz Tds Tdh Trpw 2 8 2 - µs µs µs Trs Trh 0 6 - µs µs Tis Tirh Tppw 0 3 2 - µs µs µs Tips Tiph Tdtw 0 6 2 - µs µs µs Tdts Tdth 0 6 - µs µs Tuds Tud 0 10 - µs µs Tcs Tch 2 10 - µs µs Tdr - 1.0 µs Tdf Tdf Tdf - 2.0 3.0 4.0 µs µs µs 0.5 - µs - 3 µs Digit Select Outputs Guard Band Time within 7 segment & BCD outputs Tgb See Figure 3 Main Signal, Presignal, Zero Detect Outputs delay with respect to positive edge of Count Input Tdo Set-Up and Hold times are defined with respect to positive edge of count input except where indicated by asterisks. * Indicates a hold time which must last for at least one whole count cycle plus 5µs past the next positive edge of count input. ** Reset, Preset and Data Transfer Pulse Width is as specified except if applied when a count input is going positive. In that case the set-up and hold times govern. The information included herein is believed to be accurate and reliable. However, LSI Computer Systems, Inc. assumes no responsibilities for inaccuracies, nor for any infringements of patent rights of others which may result from its use. 7055-012703-3 AUTOMATIC RESET MANUAL RESET COUNTER AT MAINSIGNAL VALUE MAINSIGNAL OUTPUT COUNTER AT PRESIGNAL VALUE PRESIGNAL OUTPUT COUNTER AT PRESET NUMBER MANUAL PRESET AUTOMATIC PRESET COUNTER AT PRESIGNAL VALUE COUNTER AT MAINSIGNAL NUMBER ZERO DETECT OUTPUT COUNTER AT ZERO COUNTER AT ZERO FIGURE 2. AUTOMATIC OR MANUAL OPERATION IN UP MODE PRESIGNAL OUTPUT MAINSIGNAL OUTPUT ZERO DETECT OUTPUT FIGURE 3. AUTOMATIC OR MANUAL OPERATION IN DOWN MODE COUNT INPUT UP/DOWN TUDH Tudh DIVIDE CONTROL Tdh Tds COUNT INHIBIT Tcs Tch RESET Trpw INHIBIT INTERNAL RESET Tirh PRESET ENABLE Tppw INHIBIT INTERNAL PRESET Tiph MAINSIGNAL, PRESIGNAL, ZERO DETECT OUTPUT Tdo DATA TRANSFER INPUT Tdo Tdth SCAN CLOCK INPUT MSD OUTPUT LSD +4 OUTPUT 7 SEGMENTS OUTPUTS BCD OUTPUTS STORAGE SELECT INPUTS Tgb Tgb BCD DATA INPUT * FIGURE 4. TIMING DIAGRAM * BCD data input assumed to be applied from a set of thumbwheel switches as shown in Figure 5. 7055-012703-4 LED DISPLAY BUFFER LATCH ENABLE BUFFER LE EXT. LATCH LE LE BLANKING OVERRIDE OR LAMP TEST 6 DIGIT SELECT OUTPUT 7 SEGMENT OUTPUTS DATA TRANSFER INPUT MAINSIGNAL OUTPUT PRESIGNAL OUTPUT LE LE ZERO DETECT OUTPUT SCAN INPUT Vss LOAD COMMAND LS7055/LS7056 INHIBIT INTERNAL RESET INPUT SELECT STORAGE INPUTS RESET INPUT 51K 10k INHIBIT INTERNAL PRESET INPUT V DD PRESET ENABLE INPUT DIVIDE CONTROL INPUTS Vss V DD COUNT INPUT COUNT INHIBIT BCD DATA INPUTS THUMBWHEEL SWITCHES FIGURE 5. SYSTEM INTERCONNECTION DIAGRAM 7055-012703-5 4 BCD DATA OUTPUTS UP/DOWN INPUT Vss 1µF (typical) 100k (typical) Vss FIGURE 6. Driving a small LED Display (Typically 1/8") at 12V power supply. The 2.7kΩ resistors provide approximately 3 mA segment drive. 10kΩ (typical) 2.5kΩ (typical) 7 SEGMENT OUTPUT DIGITAL SELECT OUTPUTS LS7055/LS7056 THUMBWHEEL SWITCHES 17 18 19 20 21 7 SEGMENT OUTPUTS BCD OUTPUTS DIGIT SELECT OUTPUTS 22 32 33 34 35 24 25 26 27 28 29 30 BCD TO 7 SEGMENT DECODER LAMP TEST INPUT (OPTIONAL-LS7056) MULTIPLEXER SCAN INPUT CLOCK SCAN OSCILLATOR DIGIT SELECT GENERATOR BLANKING GENERATOR BLANKING OVERRIDE INPUT 9 MAINSIGNAL OUTPUT LATCH DATA TRANSFER INPUT B1 10 B4 BCD 11 B2 DATA 12 INPUTS B8 13 31 36 PRESIGNAL OUTPUT MAINSIGNAL STORE 38 ZERO DETECT OUTPUT MAINSIGNAL COMPARATOR DIVIDE 2 CONTROL INPUT 1 DIVIDE 3 CONTROL INPUT 2 5 INHIBIT INTERNAL RESET INPUT PRESIGNAL STORE PRESIGNAL COMPARATOR COUNT INPUT 40 +1, 5, 6 SELECT 4 ZERO DETECTOR COUNT INHIBIT INPUT 1 COUNTER RESET COUNT 6 DECADE UP/DOWN COUNTER STORAGE SELECT 1 15 16 STORAGE SELECT 2 7055-012703-6 RESET INPUT COUNTER PRESET MAINSIGNAL STORE DECODER PRESIGNAL STORE PRESET STORE PRESET STORE FIGURE 7. LS7055/LS7056 BLOCK DIAGRAM UP/DOWN CONTROL INHIBIT 6 INTERNAL PRESET INPUT 7 PRESET ENABLE INPUT 39 UP/DOWN INPUT