0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
AN-684

AN-684

  • 厂商:

    FAIRCHILD(仙童半导体)

  • 封装:

  • 描述:

    AN-684 - 100336 Four-Stage Counter/Shift Register - Fairchild Semiconductor

  • 数据手册
  • 价格&库存
AN-684 数据手册
AN-684 100336 Four-Stage Counter/Shift Register AN-684 Fairchild Semiconductor Application Note February 1990 Revised May 2000 100336 Four-Stage Counter/Shift Register INTRODUCTION Many system designs require bi-directional counting and shifting functions. In most cases these functions are separate and unique requirements within the system design. For this reason, separate catalog parts are available. In some cases however, there is a requirement to have a device that will allow both counting and shifting functions. This is especially true in arithmetic, timing, sequential, or communication applications. Fairchild offers a very versatile counter/shift register in the 100336. This application note describes its function in detail and offers some simple uses. DESCRIPTION The 100336 contains four synchronous, presettable flipflops. Synchronous operation is provided by having all flipflops clocked simultaneously so that all output changes coincide. This mode of operation eliminates counting spikes on the outputs which are normally associated with asynchronous counters. The clock input is buffered and triggers the four flip-flops on the rising (positive-going) edge. The counters are fully programmable allowing the outputs to be set to either a HIGH (1) or LOW (0). As presetting is synchronous, setting low levels on the select inputs (S0-S2) (see Table 1) disables the counter and causes the outputs to agree with the parallel inputs (P3–P0) on the next rising edge of the clock. Loading is accomplished regardless of the levels of the two enables (CEP, CET). TABLE 1. Function Select Table S2 L L L L H H H H S1 L L H H L L H H S0 L H L H L H L H Function Parallel Load Complement Shift Left Shift Right Count Down Clear Count Up Hold The 100336 features both synchronous and asynchronous clear functions. The synchronous clear is performed by setting a binary five (101B) at the select inputs. On the next rising edge of the clock, the outputs will be forced LOW (0000) regardless of the levels at the enable inputs. A buffered asynchronous master reset (MR) is provided to clear all outputs LOW (0000) regardless of the levels of the clock, select, or enable inputs. Count up/count down functions are selected with the select inputs (S2–S0). These are synchronous operations and the outputs will increment/decrement in value on the rising edge of the clock. Both count enable inputs (CEP, CET) must be true (LOW) to count. The terminal count output (TC) becomes active-LOW when the count reaches zero in the DOWN mode or fifteen in the UP mode. Its duration is approximately equal to one period of the clock. The TC output is not recommended for use as a clock or synchronous reset for flip-flops. See Figure 1 for timing relationships in UP/DOWN counting. In simple ripple-carry cascading applications the terminal count TC is fed forward to enable the trickle enable (CET) input. This method is increasingly inefficient as the counting chain lengthens. The upper limit of the clock frequency is determined by the clock-to-terminal-count delay of the first stage, the cumulative trickle-enable (CET)-to-terminalcount delay of the intermediate stages, and the trickleenable-to-clock delay of the last stage. For faster counting rates a carry-lookahead scheme is necessary. In this scheme the ripple delay through the intermediate stages commences with the same clock that causes the first stage to change over from MAX to MIN in the UP mode, or from MIN to MAX in the DOWN mode. Since the final count cycle takes 16 clocks to complete, there is ample time for the ripple to propagate through the intermediate stages. The critical timing that limits the counting rate is the clockto-terminal-count of the first stage plus the parallel-enableto-clock (CEP) setup time of the last stage. Figure 2 shows the connections for the fast-carry counting scheme. © 2000 Fairchild Semiconductor Corporation AN010646 www.fairchildsemi.com AN-684 TYPICAL CLEAR, LOAD, AND COUNT SEQUENCES Illustrated below is the following sequence: 1. Clear outputs to zero. 2. Load (Preset) to binary thirteen. 3. Count up to fourteen, fifteen, carry, zero, one, and two. 4. Count down to one, zero, borrow, fifteen, fourteen, and thirteen. 5. Inhibit counting. Note: A M R overrides enables, data, and count inputs. FIGURE 1. 100336 Used as Binary Up/Down Counter FIGURE 2. Fast Carry Counting Scheme www.fairchildsemi.com 2 AN-684 TYPICAL CLEAR, LOAD, AND COUNT SEQUENCES Shift right/left modes are performed by making the appropriate selection on the selection inputs (S2–S0). Each rising edge of the clock will cause the outputs to shift once in the direction which is selected. For shift-left operation, input D3 is used as the serial input. For shift-right operation, input CET/D0 is used as the serial input. During shift operation the terminal count output reflects the level at the Q3 output and the enables are “don't cares”. See Figure 3 for shift operation timing relationships and shift sequences. The 100336 provides two special modes of operation. The complement mode performs a one's complement of the outputs (Q3–Q 0) on the rising edge of the clock input regardless of the levels at the enable inputs. The hold feature is asynchronous and simply stops counting or shifting operations. Both complement and hold are performed with proper selection of the select inputs. For a complete truth table of the 100336 operation, refer to Table 2. DESIGN CONSIDERATIONS Presetting the parallel inputs (P3–P 0) may require a mixture of HIGH's and LOW's. A LOW may be preset by leaving the respective input open as the 100336 has a 50 kΩ resistor to VEE on the parallel inputs. A HIGH must never be made by tying the input to VCC/VCCA. This saturates the (Continued) input transistor. Instead the input is set at a diode drop below VCC /VCCA for a preset HIGH. See Applications Note 682. Unused output pairs (Qn/Qn) may be left unterminated. However, unused single outputs should be terminated to balance current switching in the outputs. For further details on system design considerations refer to the F100K ECL Design Guide. For AC/DC performance specifications and critical timing parameters refer to the 100336 datasheet. APPLICATIONS Figure 4 and Figure 5 demonstrate the use of the 100336 as UP/DOWN BCD counters. One additional gate is required to detect the limit count. Notice the alternate gate methods in Figure 4. The 100304 shows the classical AND/ NAND design similar to TTL and the 100302 shows the OR/NOR design of ECL. Figure 6 incorporates the use of a 100331 triple D-type flipflop. By using one stage of the 100331, a 50/50 duty cycle can be realized from the divider. An 8-bit parallel-to-serial shifter can be constructed by cascading two 100336's as shown in Figure 7. The third counter reloads another 8-bit data word after eight serial counts. 3 www.fairchildsemi.com AN-684 TYPICAL, CLEAR, LOAD, AND COUNT SEQUENCES Illustrated below is the following sequence: 1. Clear outputs to zero. 2. Load (preset) to binary twelve. 3. Shift-left using D3 as serial input. 4. Shift-right using CET/D0 as serial input. Note: In shift-right mode TC follows the Q3 output. Note: In shift-left mode TC follows the D3 input. Note: CEP is a “don't care” during shifting. FIGURE 3. 100336 Used as Bi-Directional Shift Register www.fairchildsemi.com 4 AN-684 TRUTH TABLE Q0 = LSB TABLE 2. Truth Table Inputs MR L L L L L L L L L L L L H H H H H H H H H S2 L L L L H H H H H H H H L L L L H H H H H S1 L L H H L L L L H H H H L L H H L L L H H S0 L H L H L L L H L L L H L H L H L L H L H CEP X X X X L H X X L H X X X X X X X X X X X D0/CET X X X X L L H X L L H X X X X X L H X X X D3 X X X X X X X X X X X X X X X X X X X X X CP Outputs      X Q3 P3 Q3 D3 Q2 Q2 P2 Q2 Q3 Q1 Q1 P1 Q1 Q2 Q0 Q0 P0 Q0 Q1 D0 TC L L D3 Mode Preset (Parallel Load) Invert Shift Left Q3 Shift Right (Note 1) 1 Count Down Count Down with CEP not active Count Down with CET not active Clear Count Up Count Up with CEP not active Count Up with CET not active Hold 1 H H 2 2 H H L L L L L H H H H Asynchronous Master Reset (Q0–Q3) minus 1 Q3 Q3 L Q3 Q3 Q3 L L L L L L L L L Q2 Q2 L Q2 Q2 Q2 L L L L L L L L L Q1 Q1 L Q1 Q1 Q1 L L L L L L L L L Q0 Q0 L Q0 Q0 Q0 L L L L L L L L L   X X X X X X X X X X X X X (Q0–Q3) plus 1 1 = L if Q0–Q3 = LLLL H if Q0–Q3 ≠ LLLL 2 = L if Q0–Q3 = HHHH H if Q0–Q3 ≠ HHHH H = HIGH Voltage Level L = LOW Voltage Level X = Don't Care = LOW-to-HIGH Transition  Note 1: Before the clock, TC is Q3 After the clock, TC is Q2 FIGURE 4. BCD Up Counter (0–9) 5 www.fairchildsemi.com AN-684 FIGURE 5. BCD Down Counter (9–0) FIGURE 6. Divide by Five FIGURE 7. 8-Bit Shift Left www.fairchildsemi.com 6 AN-684 100336 Four-Stage Counter/Shift Register Fairchild does not assume any responsibility for use of any circuitry described, no circuit patent licenses are implied and Fairchild reserves the right at any time without notice to change said circuitry and specifications. LIFE SUPPORT POLICY FAIRCHILD’S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR SYSTEMS WITHOUT THE EXPRESS WRITTEN APPROVAL OF THE PRESIDENT OF FAIRCHILD SEMICONDUCTOR CORPORATION. As used herein: 1. Life support devices or systems are devices or systems which, (a) are intended for surgical implant into the body, or (b) support or sustain life, and (c) whose failure to perform when properly used in accordance with instructions for use provided in the labeling, can be reasonably expected to result in a significant injury to the user. 7 2. A critical component in any component of a life support device or system whose failure to perform can be reasonably expected to cause the failure of the life support device or system, or to affect its safety or effectiveness. www.fairchildsemi.com www.fairchildsemi.com
AN-684 价格&库存

很抱歉,暂时无法提供与“AN-684”相匹配的价格&库存,您可以联系我们找货

免费人工找货
FRC0603J684 TS
  •  国内价格
  • 100+0.00306
  • 500+0.00288
  • 1000+0.00261
  • 5000+0.00225
  • 10000+0.00203

库存:748

FRC1210J684 TS
  •  国内价格
  • 100+0.02703
  • 500+0.02544
  • 1000+0.02305
  • 5000+0.01988
  • 10000+0.01797

库存:5000

FRC0805J684 TS
  •  国内价格
  • 100+0.00536
  • 500+0.00505
  • 1000+0.00459
  • 5000+0.00397
  • 10000+0.0036

库存:4800

FRC1206J684 TS
  •  国内价格
  • 100+0.00882
  • 500+0.00831
  • 1000+0.00755
  • 5000+0.00653
  • 10000+0.00592

库存:4668

FRC0402J684 TS
  •  国内价格
  • 100+0.00153
  • 500+0.00144
  • 1000+0.0013
  • 5000+0.00112
  • 10000+0.00102

库存:9484

SIM-117-ARP8

库存:92