| Electronic Components Datasheet Search |
|
MCP9600 Datasheet(PDF) 19 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
MCP9600 Datasheet(HTML) 19 Page - Microchip Technology |
|
19 / 50 page ![]() 2015-2016 Microchip Technology Inc. DS20005426B-page 19 MCP9600 FIGURE 4-5: Timing Diagram to Set a Register Pointer and Read a Two Byte Data. SDA A C K 11 0 0 A Alert 1, 2, 3, 4 MSB 00 0 1 A C K S 2 A 1 A 0 12 3 4 567 8 1 2 345 6 7 8 SCL 0 Address Byte W 0X X XX X X A C K 1 2 345 6 7 8 X XX X XX X X A C K 1 2 345 678 X XX X P TABLE 4-4: POINTERS Alert Limit Registers Pointer Alert 1 0001 0000 Alert 2 0001 0001 Alert 3 0001 0010 Alert 4 0001 0011 MCP9600 Alert 1, 2, 3, 4 LSB A C K 11 0 0 A MSB Data A C K N A K S P 2 A 1 A 0 1 2 3 4 567 8 1 2 345 6 7 8 12 3 4 5 67 8 Address Byte LSB Data R MCP9600 Master Master SDA SCL XX XX X XX X X X X X X XX X MCP9600 Clock Stretching Note: this is an example pseudo routine: i2c_start(); // send START command i2c_write(b’1100 0000’); //WRITE Command //also, make sure bit 0 is cleared ‘0’ i2c_write(b’0001 00XX’); // Write Alert registers i2c_write(b’XXXX XXXX’); // Write register Upper Byte i2c_write(b’XXXX XXXX’); // Write register Lower Byte i2c_stop(); // send STOP command i2c_start(); // send START command i2c_write(b’1100 0001’); //READ Command //also, make sure bit 0 is set ‘1’ UpperByte = i2c_read(ACK); // READ 8 bits //and Send ACK bit LowerByte = i2c_read(NAK); // READ 8 bits //and Send NAK bit i2c_stop(); // send STOP command |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |