Datasheet

Table Of Contents
PICkit™ SERIAL ANALYZER
USERS GUIDE
© 2009 Microchip Technology Inc. DS51647C-page 27
Chapter 4. I
2
C™ Master Communications
4.1 INTRODUCTION
This chapter describes the I
2
C Master Communications mode. I
2
C data and
commands can be entered using a Basic Communications window or by creating script
commands.
It is assumed that the user is familiar with the I
2
C protocol. For more information see:
The I
2
C Bus Specification Version 2.1 January 2000 is available from NXP
Semiconductor (formerly Philips Semiconductor) web site at:
http://www.nxp.com/acrobat_download/literature/9398/39340011.pdf
•An I
2
C Master Communications tutorial is available on the Microchip Technology
web site. Click on the links: Support -> Getting Started -> PIC MCU Tutorials ->
I
2
C Master Mode
Several application notes are available on the Microchip Technology web site.
Click on links: Design -> Technical Documentation -
> Tutorials -> I
2
C Master
Mode
4.2 HIGHLIGHTS
This chapter discusses:
PICkit Serial Pin Assignments
Selecting Communications Mode
Configuring I
2
C Communications Mode
Communications: Basic Operations
Script Builder
Script Execute
4.3 PICkit SERIAL PIN ASSIGNMENTS
The PICkit Serial Analyzer pin assignments for I
2
C Master mode are:
TABLE 4-1: PIN ASSIGNMENTS
Pin Label Type Description
1 AUX1 Input/Output Auxiliary I/O port pin No. 1
2 +V Power Target Power
3 GND Power Ground
4 SDA Input/Output Serial Data
5 SCL Power Serial Clock
6 AUX2 Input/Output Auxiliary I/O port pin No. 2