美女网站一区二区_在线观看日韩毛片_成人在线视频首页_欧美精品一区二区三区久久久_国产精品亚洲一区二区三区在线_日本免费新一区视频_日本美女一区二区三区_精品亚洲成a人_久久不见久久见免费视频1_91首页免费视频_欧美一区二区在线看_91精品91久久久中77777_天堂蜜桃一区二区三区_av在线一区二区_欧美不卡一区二区_欧美影视一区二区三区

產品分類

當前位置: 首頁 > 工業電氣產品 > 端子與連接器 > 線路板連接器 > FFC連接器

類型分類:
科普知識
數據分類:
FFC連接器

I/O-Port Expanders Offer Flexibility in MCU-Based Designs

發布日期:2022-04-17 點擊率:48

       
A hallmark feature of microcontrollers (MCUs) since the inception of the technology is the integration of I/O ports on the IC. General purpose I/O serves a variety of functions, ranging from simple connection to switches and indicators to functioning as a trigger for mission-critical interrupt processing. However, with a trend toward smaller IC packages with fewer pins, sometimes you may come up short of the number of I/O ports you need in an application. I/O-port-expander ICs are a valuable tool in adding flexibility in MCU-based designs. Some of the ICs attach to integrated I/O lines. Others can be connected with serial interfaces such as Inter IC (I2C). There is probably a design that will meet your needs if you run short of I/O lines or need to distribute I/O in a system. Let's look at some typical expander ICs and the MCUs with which they can be used.

We will begin with a bit more discussion of why you might need an I/O port expander. There is always the simple solution of just choosing a different MCU that has more I/O ports, but that may not be the best option. You may realize a smaller-footprint, lower cost, and lower power design by combining a miniature MCU with a port expander IC. Moreover, most MCUs today assign multiple functions to many pins trying to minimize IC footprint. You may not be able to access an I/O that is integrated in an MCU because you need that pin for another peripheral. In some applications, you may need clusters of I/O located away from the MCU, near the physical interface with the real world.

One place where I/O expanders certainly come in handy is alongside very small MCUs that have few pins. For example, a number of Microchip 8-bit MCUs in the PIC12F family come in 8-pin packages. Specifically, we will discuss the PIC12F1822. The 8-pin MCU includes only six I/O lines, and most designs could not use all of those pins for general-purpose I/O given that pins are shared with other peripherals. The MCU also includes an A/D converter and two timers.

I2C and SPI expanders

The PIC12F1822 also includes a digital interface that can be used to support either an I2C or serial peripheral interface (SPI). Either can be used to connect with multiple off-chip peripherals including serial memory and additional I/O via I/O port expanders.

Microchip offers a number of expander ICs that can be used alongside the PIC12F1822. For example, the MCP23018 IC (Figure 1) is I2C based and includes 16 general-purpose I/O lines that can be seamlessly written and read as a 16-bit port. The serial link can transfer data as fast as 3.4 Mbits/s. That may not seem fast, but will prove sufficient for most I/O operations given that the CPU clock will run at 32 MHz or slower speeds.

Microchip MCP32018 and MCP23S18

Figure 1: The Microchip MCP32018 and MCP23S18 I/O port expander ICs use I2C and SPI interfaces, respectively, to add 16 general-purpose I/O ports to an MCU’s on-chip I/O allotment.

If you look closely at the block diagram in Figure 1, you will note a second option in dashed lines – the MCP23S18 that relies on SPI rather than I2C. The SPI link runs faster at 10 Mbits/s. There are other reasons you may choose either I2C or SPI and a big one may be the other peripherals that you need in your application and the serial standard supported by those peripherals.

Microchip offers other I/O expanders including 8-bit versions. The company also offers expanders that integrate additional peripherals such as additional data converters and timers.

Expansion via one I/O line

Let us move on and discuss a novel approach to expansion from Texas Instruments (TI) which utilizes a simpler interface. TI offers expander ICs that rely on I2C and the system management bus (SMBus), but the new TI TCA5405 relies on one MCU general-purpose I/O line to provide five I/O pins (Figure 2).

Image of Texas Instruments STSW interface

Figure 2: Texas instruments developed a self-timed, single-wire (STSW) interface to allow engineers to add 5 I/O ports using a single MCU I/O to connect the expander.

The TCA5405 uses what TI calls a STSW (self-timed single wire) interface that requires a single wire and ground. By contrast, SPI requires three wires at a minimum and I2C requires wires, although two are reference voltage and ground.

