Datasheet

Table Of Contents
I
2
C™ Slave Communications
© 2009 Microchip Technology Inc. DS51647C-page 45
Memory Block – Check if the register is to be treated as a contiguous block of
memory, such as an EE array.
Data Size – Number of bytes in the register. If the register is not a Memory Block,
this many bytes will be returned when the register is read. If the register is a
Memory Block, the profile generator will return one byte at a time until it is
Nacked.
Data – Stores the data belonging to the register (hex format)
Use Large Data Array – If the data in the register is larger than 8 bytes, press this
button to display a 256 byte array into which you may enter data.
Once the parameters are entered, they can be saved as an I
2
C Slave Profile file
(*.pfl).
File->Open
– Open an existing profile (*.pfl)
File->Save
– Save or replace a profile (*.pfl)
Clear All
– Resets (clears) all registers
PICkit SERIAL SLAVE ADDRESS
In the groupbox ‘PICkit Serial Analyzer Slave Address’ enter the hex representation of
the slave address you want the PICkit Serial Analyzer to respond to, then press the
Apply button. This writes the address into the Analyzer firmware.
MODE
If you wish to run the slave profile from the PC (GUI) there is nothing more to do. If you
wish to run it from the PICkit Serial Analyzer, press the appropriate radio button in the
‘Mode’ groupbox.
Note: If you are running the profile from the PICkit Serial Analyzer and you wish
to change the profile, you must press the Apply Profile button to load the
changes into the firmware.
Note: When running the profile from the PICkit Serial Analyzer instead of the PC,
you are limited to 255 data and Configuration bytes (profile length). If you
attempt to write too large of a profile to the PICkit Serial Analyzer, an error
message will be sent to the Transactions window telling you your profile
length.