MCP98243 Microchip Technology Inc., MCP98243 Datasheet - Page 23

no-image

MCP98243

Manufacturer Part Number
MCP98243
Description
Memory Module Temperature Sensor W/ Eeprom For Spd
Manufacturer
Microchip Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MCP98243-BE/MC
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
MCP98243-BE/MC
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
MCP98243-BE/ST
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
MCP98243-BE/ST
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
MCP98243T-BE/MC
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
MCP98243T-BE/MCAB
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
MCP98243T-BE/MCAB
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
MCP98243T-BE/MNY
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
MCP98243T-BE/MNY
0
FIGURE 5-4:
“Serial Communication”).
© 2009 Microchip Technology Inc.
SDA
SCL
SDA
SCL
• Reading the CONFIG Register.
S
S
1
0
1
0
2
0
Note: this is an example routine:
i2c_start();
i2c_write(AddressByte & 0xFE);
i2c_write(0x01);
i2c_start();
i2c_write(AddressByte | 0x01);
UpperByte = i2c_read(ACK);
LowerByte = i2c_read(NAK);
i2c_stop();
2
0
Address Byte
Timing Diagram for Reading from the Configuration Register (See Section 4.0
3
1
Address Byte
1
3
4
1
4
1
5
A
2
5
A
2
A
6
1
A
6
1
7
A
0
A
MCP98243
7
0
MCP98243
W
8
8
R
A
C
K
A
C
K
1
0
Configuration Pointer
1
0
2
0
0
2
3
0
3
0
MSB Data
4
0
4
0
// send START command
//WRITE Command
//also, make sure bit 0 is cleared ‘0’
// Write CONFIG Register
// send Repeat START command
//READ Command
//also, make sure bit 0 is set ‘1’
// READ 8 bits
//and Send ACK bit
// READ 8 bits
//and Send NAK bit
// send STOP command
5
0
5
0
6
0
6
0
7
0
7
0
MCP98243
8
1
8
0
Master
A
C
K
A
C
K
1
0
2
0
Note:
3
0
LSB Data
4
0
MCP98243
5
1
It is not necessary to
select
pointer if it was set from
the previous read/write.
6
0
7
0
DS22153A-page 23
the
8
0
Master
N
A
K
P
register

Related parts for MCP98243