什么是I2C芯片?


一、什么是I2C芯片?
 
   集成电路间 (I2C) 协议是一种旨在允许多个“外围”数字集成电路(“芯片”)与一个或多个“控制器”芯片通信的协议与串行外设接口 (SPI) 一样,它仅用于单个设备内的短距离通信。(模型为master-slave,slave是多个)  ,类似下面的模型


 

 


二、什么是 I2C 及其工作原理?
    I2C代表内部集成控制器。这是一种可以连接低速设备的串行通信协议它是一种主从通信,我们可以从一个主机连接和控制多个从机。在此,每个从设备都有一个特定的地址。

  I2C 总线广泛用于在短距离板内通信中将低速外围设备连接到处理器和微控制器。
  PCA9541 芯片是一款带I2C接口的多主选择器,可用于要求高可靠性的双主机系统中,当一个主机通信失败或者控制卡移出系统时,另外一个主机将发挥作用
  IIC总线连接有PCA9541芯片,PCA9541芯片连接有两个SMC
   google 搜索i2c bus protocol pdf


                                                           i2c  应用示例

 
三、i2c芯片(PCA9541)
   2-to-1 I2C-bus master selector with interrupt logic and reset
   https://www.nxp.com/docs/en/data-sheet/PCA9541.pdf

四、linux内核源码
  在linux内核源码中(我用的是linux-2.6.38.6)有pca9541.c的驱动源码
  E:\linux内核\linux-2.6.38.5\linux-2.6.38.5\drivers\i2c\busses
  E:\linux内核\linux-2.6.38.5\linux-2.6.38.5\drivers\i2c\muxes\pca9541.c
https://elixir.bootlin.com/linux/latest/source/drivers/i2c/muxes/i2c-mux-pca9541.c


https://en.wikipedia.org/wiki/I%C2%B2C
https://www.kernel.org/doc/html/v4.14/driver-api/i2c.html
https://www.youtube.com/watch?v=6IAkYpmA1DQ&t=83s
https://www.ti.com/lit/an/slva704/slva704.pdf
I 2C-bus specification and user manual
   https://www.pololu.com/file/0J435/UM10204.pdf
Inter-Integrated Circuit (I2C)
   https://www.egr.msu.edu/classes/ece480/capstone/fall09/group03/AN_hemmanur.pdf
I2C bus specifications(for the CMS tracker 2S & PS modules)
   https://espace.cern.ch/CMS-MPA/SiteAssets/SitePages/Documents/I2C_bus_specifications_V2_0.pdf
https://i2cchip.com/
https://www.nxp.com/docs/en/user-guide/UM10204.pdf
https://www.nxp.com/products/peripherals-and-logic/signal-chain/bridges/spi-to-ic-bus-interface:SC18IS600
https://i2c.info/i2c-bus-specification
https://home.csulb.edu/~hill/ee346/Lectures/20%20C++%20ATmega%20I2C%20Serial%20Comm.pdf
https://www.analog.com/media/en/technical-documentation/product-selector-card/i2Cb.pdf
https://chenweixiang.github.io/docs/Using_the_I2C_Bus.pdf
https://www.circuitbasics.com/basics-of-the-i2c-communication-protocol/

https://www.allaboutcircuits.com/technical-articles/introduction-to-the-i2c-bus/
i2c实现细节
https://www.allaboutcircuits.com/technical-articles/the-i2c-bus-hardware-implementation-details/
https://resources.altium.com/p/spi-versus-i2c-how-choose-best-protocol-your-memory-chips
https://aticleworld.com/i2c-bus-protocol-and-interface/
PIC32 Family Reference Manual(Section 24. Inter-Integrated Circuit (I2 C))
https://ww1.microchip.com/downloads/en/DeviceDoc/60001116G.pdf
https://prodigytechno.com/i2c-bus/
https://home.csulb.edu/~hill/ee346/Lectures/20%20C++%20ATmega%20I2C%20Serial%20Comm.pdf
posted @ 2023-04-14 09:10  jinzi  阅读(48)  评论(0编辑  收藏  举报