MCP9804-E/MS Microchip Technology, MCP9804-E/MS Datasheet - Page 45

IC TEMP SENSOR I2C 2.7V 8MSOP

MCP9804-E/MS

Manufacturer Part Number
MCP9804-E/MS
Description
IC TEMP SENSOR I2C 2.7V 8MSOP
Manufacturer
Microchip Technology
Datasheets

Specifications of MCP9804-E/MS

Package / Case
8-MSOP, Micro8™, 8-uMAX, 8-uSOP,
Function
Temp Monitoring System (Sensor)
Topology
ADC (Sigma Delta), Register Bank
Sensor Type
Internal
Sensing Temperature
-40°C ~ 125°C
Output Type
I²C™/SMBus™
Output Alarm
No
Output Fan
No
Voltage - Supply
2.7 V ~ 5.5 V
Operating Temperature
-40°C ~ 125°C
Mounting Type
Surface Mount
Temperature Threshold
+ 150 C
Full Temp Accuracy
+/- 0.25 %
Digital Output - Bus Interface
2-Wire, I2C
Supply Voltage (max)
5.5 V
Supply Voltage (min)
2.7 V
Maximum Operating Temperature
+ 125 C
Minimum Operating Temperature
- 40 C
Supply Current
200 uA
Ic Output Type
Digital
Sensing Accuracy Range
± 0.25°C
Temperature Sensing Range
-40°C To +125°C
Supply Voltage Range
2.7V To 5.5V
Sensor Case Style
MSOP
No. Of Pins
8
Rohs Compliant
Yes
Supply Voltage Min
2.7V
Leaded Process Compatible
Yes
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MCP9804-E/MS
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
MCP9804-E/MS
Manufacturer:
MICROCHI
Quantity:
20 000
Part Number:
MCP9804-E/MS
Quantity:
510
Part Number:
MCP9804-E/MS
0
/********************************************************************
*
*
*
*
*
********************************************************************/
unsigned char i2c_write( unsigned char i2cWriteData ) {
ted)
}
/********************************************************************
*
*
*
*
********************************************************************/
unsigned char i2c_read( unsigned char ack ) {
}
© 2009 Microchip Technology Inc.
PIR1bits.SSPIF = 0; // clear interrupt
while ( SSPSTATbits.BF ) ;
SSPBUF = i2cWriteData;
while (!PIR1bits.SSPIF) ;
PIR1bits.SSPIF = 0; // clear flag
return ( !SSPCON2bits.ACKSTAT ); // function returns '1' if transmission is acknowledged
unsigned char i2cReadData;
PIR1bits.SSPIF = 0;// clear interrupt
while ( SSPSTATbits.BF ) ; // wait for idle condition
SSPCON2bits.RCEN = 1;
while (!PIR1bits.SSPIF) ; // wait for a flag to be set
PIR1bits.SSPIF = 0;// clear flag
i2cReadData = SSPBUF;
if ( ack ) {
} else {
}
SSPCON2bits.ACKEN = 1;
while (!PIR1bits.SSPIF) ; // wait for a flag to be set
PIR1bits.SSPIF = 0;// clear flag
return( i2cReadData );
Function Name:
Return Value:
Parameters:
Description:
Function Name:
Return Value:
Parameters:
Description:
SSPCON2bits.ACKDT = 0;
SSPCON2bits.ACKDT = 1;
i2c_write
Status byte for WCOL detection.
Single data byte for I2C2 bus.
This routine writes a single byte to the
I2C2 bus.
i2c_read
contents of SSP2BUF register
ack = 1 and nak = 0
Read a byte from I2C bus and ACK/NAK device
// wait for a flag to be set
// wait for idle condition
// enable receive mode
// Read SSPBUF and put it in i2cReadData
// if ack=1
//
//
// send acknowledge sequence
// return the value read from SSPBUF
// Load SSPBUF with i2cWriteData (the value to be transmit-
then transmit an Acknowledge
otherwise transmit a Not Acknowledge
MCP9804
DS22203B-page 45

Related parts for MCP9804-E/MS