欢迎来到淘文阁 - 分享文档赚钱的网站! | 帮助中心 好文档才是您的得力助手!
淘文阁 - 分享文档赚钱的网站
全部分类
  • 研究报告>
  • 管理文献>
  • 标准材料>
  • 技术资料>
  • 教育专区>
  • 应用文书>
  • 生活休闲>
  • 考试试题>
  • pptx模板>
  • 工商注册>
  • 期刊短文>
  • 图片设计>
  • ImageVerifierCode 换一换

    2022年2022年逻辑电平转换 2.pdf

    • 资源ID:27242671       资源大小:1.16MB        全文页数:9页
    • 资源格式: PDF        下载积分:4.3金币
    快捷下载 游客一键下载
    会员登录下载
    微信登录下载
    三方登录下载: 微信开放平台登录   QQ登录  
    二维码
    微信扫一扫登录
    下载资源需要4.3金币
    邮箱/手机:
    温馨提示:
    快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。
    如填写123,账号就是123,密码也是123。
    支付方式: 支付宝    微信支付   
    验证码:   换一换

     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
    5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。

    2022年2022年逻辑电平转换 2.pdf

    Maxim App Notes MICROCONTROLLERSKeywords: logic-level translation, MAX1840, MAX1841, MAX3001, MAX3370-MAX3393, MAX8860, MAX8867Jul 21, 2004 APPLICATION NOTE 3007Logic-Level TranslationAbstract: Logic level translation techniques and pitfalls - and Maxim solutions. Electronic design has changed considerably since the days when TTL and 5V CMOS were the dominant standards for logic circuits. The increasing complexity of modern electronic systems has led to lower voltage logic, which in turn can cause incompatibility between input and output levels for the logic families within a system. It is not unusual, for example, that a digital section operating at 1.8V must communicate with an analog subsection operating at 3.3V. This article examines the basics of logic operation and considers, primarily for serial-data systems, the available methods for translating between different domains of logic voltage.The Need for Logic-Level TranslationThe growth of digital ICs that feature incompatible voltage rails, lower VDD rails, or dual rails for VCORE and VI/Ohas made the translation of logic levels necessary. The use of mixed-signal ICs with lower supply voltages that have not kept pace with those of their digital counterparts also creates the need for logic-level translation. Translation methods vary according to the range of voltages encountered, the number of lines to be translated (e.g., a 4-line Serial Peripheral Interface (SPI?) versus a 32-bit data bus), and the speed of the digital signals. Many logic ICs can translate from high to low levels (such as 5V to 3.3V logic), but fewer can translate from low to high (3.3V to 5V). Level translation can be accomplished with single discrete transistors or even with a resistor-diode combination, but the parasitic capacitance inherent in these methods can reduce the data-transfer rate. Although byte-wide and word-wide level translators are available, they are not optimal for the 20Mbps serial buses discussed in this article (SPI, I2C, USB, etc.). Thus, translators that require large packages with high pin counts and an I/O-direction pin are not meant for small serial and peripheral interfaces. The Serial Peripheral Interface consists of the unidirectional control lines data in, data out, clock, and chip select. Data in and data out are also known as master in, slave out (MISO) and master out, slave in (MOSI). SPI can be clocked in excess of 20Mbps, and is driven by CMOS push-pull logic. As SPI is unidirectional, translation in both directions on the same signal line is unnecessary. This makes level translation simpler, because you can employ simple techniques involving resistors and diodes (Figure 1) or discrete/digital transistors (Figure 2). Page 1 of 9名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 1 页,共 9 页 - - - - - - - - - Figure 1. A resistor-diode topology is one alternative technique to translation in both directions on the same signal line.Figure 2. Using discrete/digital transistors is another alternative to bidirectional translation.The I2C, SMBus?, and 1-Wire?, interfaces are all bidirectional, open-drain I/O topologies. I2C has three speed ranges: standard mode at 100kbps, fast mode at 400kbps, and high-speed mode at 3.4Mbps. Level translation for bidirectional buses is more difficult, because one must translate in both directions on the same data line. Simple topologies based on resistor-diode and single-stage-transistor translators with open collector or drain do not work because they are inherently unidirectional. Unidirectional High- to Low-Level Translation Input Overvoltage ToleranceTo translate from higher to lower logic levels, IC manufacturers produce a range of devices that are said to tolerate overvoltage at their inputs. A logic device is defined as input-overvoltage protected if it can withstand (without damage) an input voltage higher than its supply voltage. Such input-protected devices simplify the task of translating from higher- to lower-VCC logic while increasing the signal-to-noise margin. Page 2 of 9名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 2 页,共 9 页 - - - - - - - - - Overvoltage-tolerant inputs, for example, allow a logic device to cope with logic levels of 1.8V and higher while powered from a 1.8V supply. Devices in the LVC logic family, which are mostly input-overvoltage protected, work well in applications requiring high-to-low translations. The opposite situation of low-to-high translation is not as easy. It may not be feasible to generate higher voltage logic-level thresholds (VIH) from lower voltage logic. When designing a circuit for which connectors, high fanout, or stray load capacitance produce a high capacitance load, you should remember that for all logic families, reducing the supply voltage also decreases the drive capability. An exception occurs between 3.3V CMOS or TTL (LV, LVT, ALVT, LVC, and ALVC) and 5V standard TTL (H, L, S, HS, LS, and ALS). In these logic families, the 3.3V and 5V logic activation points (VOL, VIL, VIH, and VOH) match each other. Mixed High-Low and Low-High TranslationApplications like the SPI bus require a mixture of high-low and low-high translation. Consider, for example, a processor at 1.8V and a peripheral at 3.3V. Though it is possible to mix techniques as described above, a single chip such as the MAX1840, MAX1841, or MAX3390 can implement the necessary translation by itself (Figure 3). Figure 3. This diagram shows an example of an IC level translator with an SPI/QSPI?/MICROWIRE? interface that can implement the necessary mixture of high-low and low-high translation.Other systems, such as I2C and 1-Wire buses, require logic translation in both directions. Simple topologies, based on a single transistor with open collector or drain, do not work in a bidirectional bus because they are inherently unidirectional. Page 3 of 9名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 3 页,共 9 页 - - - - - - - - - Bidirectional Transceiver MethodsFor the larger byte- and word-wide buses where WR and RD signals already exist, one method for transferring data across the voltage levels is a bus switch such as the 74CBTB3384. Such devices are typically optimized for operation between 3.3V and 5V. For smaller 1- and 2-wire buses, this approach raises two issues. Firstly, it requires a separate enable pin to control the direction of data flow, and this ties up valuable port pins. Secondly, it requires large ICs that take up valuable board space. All techniques have their pros and cons. Nonetheless, designers need a universal device that works across all translation levels, enables mixed low-to-high and high-to-low logic transitions, and includes unidirectional and/or bidirectional translation. A next-generation bidirectional level shifter (the MAX3370 in the MAX3370 MAX3393 family of ICs) fulfills those needs while overcoming some of the problems associated with alternative approaches. The MAX3370, which implements a transmission-gate method of level translation (Figure 4), relies on external output drivers to sink current, whether they operate in a low-voltage or higher voltage logic domain. That capability enables the device to work with either open-drain or push-pull output stages. The relatively low on-resistance of a transmission gate (less than 135? ), moreover, limits the speed of operation much less than the series resistor of Figure 1. Figure 4. The MAX3370 implements a transmission-gate method of level translation.The design in Figure 4 offers two other advantages. Firstly, for open-drain topologies, the MAX3370 includes 10k ? pull-up resistors paralleled by a speed-up switch. This minimizes the need for external pull-up resistors while reducing the RC time-constant ramp associated with traditional open-drain topologies. Secondly, the MAX3370s tiny SC70 package also conserves valuable board space. Solving the Speed ProblemRC time constants limit the effective data rate for most other open-drain approaches (Figures 5 and 6 ). The MAX3370 IC family includes a patented speed-up scheme that actively pulls up rising edges, thereby minimizing the effect of capacitive loads as illustrated in Figures 7, 8 , and 9. When the input goes above a predefined threshold, the device actively pulls up the rising edge, thereby minimizing any skew caused by external parasitic components. That capability can allow data rates as high as 20Mbps for signals produced by a push-pull driver. The speed of signals from open-drain drivers tends to be slower. As for other open-drain topologies, however, Page 4 of 9名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 4 页,共 9 页 - - - - - - - - - you can improve their speed by adding external pull-up resistors. Figure 5. The scope plot of single FET open-drain output at 20kHz shows a limited effective data rate due to RC time constants.Figure 6. Scope plots of a dual-transistor transceiver translating 1.8V to 5V at 400kHz (a) and at 100kHz (b) illustrate limited effective data rates.Page 5 of 9名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 5 页,共 9 页 - - - - - - - - - Figure 7. A scope plot of MAX3370 output with a translation of 1.8V to 5V at 400kHz shows minimized capacitive load effects.Figure 8. This scope plot of the MAX3370 output at 400kHz with 4.7k? pullup resistors shows the minimized effect of capacitive loads.Page 6 of 9名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 6 页,共 9 页 - - - - - - - - - Figure 9. This plot shows an example of rail-to-rail driving of the output from a MAX3370 high-speed test circuit.Solving the Universal Voltage ProblemAn application ideally requires a single component that can translate between any two logic levels at any speed. The ICs in the MAX337x family are designed for logic levels as low as 1.2V and as high as 5.5V. Consequently, this single component can provide the level translation required in most cases, without needing to select a logic device for each level-translator requirement. Formerly, the need for low-to-high and high-to-low translations in the same circuit could be met only with separate chips. Now the bidirectional and topology-independent features (push-pull or open-drain) of a single chip from the MAX337x family solve both problems. The MAX3370 is a single-line, universal logic-level translator. For translating a larger number of I/O lines, consult the devices listed in Table 1. Page 7 of 9名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 7 页,共 9 页 - - - - - - - - - Table 1. Multiline logic-level translatorsPartNo. of I/O ChannelsUnidirectional/ Bidirectional Rx/TxVL Range (V)VCC Range (V)Separate EnableSpeeds Up to: (bps)MAX3000/18Bi, 81.2 to 5.51.65 to 5.5Yes230k/4MMAX3002/38Bi, 81.2 to 5.51.65 to 5.5Yes20MMAX3013/238/4Bi, 8/41.2 to (VCC - 0.4)1.65 to 3.6Yes100MMAX3014-288Uni, full mix1.2 to (VCC - 0.4)1.65 to 3.6Yes100MMAX3370/11Bi, 11.65 to 5.52.5 to 5.5No/Yes2MMAX3372/32Bi, 21.2 to 5.51.65 to 5.5Yes230kMAX3374 MAX3375 MAX33762Uni, 2/0 Uni, 1/1 Uni, 0/21.2 to 5.51.65 to 5.5Yes16MMAX3377/84Bi, 41.2 to 5.51.65 to 5.5Yes230kMAX33794Uni, 4/01.2 to 5.51.65 to 5.5Yes16MMAX33904Uni, 3/11.2 to 5.51.65 to 5.5Yes16MMAX33914Uni, 2/21.2 to 5.51.65 to 5.5Yes16MMAX3392 4Uni, 1/31.2 to 5.51.65 to 5.5Yes16MMAX3393 4Uni, 0/41.2 to 5.51.65 to 5.5Yes16MMAX13013/141/2Bi, 1/21.2 to (VCC - 0.4)1.65 to 3.6Yes100MAs the number of I/O voltages per system increases, the need for level-translation techniques becomes more acute. Load capacitance, the magnitude of VCC differences, and speed compound the problem. For high-to-low translation, the problem is less acute if the difference in translation voltages is minimal and off-the-shelf devices (such as logic ICs tolerant of input overvoltage) are available. However, finding ICs and discrete-component circuits capable of handling ICs with wide differences in VCC and of translating from low to high logic levels becomes difficult. Bidirectional and open-drain topologies do not lend themselves well to high-speed data rates. Maxims level translators ease the problem of level translation for a wide range of bi-/unidirectional, push-pull, and open-drain topologies. The ICs are available in ultra-small packages and require no external components for standard operation. 1-Wire is a registered trademark of Maxim Integrated Products, Inc. MICROWIRE is a trademark of National Semiconductor Corp. QSPI is a trademark of Motorola, Inc. SMBus is a trademark of Intel Corp. SPI is a trademark of Motorola, Inc. Application Note 3007: www.maxim- InformationFor technical support: www.maxim- samples: www.maxim- questions and comments: www.maxim- UpdatesWould you like to be automatically notified when new application notes are published in your areas of interest? Sign up for EE-Mail?.Page 8 of 9名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 8 页,共 9 页 - - - - - - - - - Related PartsMAX1840:QuickView- Full (PDF) Data Sheet- Free SamplesMAX1841:QuickView- Full (PDF) Data Sheet- Free SamplesMAX3370:QuickView- Full (PDF) Data Sheet- Free SamplesMAX8860:QuickView- Full (PDF) Data Sheet- Free SamplesMAX8867:QuickView- Full (PDF) Data Sheet- Free SamplesAN3007, AN 3007, APP3007, Appnote3007, Appnote 3007 Copyright ? by Maxim Integrated Products Additional legal notices: www.maxim- 9 of 9名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 9 页,共 9 页 - - - - - - - - -

    注意事项

    本文(2022年2022年逻辑电平转换 2.pdf)为本站会员(Che****ry)主动上传,淘文阁 - 分享文档赚钱的网站仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知淘文阁 - 分享文档赚钱的网站(点击联系客服),我们立即给予删除!

    温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。




    关于淘文阁 - 版权申诉 - 用户使用规则 - 积分规则 - 联系我们

    本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知淘文阁网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

    工信部备案号:黑ICP备15003705号 © 2020-2023 www.taowenge.com 淘文阁 

    收起
    展开