The master MCU that connects to the TCA5405 must generate a master clock for the expander to sample during a setup period and then generate its own clock that is synchronized with the master. TI does not define a maximum data rate for the STSW interface, but the spec sheet defines a maximum input switching frequency for the TCA5405 of 10 kHz.

I/O port characteristics

There are many other characteristics of port expanders that might impact the product you choose for an application. For example, the TCA5405 relies on push-pull-type I/O. TI said that push-pull design allows the expander to drive LEDs in portable applications at currents below 20 mA.

Of course, the expander can only perform such a task if the supply voltage is greater than the forward voltage of the LED. TI specifies supply voltage in a range of 1.65 to 3.6 V, and a design that drives an LED would fall at the high end of that range.

The Microchip expanders discussed earlier use open-drain outputs. Such a configuration can be useful because ICs can often sink more current than they can source. Moreover, the MCU and I/O expander IC can both operate from a lower supply voltage than what may be required to power an external component. In the case of an LED, for example, an open-drain output could sink drive current through an LED that was pulled up to 5 V, even though the expander operated at lower voltage and delivered corresponding power savings.

Given that many IC makers supply a wide variety of I/O expanders, one final topic is whether you can use an MCU from one vendor and an expander IC from a second vendor. Generally the answer is yes. However, it could take some effort. For example, you would have to program an MCU from another vendor to provide the requisite timing for the TI STSW interface. Conversely, expect TI to support that interface in its tool libraries for many MCUs and perhaps even other DSPs or microprocessors. Expanders based on standards such as SPI should prove simpler to use across company lines.

Next time you face a mismatch between an MCU you desire to use and I/O requirements, make sure you consider an expander IC before simply choosing a larger MCU that may use more power and cost more. Moreover, see if distributing I/O makes more sense, given that with an expander you can locate the I/O at the physical interface. You may find the decidedly-simple expander a valuable part of your toolbox.

下一篇: PLC、DCS、FCS三大控

上一篇: Comparing Options to

推薦產品

