Home
R4000 Slew Rate Control Logic for Output Buffers
Contents
1. APPLICATION NOTE MIPS R4000 Slew Rate Control Logic for Output Buffers Shabbir Latif MIPS Technologies Inc 2011 N Shoreline Blvd P O Box 7311 Mt View CA 94039 7311 Publication No AP001 Publication Date July 1992 MIPS Technologies Inc reserves the right to make changes to any products herein at any time without notice in order to improve function or design MIPS does not assume any liability arising out of the application or use of any product or circuit described herein neither does it convey any license under patent rights nor imply the rights of others Copyright 1992 by MIPS Technologies Inc No part of this document may be reproduced in any form or by any means without the prior written consent of MIPS Technologies Inc R4000 and R4400 are registered trademarks of MIPS Technologies Inc The R4000 R4400 is available from the following manufacturers Integrated Device Technology Inc Attention RISC Microprocessor Marketing 2975 Stender Way Santa Clara CA 95052 8015 Tel 408 727 6116 LSI Logic Corporation Attention MIPS Division 1551 McCarthy Blvd Milpitas CA 95035 Tel 408 433 8000 NEC Corporation Attention Microcomputer Division 401 Ellis St Mountain View CA 94039 Tel 415 960 6000 Performance Semiconductor Corporation Attention Microprocessor Marketing 610 E Weddell Drive Sunnyvale CA 94089 Tel 408 734 9000 Siemens Components Inc Attention
2. Integrated Circuit Division 10950 Tantau Ave Cupertino CA 95014 Tel 408 777 4500 Toshiba Corporation 9740 Irvine Blvd Irvine CA 92713 714 583 3000 Table of Contents Ta CV EV TW dann sce santana peta tera nea ae antares ET E 5 2 Slew Rate Control for the Output Buffers in R4000 ee 6 3 How to Set the Drive off Delay srs ctsnsvstesteveyleatecnctivniaeent anaes 9 A ERAN DCS re eneses Dosen anadet d ed ea eean AES aE TASS 13 Example T a aa eae AA ei eae a eed eae ae 13 Ex mple 2 sisdisescadsveideaasisunsaass densdecastasadavaes a E E E i 13 Example S en a SOR re E E eT E 14 Example 4s tynge e e n e EEE aS E rE aae 14 De SUMM ATY oeri i R ANE E E EE A ealimatialth 15 6 REfErEnNCES nrnna ea Ee eei AE tos ou eee e ie E Ea 16 Te Readers Commen tSiria aa ai e eR TERS 17 R4000 Slew Rate Control Logic for the Output Buffers R4000 Slew Rate Control Logic for the Output Buffers Overview One of the largest causes of variation in voltage or noise on the GND and VCC supplies is the switching of the Output Buffers This variation in supply voltages has two causes e the large number of buffers that can switch at the same time e each buffer driving a large external load Noise can be calculated using the formula V L Ai Ad where V is the noise on the supplies L is the inductance of the supply pin bonding wire etc and Ai At is the rate at which the current changes this term is directly related to ho
3. Buffers 11 12 If the capacitive load and the transmission line between the pins IO_Out and IO_In are matched with the loading and the transmission line between X_Out and X_In then the output buffer delay tpo is equal in both the paths and tz trx Thus deriving tpo from the Equation 2 and substituting into the equation Equation 1 Tss can be derived to decide which of the Mode Bits Drv1_00 Drv0_75 or Drv0_50 needs to be selected Eq 3 DrvX_XX lt Tss TsRD TSRj tssj t tosi tosx tpoj R4000 Slew Rate Control Logic for the Output Buffers Examples The following examples show how to set Mode Bits lt 52 50 gt Example 1 In a system with SysCkRatio Mode bits lt 17 15 gt set to 0 Ref 1 the frequency of RCIk is equal to the frequency of MasterClk If the delay equal to the delay between RCIk and RCIkD is added between SyncIn pin and SyncOut pin the RCIkD is locked to the MasterClk But since RCIkD leadsSCLk and MasterClk by 0 25 T this means Topp is 0 75 T The R4000 AC specification Ref 1 shows clock jitter 0 5 ns data set up time 5 0 ns and tpoj 1ns Assuming tpsx 7 ns Equation 3 can be rewritten as Eq 4 Tes 0 75 T 0 5ns 0 5ns 5 ns 7ns Ins 0 75 T 4ns Thus for a 50 MHz system Tss would be 11 ns so Drv0_50 would be set to 1 Example 2 In a system with SysCkRatio Mode bits lt 17 15 gt set to 0 the frequency of the RCIk is equal to the frequency o
4. E cal Se J Oe a Spurn ee ee RECEIVER SAMP REG Transmission Line Line LN Q1 TO Qut ee In Sample Clk SC1lk Depend on the mode CntN lt 3 0 gt bits lt 52 50 gt CntP lt 3 20 gt Frequency of SClk lt Frequency of MasterClk SClk Frequency of SClk Frequency of MasterClk SC1k Tss Tss3 gt Sample Clk TO_Out The dotted waveforms show jitter only in one worst case direction ja D TO_In Figure 2 Path from pins IO_Out to IO_In 10 R4000 Slew Rate Control Logic for the Output Buffers i tpoj Output Jitter due to l Edge Control Logic l a eas Se Ss EA yoypr ttt ttt tr rrr nl il i tpo SClk to X_Out Delay f l trx Transmission Delay tpsx Input Set Up time to ext logic Eea a L a Mi ee EE EEEN EESE ode 3 a TE Ba eee os et eh l OBuff Receiver 1 7 REG T l X gt a t X_In X_In1 AN K i aa ZN X_Out SClk f 1 RC1KkD CntN lt 3 0 gt i CntP lt 3 0 gt fe ee f l tpp Delay between RClk and RC1kD R4000 7 f ne Transmission Line FP KP AP RR APR PPR PF SC1k Tor To RC1k o 7 H hal tro Tspp Tsr3 RC1KkD Ba tpoj X_Out dotted waveforms show jitter only in one worst case direction X_In Eq 2 Tsrp Tsrj toot tpoj tix tpsx Figure 3 Representative Worst Case Path from R4000 to External Component R4000 Slew Rate Control Logic for the Output
5. a positive number is chosen because in this case its affect is worse than the affect of a negative number tpojis the jitter on the output caused by the slew rate control logic which is continuously trying to converge to the programmed drive off delay value by switching the state of the LSBs CntN lt 0 gt and CntP lt 0 gt Figure 3 shows Path B again and corresponding timing diagram with all the delay components labelled This path is an example of a signal path from the R4000 to a receive data register This register could be part of external agent chip or an individual component on the PCB The rising edge of SClk drives the data and the rising edge of the RCIkD latches the data into the register Tsp is the delay between the RClk and the SClk Tsprp is delay between the RCIkD and the SClk and Tsp is the jitter on RCIk or RCIkD with respect to SClk The Trp could be a positive or anegative number however a negative number chosen because in this case its affect is worse than the affect of a positive number The equation of the delay time Tsrp is shown in Equation 2 in Figure 3 R4000 Slew Rate Control Logic for the Output Buffers 9 e 4 root eH 4 i tpoj Output Jitter due to i i Tss Sample Clk Slew Rate Control Logic i Jitter ec pet ee SE A EASES ee ee l he ee eed ee SN a eS SS SS Se l l tpog SClk to IO_Out Delay t 4 Transmission Delay tpsi Input Set Up time to R4000 Pe EE cet cl E E E E
6. f MasterClk Ifthe Sync_In pin is shorted to the SyncOut pin the RClk is locked to the MasterClk Since RCIk leads SClk and MasterClk by 0 25 T this means Trp is equal to 0 75 T trp where trp is the delay between RCIk and RCIkD Thus Equation 4 from Example 1 can be rewritten as If trp gt 4ns then Tsrp could be gt 0 75 T 4ns making Tss gt 0 75 T in which case Drv0_75 is set to 1 R4000 Slew Rate Control Logic for the Output Buffers 13 Example 3 Example 4 In a system with SysCkRatio set to 1 the frequency of RCIk is two thirds the frequency of MasterClk so Trp is equal to 1 0 T given in Example 1 and Tsrp is greater than 1 0 T given in Example 2 Thus in the first example Drv0_75 is set to 1 and in the second example Drv1_00 is set to 1 Similarly in the system with the SysCkRatio set to 2 the frequency of RClk is half the frequency of MasterClk so Drv1_00 is set to 1 in Examples 1 and 2 14 R4000 Slew Rate Control Logic for the Output Buffers Summary 5 The R4000 has Slew Rate Control Logic with negative feedback loop that adjusts the output buffer drive so that the output buffer is only fast enough to meet the system s speed requirement and no more in order to minimize the noise for that particular system The maximum acceptable delay is programmed at the boot time using the drive off Mode Bits lt 52 50 gt Drv1_00 Drv0_75 or Drv0_S0_ It also provides the flex
7. he output buffer for IO_Out pin also control the output buffers for the rest of the pins of the R4000 Thus the slew rate of the rest of the output buffers will vary in the same manner as the variation of the IO_OUT buffer however the amount of variation will depend on the external loading on each pin The R4000 has three modes for controlling the slew rates of the output buffers and in turn minimizing the noise caused by Ai At As shown in Table 1 these three modes are selected by Mode Bits lt 62 61 gt EnbIDPLL and EnbIDPLLR respectively R4000 Slew Rate Control Logic for the Output Buffers 7 Table 1 Modes of Operation for Controlling the Slew Rate EnbIDPLL EnbIDPLLR Modes of Operation Notes 0 Keep the slew rate of the output drivers fixed as set by the Mode Bits lt 60 57 gt and lt 56 53 gt programmed during boot time 0 Enable the mechanism to dynamically control the slew rate only during ColdReset and thereafter retain the slew rate of the output drivers 1 X Enable the mechanism to dynamically control the slew rate during don t care ColdReset and Normal Operation The first mode in Table 1 which keeps the slew rate of the output buffer fixed is useful for the situation in which any jitter associated with the operation of the slew rate control mechanism cannot be tolerated and the variation in temperature and supply voltage after ColdReset is expected to be small To dynamically co
8. ibility to select whether to enable the control only during the ColdReset time or during the ColdReset time and the Normal operation or to select a fixed slew rate as programmed by the Mode Bits lt 60 53 gt InitP and InitN Some examples were shown in this document on how to select the drive off delay mode bits R4000 Slew Rate Control Logic for the Output Buffers 15 References Reference 1 MIPS R4000 Processor Interface Specification Reference 2 MIPS R4000 Microprocessor User s Manual 16 R4000 Slew Rate Control Logic for the Output Buffers Reader s Comments Please FAX your comments about this document to Anjaneya Thakar Fax 415 390 6170 Address 2011 N Shoreline Blvd P O Box 7311 Moutain View CA 94039 7311 Areas of Improvement Errors Reader Information Name Company Address Phone FAX Thank you for your feedback R4000 Slew Rate Control Logic for the Output Buffers 17
9. ntrol the slew rate either during the ColdReset operation or during both ColdReset and Normal operations the R4000 does the following 1 It uses Mode Bits lt 60 57 gt and lt 56 53 gt also referred as InitP and InitN respectively programmed during the boot time to set the initial values of CntN lt 3 0 gt and CntP lt 3 0 gt which in turn sets the initial slew rate of the output buffers 2 It uses the drive off delay programmed at boot time through Mode Bits lt 52 50 gt Drv1_00 Drv0_75 orDrv0_50 as the maximum acceptable delay of the data and accordingly selects the SampleClk to sample the IO_In as shown in Figure 1 Table 2 shows the truth table for Mode Bits lt 52 50 gt the remaining combinations are reserved 3 It uses the path between IO_Out pin and JO_In pin as described earlier Table 2 The Truth Table for Mode Bits lt 52 50 gt Setting Drive off Delays Mode Drv1_00 Drv0_75 Drv_5 Drive off time Dynamic 0 0 1 0 50 T7 Dynamic 0 1 0 0 75 T7 Dynamic 1 0 0 1 00 T Fixed X X X Note 1 1 The Fixed Drive off Time Is Selected By Initn and Initp Mode Bits lt 60 53 gt 2 T is the period of the Master clock MasterClk To make the programmed delay value independent of system clock frequency MasterClk the delay value is specified in terms of a percentage of one cycle time instead of a constant Also note that this mechanism is not affected b
10. the IO_Out output buffer 6 R4000 Slew Rate Control Logic for the Output Buffers R4000 p a na S x Bu m Aw on i AS A P Path B oog T a uH ra A oA zA og Path with the Dz Nw ete D ia longest delay PEE vee ri ga y Ya X V H pR a eer 2 ea ee H A A Mp S ga X_In 4 sar 64 Sales gt g RC1k S a j SampleClik Path A CntN lt 3 0 gt Path matched to the path with the Slew Rate Control TO_Out Figure 1 Overview of the Slew Rate Control Mechanism in R4000 The Slew Rate Control Logic uses the signals CntN lt 3 0 gt and CntP lt 3 0 gt to control the N channel and the P channel devices respectively of the predrivers to the final stage of the output buffers This allows CntN lt 3 0 gt signals to adjust the rising edge of the outputs and CntP lt 3 0 gt to adjust the falling edge giving 16 independent states of control in each direction All ones on CntN lt 3 0 gt provides the fastest pullup rate and all zeros on CntP lt 3 0 gt provides the fastest pulldown rate The variation in the least significant bit LSB CntN lt 0 gt or CntP lt 0 gt provides the smallest resolution Note that there is always some jitter at the output due to the fact that the control mechanism is continuously trying to converge to the programmed maximum adjustable delay value by switching the state of the LSBs CntN lt 0 gt and CntP lt 0 gt The signals CntN lt 3 0 gt and CntP lt 3 0 gt that control t
11. w fast the load capacitor is charged or discharged by the output drivers of the microprocessor The above variation or noise on the GND and VCC supplies can be reduced by increasing the rise and fall times of the output drive Although this reduces the Ai At term it also increases the propagation delay time of the output signal to its destination and care must be taken to ensure the resulting delay meets system design requirements R4000 Slew Rate Control Logic for the Output Buffers 5 Slew Rate Control for the Output Buffers in R4000 2 The R4000 has Slew Rate Control Logic with a negative feedback loop that adjusts the output buffer drive or slew rate so that the output buffer is fast enough to meet the system s speed requirement and no more in order to minimize the noise for that particular system As shown in Figure 1 the feedback loop includes path A from pins IO_Out toIO_In This path represents the signal path with the longest delay from the R4000 to any other external register which matches the load and the transmission line effect on the PCB see Reference 1 The Slew Rate Control Logic drives a signal through the IO_Out output buffer and using a selectable clock samples the return signal on the IO_In pin If the signal arrives earlier than the maximum acceptable delay which is selected by the designer the Slew Rate Control Logic slows the speed of the IO_Out output buffer if the signal arrives later it speeds up
12. y the interface clocks divisor Mode Bits lt 49 47 gt it is always a fraction of one MasterClk cycle R4000 Slew Rate Control Logic for the Output Buffers How to Set the Drive off Delay As mentioned in the previous section for the dynamic control of the output buffer slew rate R4000 uses the drive off delay programmed by Mode Bits lt 52 50 gt during boot time This section explains how to determine the setting of these mode bits In general a path is selected Path B in Figure 1 with the longest delay from the output pin to the output of the receiving data register node X in Figure 1 Then the transmission line effect and the capacitive loading of the IO_Out is matched with the transmission line effect and the capacitive loading of Path B see Reference 1 for detail Finally after calculating at what time the SampleClk in the Path A should be the appropriate Mode Bits lt 52 50 gt Drv1_00 Drv0_75 or Drv0_50_ are selected Figure 2 shows the Path A again and the corresponding timing diagram with all the delay components labelled The equation of the delay Tss plus the clock jitter Tg in terms of the output buffer delay tpo is also shown Equation 1 Tss is the time from the rising edge of the SClk which triggers the IO_Out to the SampleClk edge which latches the IO_In ata selected time Ts is the jitter of the SampleClk with reference to the SCIk The Ts could be both positive or negative however
Download Pdf Manuals
Related Search
Related Contents
Saw Blade Warnings Protocols of Use De novembre à décembre 2014 Philips Docking Entertainment System AJ300D Nobo 8018500 Timex T2N944 watch Copyright © All rights reserved.
Failed to retrieve file