
PICkit? SERIAL ANALYZER
USER ’S GUIDE
Chapter 5. SPI Master Communications
5.1
5.2
INTRODUCTION
This chapter describes the SPI Master Communications mode. SPI data and com-
mands can be entered using a Basic Communications window or by creating Script
Commands.
It is assumed that the user is familiar with the SPI protocol. For more information see:
An SPI tutorial is available on the Microchip Technology web site. Click on the links:
Support -> Getting Started -> PIC MCU Tutorials -> SPI - PICmicro Serial Peripheral
Interface
Several application notes are available on the Microchip Technology web site. Click on
links: Design -> App Notes -> Function: Communications -> SPI
HIGHLIGHTS
This chapter discusses:
?
?
?
?
?
?
PICkit Serial Analyzer Pin Assignments
Selecting Communications Mode
Configurating SPI Communications Mode
Communications: Basic Operations
Script Builder
Script Execute
5.3
PICkit? SERIAL ANALYZER PIN ASSIGNMENTS
The PICkit Serial Analyzer pin assignments for SPI Master mode are:
TABLE 5-1:
PIN ASSIGNMENTS
Pin
1
2
3
4
Label
CS
+V
GND
SDI
Type
Output
Power
Power
Input
Description
Chip Select (Active Low)
Target Power
Ground
Serial Data In (with respect to the
PICkit Serial Analyzer)
5
6
SCK
SDO
Output
Output
Serial Clock
Serial Data Out (with respect to the
PICkit Serial Analyzer)
5.4
SELECTING COMMUNICATIONS MODE
The SPI 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
? 2007 Microchip Technology Inc.
DS51647A-page 37