Datasheet

Table Of Contents
PICkit™ Serial Analyzer User’s Guide
DS51647C-page 100 © 2009 Microchip Technology Inc.
TABLE 11-17: I
2
CM STATUS BLOCK
The I
2
CM Tag/CCMND bytes are used by the host (software) to describe an I
2
C
transaction in ‘script’ form. The script is sent via USB to the script buffer (CBUF1) and
interpreted by the Comm controller to execute the transaction on the I
2
C bus. The
return data stream contains I
2
C read data as well as ‘event marker’ tags that mark the
occurrence of each entity of the I
2
C transaction (e.g., Tag: 0x81 indicates a Start bit)
Byte Bit Description
Comm: I
2
CM
12 7:0 Bit flags: error status
0 WCOL error
1 SSPOV error
2 received NACK when ACK was expected
3
4
5
6
7 Composite error
13 7:0 Bit flags: info status
0
1
2
3
4
5
6
7
14 7:0
15 7:0
16 7:0
0 AUX1 – state (0 | 1)
1 AUX2 – state (0 | 1)
2 AUX1 – direction (1=IN, 0=OUT)
3 AUX2 – direction (1=IN, 0=OUT)
4n/a
5n/a
6n/a
7n/a
17 7:0 SDA Line Voltage (255 = 5V)
18 7:0 SCL Line Voltage (255 = 5V)
19 7:0 BIT RATE CODE currently in use