User manual

PICkit™ Serial Analyzer User’s Guide
DS51647A-page 14 © 2007 Microchip Technology Inc.
2.8 I
2
C™ COMMUNICATIONS – BASIC OPERATIONS
Individual I
2
C commands and data can be read and written to the 28-Pin Demo Board
from the Basic Operations window as shown in Figure 2-6. Ensure that the PICkit Serial
Analyzer program is in I
2
C Master mode by selecting PICkit Serial Analyzer > Run Con-
figuration Wizard from the menu bar and selecting I
2
C Master.
FIGURE 2-6: I
2
C™ BASIC OPERATIONS
2.8.1 Real-Time Clock (RTC)
The Slave address for the emulated real-time clock on the 28-Pin Demo Board is
hexadecimal A2 (0xA2). The Word Address selects the following memory locations:
TABLE 2-1: MEMORY LOCATIONS
Note: The 28-Pin Demo I
2
C window and the Basic Operations window cannot be
opened at the same time. When the 28-Pin Demo I
2
C window is opened,
the Basic Operations window will automatically close.
Word Address Contents
0x00 Configuration 1
0x01 Configuration 2
0x02 Seconds
0x03 Minutes
0x04 Hours
0x05 Days
0x06 Weekdays
0x07 Months
0x08 Years