MCP9800/1/2/3
4.0
SERIAL COMMUNICATION
4.1.1
DATA TRANSFER
4.1
2-Wire SMBus/Standard Mode
I 2 C? Protocol-Compatible
Interface
Data transfers are initiated by a Start condition (Start),
followed by a 7-bit device address and a read/write bit.
An Acknowledge (ACK) from the slave confirms the
reception of each byte. Each access must be
terminated by a Stop condition (Stop).
The MCP9800/1/2/3 serial clock input (SCL) and the
bidirectional serial data line (SDA) form a 2-wire
bidirectional SMBus/Standard mode I 2 C compatible
communication port (refer to the Digital Input/Output
The following bus protocol has been defined:
Repeated communication is initiated after t B-FREE .
This device does not support sequential register read/
write. Each register needs to be addressed using the
Register Pointer.
This device supports the Receive Protocol. The
register can be specified using the pointer for the initial
read. Each repeated read or receive begins with a Start
TABLE 4-1:
Term
MCP9800 SERIAL BUS
PROTOCOL DESCRIPTIONS
Description
condition and address byte. The MCP9800/1/2/3
retains the previously selected register. Therefore, it
outputs data from the previously-specified register
(repeated pointer specification is not necessary).
Master The device that controls the serial bus,
typically a microcontroller.
Slave The device addressed by the master,
such as the MCP9800/1/2/3.
Transmitter Device sending data to the bus.
4.1.2 MASTER/SLAVE
The bus is controlled by a master device (typically a
microcontroller) that controls the bus access and
generates the Start and Stop conditions. The
MCP9800/1/2/3 is a slave device and does not control
Receiver
Start
Stop
Device receiving data from the bus.
A unique signal from master to initiate
serial interface with a slave.
A unique signal from the master to
other devices in the bus. Both master and slave
devices can operate as either transmitter or receiver.
However, the master device determines which mode is
activated.
terminate serial interface from a slave.
4.1.3
START/STOP CONDITION
Read/Write A read or write to the MCP9800/1/2/3
registers.
ACK A receiver Acknowledges (ACK) the
reception of each byte by polling the
bus.
A high-to-low transition of the SDA line (while SCL is
high) is the Start condition. All data transfers must be
preceded by a Start condition from the master. If a Start
condition is generated during data transfer, the
MCP9800/1/2/3 resets and accepts the new Start
NAK
Busy
Not Busy
Data Valid
A receiver Not-Acknowledges (NAK) or
releases the bus to show End-of-Data
(EOD).
Communication is not possible
because the bus is in use.
The bus is in the Idle state, both SDA
and SCL remain high.
SDA must remain stable before SCL
becomes high in order for a data bit to
be considered valid. During normal
data transfers, SDA only changes state
while SCL is low.
condition.
A low-to-high transition of the SDA line (while SCL is
high) signifies a Stop condition. If a Stop condition is
introduced during data transmission, the MCP9800/1/
2/3 releases the bus. All data transfers are ended by a
Stop condition from the master.
4.1.4 ADDRESS BYTE
Following the Start condition, the host must transmit an
8-bit address byte to the MCP9800/1/2/3. The address
for the MCP9800 Temperature Sensor is
‘ 1001,A2,A1,A0 ’ in binary, where the A2, A1 and A0
bits are set externally by connecting the corresponding
pins to V DD ‘ 1 ’ or GND ‘ 0 ’. The 7-bit address
transmitted in the serial bit stream must match the
selected address for the MCP9800/1/2/3 to respond
with an ACK. Bit 8 in the address byte is a read/write
bit. Setting this bit to ‘ 1 ’ commands a read operation,
while ‘ 0 ’ commands a write operation (see Figure 4-1 ).
? 2010 Microchip Technology Inc.
DS21909D-page 11
相关PDF资料
MCPC4890E CTRLR POWER SSR 480V 90A AC OUT
MCS3264R050FER RES CURRENT SENSE .050 OHM 2W 1%
MCST4890ES RELAY SOFTSTART 480V 90A AC OUT
MCT0603MD8062DP500 RES 80.6K OHM 0.15W .5% SMD 0603
MCTC4890KVHD CTRLR TEMP SSR 480V 90A AC OUT
MCW0406MD7502BP100 RES 75K OHM 1/4W .1% 0406 WIDE
MCX241R RELAY SSR SPST-NO 280VAC1.5A SIP
MCXE480D5R RELAY SSR DC 480V 5A AC OUT SIP
相关代理商/技术参数
MCP9800DM-DL2 功能描述:温度传感器开发工具 MCP9800 Temp Data Logger Demo Brd 2 RoHS:否 制造商:Texas Instruments 产品类型:Temperature Sensors and Control ICs 工具用于评估:MSP430G2553 接口类型:USB 工作电源电压: 工作电源电流:
MCP9800DM-PCTL 功能描述:温度传感器开发工具 Thermal Sensor PIC- tail Demo BRD RoHS:否 制造商:Texas Instruments 产品类型:Temperature Sensors and Control ICs 工具用于评估:MSP430G2553 接口类型:USB 工作电源电压: 工作电源电流:
MCP9800DM-TS1 功能描述:温度传感器开发工具 MCP9800 Temp Sensor Demo Board RoHS:否 制造商:Texas Instruments 产品类型:Temperature Sensors and Control ICs 工具用于评估:MSP430G2553 接口类型:USB 工作电源电压: 工作电源电流:
MCP9800DM-TS1 制造商:Microchip Technology Inc 功能描述:TEMPERATURE SENSOR DEMO BOARD
MCP9801 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:2-Wire High-Accuracy Temperature Sensor
MCP9801A0-M/MS 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:2-Wire High-Accuracy Temperature Sensor
MCP9801A0-M/OT 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:2-Wire High-Accuracy Temperature Sensor
MCP9801A0-M/SN 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:2-Wire High-Accuracy Temperature Sensor