User manual
PICkit™ SERIAL ANALYZER
USER’S GUIDE
© 2007 Microchip Technology Inc. DS51647A-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 ->
I2C Master Mode
• Several application notes are available on the Microchip Technology web site.
Click on links: Design -> App Notes -> Function: Communications -> I2C
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
4.4 SELECTING COMMUNICATIONS MODE
The I
2
C Master Communications mode is selected from the Configuration Wizard or
menu bar.
Configuration Wizard – Select PICkit Serial Analyzer > Run Configuration Wizard
from the menu bar
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