更多
美女网站一区二区_在线观看日韩毛片_成人在线视频首页_欧美精品一区二区三区久久久_国产精品亚洲一区二区三区在线_日本免费新一区视频_日本美女一区二区三区_精品亚洲成a人_久久不见久久见免费视频1_91首页免费视频_欧美一区二区在线看_91精品91久久久中77777_天堂蜜桃一区二区三区_av在线一区二区_欧美不卡一区二区_欧美影视一区二区三区


        免费成人在线播放| 国产精品国产三级国产a| 亚洲精品中文字幕在线| 区一区二区三区中文字幕| 久久久婷婷一区二区三区不卡| 免费亚洲精品视频| 亚洲一区二区三区色| 亚洲欧洲免费无码| 在线一区二区三区做爰视频网站| 在线观看不卡视频| 日韩区在线观看| www成人在线观看| 亚洲欧美影音先锋| 亚洲妇女屁股眼交7| 久久99久久99| av网站一区二区三区| 精品国产福利| 91成人在线观看喷潮| 日韩一区二区三区视频| 国产精品美日韩| 午夜影视日本亚洲欧洲精品| 久久99精品国产91久久来源| av电影在线观看完整版一区二区| 久久精品美女| 欧美日韩视频专区在线播放| 亚洲精品在线观看网站| 一区二区免费看| 麻豆久久久久久久| 动漫美女被爆操久久久| 综合久久国产| 久久综合九色综合97_久久久| 亚洲精品五月天| 国产真实乱偷精品视频免| 91亚洲永久精品| 亚洲欧美成人一区| 2欧美一区二区三区在线观看视频 337p粉嫩大胆噜噜噜噜噜91av | 欧美中文字幕不卡| 精品久久久网站| 亚洲国产色一区| av不卡免费电影| 色综合久久综合| 中文字幕巨乱亚洲| 国产精品一区三区| 视频一区不卡| 久久久精品国产免费观看同学| 日韩制服丝袜av| 国产精品亚洲综合| 日韩一区二区中文字幕| 亚洲成人免费观看| 国产精品我不卡| 欧美一级艳片视频免费观看| 亚洲v中文字幕| 国产精品视频一区二区三区经| 欧美日韩国产另类一区| 亚洲一区视频在线| 国产精品18毛片一区二区| 欧美精品在线视频| 亚洲一区二区三区四区的| 粉嫩精品一区二区三区在线观看| 欧美乱熟臀69xxxxxx| 亚洲不卡av一区二区三区| 国产综合18久久久久久| 欧美成人vr18sexvr| 久久99国产精品免费网站| 天天综合狠狠精品| 中文字幕在线不卡一区| 91免费在线播放| 日韩欧美的一区| 国产一区二区不卡| 日本韩国欧美三级| 亚洲成人免费视| 欧美二区在线| 亚洲欧洲日韩av| 丁香五月网久久综合| 久久久亚洲精品一区二区三区| 国产精品一区二区x88av| 在线视频国产一区| 天使萌一区二区三区免费观看| 久久天天狠狠| 最新中文字幕一区二区三区| 99免费在线观看视频| 久久一日本道色综合| eeuss鲁片一区二区三区在线观看 eeuss鲁片一区二区三区在线看 | 国产精品私人影院| 91麻豆蜜桃一区二区三区| 欧美成人video| 成人av网址在线观看| 欧美一三区三区四区免费在线看 | 午夜久久福利影院| 五月天久久狠狠| 亚洲影院理伦片| 日韩欧美激情一区二区| 一二三区精品福利视频| 欧美综合77777色婷婷| 亚洲综合小说图片| 日韩欧美亚洲在线| 一区二区三区成人| 日韩亚洲视频在线| 日韩高清不卡一区二区三区| 色婷婷精品久久二区二区蜜臂av| 日一区二区三区| 欧美日韩一区二区欧美激情| 国产一区二区三区久久久| 欧美日韩在线综合| 国产成都精品91一区二区三| 精品国产在天天线2019| 不卡一区二区三区视频| 中文字幕日韩欧美一区二区三区| 裸模一区二区三区免费| 亚洲中国最大av网站| 综合国产精品久久久| 狠狠网亚洲精品| 精品国产凹凸成av人导航| 91女神在线视频| 亚洲激情欧美激情| 色琪琪一区二区三区亚洲区| 国产精品一区二区果冻传媒| 久久精品日产第一区二区三区高清版| 国产精品一区二区三区观看| 伊人开心综合网| 欧美在线观看视频在线| 成a人片亚洲日本久久| 国产精品久久午夜| 伊人色综合影院| 国产成人午夜99999| 国产精品女人毛片| 中文字幕欧美日韩一区二区| 成人综合在线视频| 椎名由奈av一区二区三区| 色哟哟一区二区三区| 成人高清视频在线观看| 亚洲人妖av一区二区| 在线精品视频免费播放| 99久久99久久精品免费看蜜桃| 亚洲色图都市小说| 欧美日韩视频一区二区| 97在线电影| 日精品一区二区三区| 欧美成人艳星乳罩| 日本精品免费| 国产成人免费视频精品含羞草妖精| 国产欧美va欧美不卡在线| 亚洲区一区二区三区| 成人高清免费在线播放| 亚洲制服丝袜av| 日韩精品影音先锋| 日韩精品欧美一区二区三区| 国产成人av在线影院| 一区二区三区日韩在线观看| 91精品国产全国免费观看| 欧美日韩电影一区二区| 国产成+人+日韩+欧美+亚洲| 亚洲一区电影777| 精品少妇一区二区三区在线视频| 日韩偷拍一区二区| 91热门视频在线观看| 久久精品理论片| 亚洲免费在线视频| 精品嫩草影院久久| 色偷偷成人一区二区三区91 | 日产欧产美韩系列久久99| 26uuu欧美| 色综合欧美在线视频区| 国产九色精品| 国产成人啪免费观看软件| 亚洲午夜精品在线| 国产三级欧美三级日产三级99| 欧美日韩亚洲不卡| 一区二区三区不卡在线| 国产精品v欧美精品∨日韩| 国产一区二区三区在线观看精品| 一区二区三区四区在线播放| 久久久蜜桃精品| 欧美美女激情18p| 一本一本a久久| 久久精品美女| 高清视频一区二区三区| 成人综合在线观看| 精品一区二区影视| 视频一区二区三区入口| 亚洲精选在线视频| 国产精品色婷婷| 精品久久久久久久一区二区蜜臀| 欧美性极品少妇| 色综合久久久久综合| 日产精品久久久一区二区| 国产精品综合久久久久久| 91丨九色丨蝌蚪丨老版| 成人午夜精品在线| 国产成人精品一区二区三区四区| 欧美bbbbb| 日韩国产一二三区| 亚洲午夜在线观看视频在线| 亚洲乱码一区二区三区在线观看| 中文字幕第一区综合| 国产欧美精品国产国产专区| 久久久精品欧美丰满| 26uuu色噜噜精品一区二区| 精品国产成人在线影院| 精品免费视频一区二区|