I2C Mo" />
參數(shù)資料
型號: ENC424J600T-I/PT
廠商: Microchip Technology
文件頁數(shù): 75/168頁
文件大?。?/td> 0K
描述: IC ETHERNET CTRLR W/SPI 44-TQFP
視頻文件: Fast 100 Mbps Ethernet PICtail Plus Overview
標(biāo)準(zhǔn)包裝: 1,200
控制器類型: 以太網(wǎng)控制器(IEEE 802.3)
接口: SPI
電源電壓: 3 V ~ 3.6 V
電流 - 電源: 96mA
工作溫度: -40°C ~ 85°C
安裝類型: 表面貼裝
封裝/外殼: 44-TQFP
供應(yīng)商設(shè)備封裝: 44-TQFP(10x10)
包裝: 帶卷 (TR)
配用: AC164132-ND - BOARD DAUGHTER PICTAIL ETHERNET
PIC18F2220/2320/4220/4320
DS39599G-page 164
2007 Microchip Technology Inc.
17.4
I2C Mode
The MSSP module in I2C mode fully implements all
master and slave functions (including general call sup-
port) and provides interrupts on Start and Stop bits in
hardware to determine a free bus (multi-master func-
tion). The MSSP module implements the standard
mode specifications, as well as 7-bit and 10-bit
addressing.
Two pins are used for data transfer:
Serial Clock (SCL) – RC3/SCK/SCL
Serial Data (SDA) – RC4/SDI/SDA
The user must configure these pins as inputs using the
TRISC<4:3> bits.
FIGURE 17-7:
MSSP BLOCK DIAGRAM
(I2C MODE)
17.4.1
REGISTERS
The MSSP module has six registers for I2C operation.
These are:
MSSP Control Register 1 (SSPCON1)
MSSP Control Register 2 (SSPCON2)
MSSP Status Register (SSPSTAT)
Serial Receive/Transmit Buffer (SSPBUF)
MSSP Shift Register (SSPSR) – Not directly
accessible
MSSP Address Register (SSPADD)
SSPCON1, SSPCON2 and SSPSTAT are the control
and status registers in I2C mode operation. The
SSPCON1 and SSPCON2 registers are readable and
writable. The lower six bits of the SSPSTAT are
read-only. The upper two bits of the SSPSTAT are
read/write.
SSPSR is the shift register used for shifting data in or
out. SSPBUF is the buffer register to which data bytes
are written to or read from.
SSPADD register holds the slave device address
when the MSSP is configured in I2C Slave mode.
When the MSSP is configured in Master mode, the
lower seven bits of SSPADD act as the Baud Rate
Generator reload value.
In receive operations, SSPSR and SSPBUF together
create a double-buffered receiver. When SSPSR
receives a complete byte, it is transferred to SSPBUF
and the SSPIF interrupt is set.
During transmission, the SSPBUF is not double-
buffered. A write to SSPBUF will write to both SSPBUF
and SSPSR.
Read
Write
SSPSR reg
Match Detect
SSPADD reg
Start and
Stop bit Detect
SSPBUF reg
Internal
Data Bus
Addr Match
Set, Reset
S, P bits
(SSPSTAT reg)
RC3/SCK/
Shift
Clock
MSb
LSb
RC4/SDI/
SDA
SCL
相關(guān)PDF資料
PDF描述
PIC16LC505T-04I/SL IC MCU OTP 1KX12 14SOIC
PIC16C620A-04/SS IC MCU OTP 512X14 COMP 20SSOP
PIC16C620A-04I/SS IC MCU OTP 512X14 COMP 20SSOP
PIC12LCE519T-04/SM IC MCU OTP 1KX12 LV W/EE 8-SOIJ
MCP2510T-I/ST IC CAN CONTROLLER W/SPI 20-TSSOP
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
ENC431D05A 制造商:未知廠家 制造商全稱:未知廠家 功能描述:
ENC431D-05A 制造商:未知廠家 制造商全稱:未知廠家 功能描述:STD MOV
ENC431D07A 制造商:未知廠家 制造商全稱:未知廠家 功能描述:
ENC431D-07A 制造商:未知廠家 制造商全稱:未知廠家 功能描述:STD MOV
ENC431D10A 制造商:未知廠家 制造商全稱:未知廠家 功能描述: