Redian新闻
>
讨论一下SPI,I2C,RS232,UART,USB,Ethernet的优缺点吧
avatar
讨论一下SPI,I2C,RS232,UART,USB,Ethernet的优缺点吧# EE - 电子工程
s*r
1
正在准备面试的问题
拿出来跟大家讨论一下
avatar
g*u
2
TI has a document discussing communication bus pros and cons.
Try google.
avatar
s*r
3
谢谢,听起来很不错
不过我google了一圈,也到TI的网站上找了一下
都没找到类似的文档呀?
有人能帮下忙吗?是不是我key word用的不对……

【在 g******u 的大作中提到】
: TI has a document discussing communication bus pros and cons.
: Try google.

avatar
T*T
4
UART : pro: established, simple, async
con: Dog slow
SPI: pro: established, easy protocol, could be high speed than UART or I2C
con: too many pin count
I2C: pro : 2 wires only, multi-slave/master,
con: loose standard, slow, HS speed requires active pullup driver,
more susceptible to glitches and false start/stop conditions
USB: pro: fast, low pin count,
con: more complicated PHY, controller design, more constraints on

la
avatar
g*u
5
http://focus.ti.com.cn/cn/lit/an/slla067b/slla067b.pdf
googling is the most important technique for all engineers.

【在 s*****r 的大作中提到】
: 谢谢,听起来很不错
: 不过我google了一圈,也到TI的网站上找了一下
: 都没找到类似的文档呀?
: 有人能帮下忙吗?是不是我key word用的不对……

avatar
s*r
7
学习了,谢谢

conditions
on

【在 T******T 的大作中提到】
: UART : pro: established, simple, async
: con: Dog slow
: SPI: pro: established, easy protocol, could be high speed than UART or I2C
: con: too many pin count
: I2C: pro : 2 wires only, multi-slave/master,
: con: loose standard, slow, HS speed requires active pullup driver,
: more susceptible to glitches and false start/stop conditions
: USB: pro: fast, low pin count,
: con: more complicated PHY, controller design, more constraints on
:

avatar
l*g
8
add CAN in ur list.
spi and i2c are more for the inter-chip comm like adc, mem, etc. i
personally don't like i2c, driver is always a problem. spi read and write is
still complex. these two are bit based so you need to understand each clock
.
uart is byte based so it's much easier, variaties of rs232 485 can do long
distance. but no frame so comm protocol has to implement crc header etc on
the application level.
ethernet and can are frame based. much easier to implement. but can is
expensive on t
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。