单片机/MCUwilliam hill官网
直播中

mdevi

10年用户 21经验值
擅长:可编程逻辑 嵌入式技术 接口/总线/驱动 控制/MCU
私信 关注
[问答]

求对芯片英文分析

在文档里面,写着这样的一段
The I2C bus uses two wires to transfer information between devices connected
to  the  bus:  “SCL”  (serial  clock  line)  and  “SDA”  (serial  data  line).  The  I2C
component  requires  the  use  of  external  open-drain  buffers  since  it  has  only
unidirectional  ports. The “SDA” and “SCL” lines referred further are the actual
I2C bus signals, while the I2C component is connected to them with the use of
open-drains  (“SDAO”  as  output  and  “SDAI”  as  input,  “SCLO”  as  output  and
“SCLI” as input). Each device connected to the bus is software addressable by a
unique address. The I2C is a true multi-master bus including collision detection
and arbitration to prevent data corruption if two or more masters simultaneously
initiate  data  transfer.  The  filtering  logic  rejects  spikes  on  the  bus  data  line  to
preserve data integrity.

请问各位,这两个IO是不是还要接什么东西么?我现在直接使用芯片的IO,操作没有I2C的信号出来。

回帖(7)

huxinmiao

2015-12-18 17:14:40
各上拉2.2k到电源,
举报

mdevi

2015-12-18 17:19:58
引用: huxinmiao 发表于 2015-12-18 17:14
各上拉2.2k到电源,

是不是IO口接一个2.2K的电阻,然后,电阻再接电源?
举报

h1654155920.4618

2015-12-18 17:38:20
求指导
举报

电子工程师2014

2015-12-20 11:12:38
看不懂
举报

mdevi

2015-12-21 10:44:30

mdevi

2015-12-21 10:46:54
自己网上查了下,问了下同事,说一般都加上拉电阻,其阻值4.7K或者10K, 然后在网上查了下http://m.blog.csdn.net/blog/mick_ye/20553141这里有个说明。我用的这个芯片,内含有上拉电阻,但实际的阻值有多大没看到,可能没细看或者文档没写到。
举报

huxinmiao

2015-12-21 15:25:53
引用: mdevi 发表于 2015-12-18 17:19
是不是IO口接一个2.2K的电阻,然后,电阻再接电源?

对的,你可以搜下I2C的定义及接法
举报

更多回帖

发帖
×
20
完善资料,
赚取积分