User manual

PICkit™ Serial Analyzer User’s Guide
DS51647A-page 110 © 2007 Microchip Technology Inc.
B.6.2 Slave Address: 0xA8 – EEProm Emulation
The 28-Pin Demo Board I
2
C™ Demonstration emulates a serial EEPROM. Device
emulation provides for 256 bytes. A newly-programmed 28-Pin Demo Board defaults
the first 8 bytes to 0x00 to 0x07 sequentially. The value of the remaining bytes is
undefined / unknown.
A Read operation is executed during the transaction.
The Write operation begins after the Stop bit is received. The firmware will not respond
to I
2
C communications during the Write.
FIGURE B-5: SERIAL EEPROM OPERATION
B.6.3 Slave Address: 0xAA – Executive (EXEC)
The “Executive” I
2
C pseudo device provides features convenient for testing and dem-
onstrating the PICkit™ Serial Analyzer and the 28-Pin Demo Board I
2
C™ firmware.
The I
2
C word addresses are listed in Table B-4.
0x08 RTC_YEARS 00-99 year, coding: BCD
0x09 RTC_ALARM_MIN 00-59 minute of alarm, coding: BCD
bit 7: enable
0x0A RTC_ALARM_HOUR 00-23 hour of alarm, coding: BCD
bit 7: enable
0x0B RTC_ALARM_DAY 01-31 day of alarm, coding BCD
bit 7: enable
0x0C RTC_ALARM_WEEK 00-06 weekday of alarm
bit 7: enable
0x0D (not assigned)
0x0E (not assigned)
0x0F (not assigned)
TABLE B-3: REAL-TIME CLOCK (RTC) WORD ADDRESSES (CONTINUED)
ACK
Write Operation
Send Start Bit
Send Control Byte
w/Write Bit
(continue)
NO
YES