User manual
PICkit™ Serial Analyzer User’s Guide
DS51647A-page 42 © 2007 Microchip Technology Inc.
FIGURE 5-6: SEEPROM EXAMPLE – WRITE BYTES
Figure 5-7 shows how to read data from the 25LC020A. Groups 0 and 1 are disabled,
and Groups 2 and 3 are enabled. This example shows how data is transmitted and
received in one transaction (Chip Select, CS
, active) between Groups. Clicking on the
Execute button will send the Read command (0x03) and memory address (0x00) of
Group 2 followed by a Read Ten Bytes command in Group 3. The commands and
received data are displayed in the transactions window.
FIGURE 5-7: SEEPROM EXAMPLE – READ BYTES
5.7 SCRIPT BUILDER
SPI commands can be combined into scripts, saved, and used over again. The Script
Builder window is opened by selecting Communications > Script > Script Builder
from
the menu bar. The Script Builder is shown in Figure 5-8.
The Script Builder window is divided into four columns as shown in Figures 5-9 through
5-12.