This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
你好!
我想咨询下列几个问题:
1. 在UART电平转换应用中,TXB0108和TXS0108推荐使用哪个?
2. 我这边当前使用的是TXB0108。A端连接1.8V的MCU,B端通过RS232芯片连接到PC。结果当VCCA或是OE掉电后,PC端会收到一串乱码。
请问是什么原因引起的?如何规避呢?
3. 针对第二个问题,我这边使用TXS0108替换后,VCCA掉电,PC没有乱码。(OE通过VCCA电阻分压得到)
我这边的另个疑惑是:当OE掉电后,TXS0108的上拉电阻会disabled,理论上应该和TXB0108一致,B端都是高阻态,但为何一个有乱码,一个无乱码?
1.TXSxxx和TXB...二者的区别在于TXB不能用于OD应用,比如I2C,而TXS可以。另外,TXB0108和TXS0108二者的最大data rate也不同,UART应用中,建议采用TXB0108。
2.关于输出乱码的问题,对比了下二者的datasheet,TXB0108和TXS0108的区别在于TXB0108具有Ioff的特性,也就是说当VCCA掉电的时候,Bport输出高阻抗,或者VCCB掉电的时候,Aport输出高阻抗,但TXS0108没有此特性。
谢谢Kailyn和Iven的回复。
理论上都是OK,但是当前我的使用中出现了如我描述的2和3的现象。
A端掉电,B端高阻态,导致了232电平上报到PC的乱码。如果将B端增加上拉或是下拉,即可避免乱码。
感觉若是串口应用中选用TXB0108芯片,还要在B端IO上额外增加电路,那这个方案就不太适合推荐和应用了。
Pullup or Pulldown Resistors on I/O Lines
The TXB0108 is designed to drive capacitive loads of up to 70 pF. The output drivers of the TXB0108 have low dc drive strength. If pullup or pulldown resistors are connected externally to the data I/Os, their values must be kept higher than 50 kΩ to ensure that they do not contend with the output drivers of the TXB0108.
For the same reason, the TXB0108 should not be used in applications such as I2C or 1-Wire where an opendrain driver is connected on the bidirectional data I/O. For these applications, use a device from the TI TXS01xx series of level translators.
除了TXBxx和TXSxx系列的,很多带方向控制位的可以用在I2C或者SPI的电平转换,比如SN74AVC4T245,LVC系列的等等。选择的时候主要看信号的速率是否能支持。
hi,Kailyn Chen,我在使用TXS0108E是遇到输出端波形上升斜率小,就是上升时间较长,矩形方波波不够理想,这是什么原因造成的?
ps:a端和b端均没有接上拉电阻。