Datasheet

Table Of Contents
PICkit™ Serial Analyzer User’s Guide
DS51647C-page 44 © 2009 Microchip Technology Inc.
Show Profile Generator. Press this to close the Basic Operations page and open the
I
2
C Slave Profile Generator page.
5.7 COMMUNICATIONS: PROFILE GENERATOR
The I
2
C Slave Profile Generator allows you to mimic an I
2
C slave device from either
the PICkit Serial Analyzer PC interface, or from the PICkit Serial Analyzer itself. The
trade-off between the two methods is flexibility vs. response time. Mimicking a device
from the PC allows for a great deal of run time flexibility, while running from the PICkit
Serial Analyzer decreases response time. You can mimic up to eight registers in a
profile.
DISPLAYING THE I
2
C SLAVE PROFILE GENERATOR
The profile generator may be opened by either pressing the Show Profile Generator
button on the I
2
CS Basic Operations page, or by the menu item Communications > I
2
C
Slave Profile Generator. Figure 5-4 shows the Slave Profile Generator with the first two
registers activated.
FIGURE 5-4: I
2
C™ SLAVE PROFILE GENERATOR
CREATING A PROFILE
Create a profile by filling in Inputs for each register:
Active – Allows you to activate or deactivate a register. This must be active before
you can fill in the rest of the data. The purpose of this checkbox is to allow run
time activation or deactivation of a register.
Comm – Flashes when the register is activated (read from or written to).
Slave Address – Hex representation of the register’s slave address.
Register Name – Enter a register name. This is for reference only and does not
affect operation.
Word Address – Hex representation of the word address of the register (will be
forced to zero if Memory Block is selected.
Enable Read – Determines whether or not the register is read accessible.
Enable Write – Determines whether or not the register is write accessible.
Note: The Basic Operations page and the Profile Generator page cannot both be
opened at the same time due to DLL conflict issues.