在I2C 协议中,上拉电阻(Pull-up Resistor)起到了关键作用。它的主要功能是在总线上没有信号时,提供一个固定的电平,以确保数据线上的电平稳定,从而保证数据传输的可靠性。 3.上拉电阻的原理 上拉电阻是一种电阻器,当外部电路没有输入信号时,它可以将内部引脚的电平拉高至高电平(通常为3.3V 或 5V)。而在 I2C...
在I2C总线中,上拉电阻(Pull-up Resistor)是非常重要的元件之一,它起到了维持总线上信号稳定的作用。在选择I2C总线上拉电阻的阻值时,需要考虑多个因素,包括电源电压、总线线长、总线上的负载等等。 首先,我们来了解一下I2C总线的基本工作原理。I2C总线上有两根信号线,分别是SDA(Serial Data)和SCL(Serial Clock)。当...
I2C_Pullup_Resistor_CalculationSt**en 上传281.49 KB 文件格式 zip I2C是一种常用的串行通信协议,用于连接微控制器和外设。在I2C总线上,为了确保数据传输的可靠性,需要使用上拉电阻来提供总线上的恢复电流。 I2C上拉电阻的计算需要考虑两个主要因素:总线电容和总线速度。总线电容是指总线上所有设备的电容负载,包括...
SCL和SDA均需要通过上拉电阻连接到Vcc。上拉电阻的大小由I2C线路上的等效电容大小决定(想要了解更多,可以参考TI的I2C Pull-up Resistor Calculation这份文档,文档号:SLVA689;也可以看我的笔记里面的文章《I2C上升沿过长与上拉电阻》)。数据传送只能在总线空闲时初始化。如果SDA和SCL在一个STOP标志后均处于高电平状态...
上拉电阻的大小由I2C线路上的等效电容大小决定(想要了解更多,可以参考TI的I2C Pull-up Resistor Calculation这份文档,文档号:SLVA689;也可以看我的笔记里面的文章《I2C上升沿过长与上拉电阻》)。数据传送只能在总线空闲时初始化。如果SDA和SCL在一个STOP标志后均处于高电平状态,这时可以认为总线处在空闲状态。
Pull up resistor sizing As mentioned earlier, I2C use mosfet to pull LOW, and pull up resistor to pull HIGH. Normally mosfet is integrated into chips so cannot modify, so there are 2 things need to consider in the design. Pull up voltage. Every device in one bus need to use same volta...
I2C Pull Up Resistor Explanation However, you can’t just start whacking giant resistors in. There are several things that those resistors interact with that will help to determine what size of a pull up resistor you’ll need. I2C Logical High and Low ...
Pullup resistors need to be connected from the I2C lines to the supply to enable communication as shown in Figure 1. The pullup resistors pull the line high when it is not driven low by the open-drain interface. The value of the pullup resistor is an important design consideration for ...
The I2C specification (http://cache.nxp.com/documents/user_manual/UM10204.pdf) lists the maximum total bus capacitance with a pull-up resistor to be 200 pF (it can be up to 400 pF if the pull-up is a current source, section 5.1). ...
上拉电阻的大小由I2C线路上的等效电容大小决定(想要了解更多,可以参考TI的I2CPull-up Resistor Calculation这份文档,文档号:SLVA689;也可以看我的笔记里面的文章《I2C上升沿过长与上拉电阻》)。数据传送只能在总线空闲时初始化。如果SDA和SCL在一个STOP标志后均处于高电平状态,这时可以认为总线处在空闲状态。