Datasheet

Table Of Contents
PICkit™ SERIAL ANALYZER
USERS GUIDE
© 2009 Microchip Technology Inc. DS51647C-page 53
Chapter 7. SPI and Microwire Master Communications
7.1 INTRODUCTION
This chapter describes the SPI and Microwire Master Communications mode.
Microwire is a subset of the SPI protocol. 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 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 ->
Technical Documentation -> Tutorials -> SPI-PICMicro Serial Periph-
eral Interface
7.2 HIGHLIGHTS
This chapter discusses:
PICkit Serial Analyzer Pin Assignments
Selecting Communications Mode
Configurating SPI Communications Mode
Communications: Basic Operations
Script Builder
Script Execute
7.3 PICkit™ SERIAL ANALYZER PIN ASSIGNMENTS
The PICkit Serial Analyzer pin assignments for SPI Master mode are:
TABLE 7-1: PIN ASSIGNMENTS
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)