Datasheet

Table Of Contents
PICkit™ Serial Analyzer Firmware
© 2009 Microchip Technology Inc. DS51647C-page 123
11.10.2.2 STATUS_BLOCK
TABLE 11-45:
11.10.2.3 CONFIGURATION CONSIDERATIONS
The PICkit Serial Analyzer can be configured to operate as LIN bus master, monitor or
both.
MASTER
To configure the PICkit Serial Analyzer to perform as LIN bus master, the host must
write the CONTROL_BLOCK to specify:
1. Default baud rate
2. LIN adapter ‘Chip Select’ line state
Optionally,
1. Set ‘receive enable’ Configuration bit to allow the PICkit Serial Analyzer to
receive RX data and report it to the host
2. Enable desired event markers
BYTE BIT DESCRIPTION
Comm: LIN
12 7:0 bit flags: error
0 FERR – framing error
1 OERR – overrun error
2 FAULT – from LIN bus adapter
3 Auto-Baud Detect error (e.g., overflow)
4n/a
5n/a
6 INIT error
7 composite error
13 7:0 bit flags: status
0 PIN state: Fault
1 PIN state:
2 Auto-Baud Detect in progress
3n/a
4n/a
5n/a
6n/a
7n/a
14 7:0 n/a
15 7:0 n/a
16 7:0 n/a
17 7:0 n/a
18 7:0 currently active Baud rate (BRG code) (LSB)
19 7:0 currently active Baud rate (BRG code) (MSB)