参数资料
型号: CP2120-GM
厂商: Silicon Laboratories Inc
文件页数: 9/24页
文件大小: 0K
描述: IC I/O EXPANDER I2C/SPI 8B 20QFN
产品培训模块: CP21xx USB Bridge
标准包装: 91
接口: I²C,SPI
输入/输出数: 8
中断输出:
频率 - 时钟: 400kHz
电源电压: 3 V ~ 3.6 V
工作温度: -40°C ~ 85°C
安装类型: 表面贴装
封装/外壳: 20-VFQFN 裸露焊盘
供应商设备封装: 20-QFN(4x4)
包装: 管件
产品目录页面: 627 (CN2011-ZH PDF)
其它名称: 336-1324
CP2120
Rev. 0.4
17
6.4. I2C Receive Buffer Size
Bytes received from I2C transactions are stored in the 255-byte data buffer. The number of bytes currently stored
inside this buffer is saved in the RXBUFF Internal Register.
Internal Register Definition 6. RXBUFF: Receive Buffer Size Register
6.5. I2C Commands
SPI commands initiate all I2C transactions. The CP2120 executes I2C transactions only after every byte of the
command has been successfully received across the SPI bus. Once the CP2120 has completed the I2C
transaction prompted by the command, the INT pin will be pulled low to indicate that command execution has
completed. If an I2C command is issued while an I2C command is in progress, the second I2C command will be
ignored.
6.5.1. Write Bytes to I2C
This command transmits data to an I2C slave device. The command begins with the command byte (0x00),
followed by the number of bytes to be transmitted across I2C, which can range from 1 to 255, and the address of
the I2C Slave. The SPI master then sends the data to be transmitted across I2C. Sending more or fewer bytes than
was indicated by the second byte of the command will result in an error condition, and the I2C transaction will not
be initiated.
Once the I2C transaction completes, the CP2120 pulls the INT pin low and sets the internal register according to
the results of the transaction.
6.5.2. Read Bytes from I2C
This command attempts to retrieve bytes from an I2C Slave device. The command begins with the command byte,
0x01, followed by the number of bytes to read (1 to 255) and the address of the I2C slave device.
Once the I2C transaction completes, the CP2120 pulls the INT pin low and sets I2CSTAT according to the results of
the transaction. The CP2120 saves the number of bytes stored in the buffer in the internal register named
RXBUFF. A Read Buffer command can be issued to retrieve the bytes from the buffer.
Note that if the SPI Master issues a second Read Bytes from I2C command before issuing a Read Buffer
command, the bytes stored in the CP2120's buffer will be overwritten.
Internal Register Address:
0x06
Reset Value:
0x00
Bit 7-0:
RXB7-0: Receive Buffer Size
Indicates the number of bytes received during the last I2C read transaction.
RR
R
RXB7
RXB6
RXB5
RXB4
RXB3
RXB2
RXB1
RXB0
Bit 7
Bit 6
Bit 5
Bit 4
Bit3
Bit 2
Bit 1
Bit 0
DATA
BYTE1
DATA
BYTE N
NUMBER
OF BYTES
COMMAND
0x00
SLAVE
ADDRESS +W
...
SPI Master
NUMBER
OF BYTES
COMMAND
0x01
SLAVE ADDRESS
+R
SPI Master
相关PDF资料
PDF描述
CP2200-GQ IC ETH CTRLR SNGL-CHIP 48TQFP
CP80C86-2Z IC CPU 16BIT 5V 8MHZ 40-PDIP
CP82C50A-5Z IC ASYNC COMM ELEMENT UART 40DIP
CP82C89 IC ARBITER BUS 5V 8MHZ 20-DIP
CPC1465D IC DC TERMINATION 16-SOIC
相关代理商/技术参数
参数描述
CP2120-GMR 功能描述:接口 - 专用 SPI-I2C BRIDGE & GPIO PORT EXPANDER RoHS:否 制造商:Texas Instruments 产品类型:1080p60 Image Sensor Receiver 工作电源电压:1.8 V 电源电流:89 mA 最大功率耗散: 最大工作温度:+ 85 C 安装风格:SMD/SMT 封装 / 箱体:BGA-59
CP2-127-06L 制造商:未知厂家 制造商全称:未知厂家 功能描述:Analog IC
CP2-127-06L-1-RTV-W6 制造商:Laird Technologies Inc 功能描述:
CP2-127-06LT 制造商:未知厂家 制造商全称:未知厂家 功能描述:Analog IC
CP2-127-06TL 制造商:未知厂家 制造商全称:未知厂家 功能描述:Analog IC