User manual

PICkit™ SERIAL ANALYZER
USERS GUIDE
© 2007 Microchip Technology Inc. DS51647A-page 37
Chapter 5. SPI Master Communications
5.1 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
5.2 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
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
Pin Label Type Description
1 CS Output Chip Select (Active Low)
2 +V Power Target Power
3 GND Power Ground
4 SDI Input Serial Data In (with respect to the
PICkit Serial Analyzer)
5 SCK Output Serial Clock
6 SDO Output Serial Data Out (with respect to the
PICkit Serial Analyzer)