Microchip Technology DM164123 データシート

ページ / 32
PICDEM™ System Management
©
 2007 Microchip Technology Inc.
DS41304B-page 13
1.5.6
General I
2
C
The I
2
C function is an interface that allows master control of an I
2
C bus. Locate the 
Read section of the I
2
C Tab. A Read command can be executed by filling the “Slave 
Address [W]” field with the address of the device to be read. The “Word Address” field 
should be filled with the word address of the device to be read. Finally, the “Byte Count” 
field should be filled with the number of bytes to be read. The results of the command 
will be output on the screen to the left.
Locate the write section of the I
2
C Tab. A Write command is executed by filling the 
“Slave Address [W]” field with the address of the device to be written. The word address 
of the first byte to be written should be entered into the “Word Address” field. A single 
byte or multiple bytes of data can be filled in the data fields. The results will be shown 
on the screen to the left. See Appendix Table B-1 through Table B-4 for device address 
and word address details.
FIGURE 1-7:
I
2
C™