User manual

I
2
C™ Master Communications
© 2007 Microchip Technology Inc. DS51647A-page 29
COMM I
2
CM BIT RATE
Select the desired I
2
C bus bit rate using the drop down box.
FIGURE 4-2: I
2
C™ CONFIGURE COMMUNICATIONS MODE – ADVANCED
VIEW
EVENT MARKERS
•Abrt Mac Exe
– Enable event marker: abort ‘macro’ execution
Macro Loop
– Enable event marker: top of ‘macro’ loop
Mac Lp 65536
– Enable event marker: ‘macro’ loop count overflow (i.e., 65536)
Mac Lp Done
– Enable event marker: ‘macro’ loop iterations complete
Timeout Timer1
– Enable event marker: Timer1 expired
Timeout Timer2
– Enable event marker: Timer2 expired
Status Error
– Enable event marker: change in status byte
•Start Bit
– Enable event marker – Start bit
Stop Bit
– Enable event marker – Stop bit
•Restart Bit
– Enable event marker – Restart bit
Ack/Nack TX
– Enable event marker – Ack or Nack byte transmit
Ack/Nack RX
– Enable event marker – Ack or Nack byte received
Write Byte
– Enable event marker – write byte
Read Byte
– Enable event marker – read byte
•TX Error
– Enable event marker – TX error
Status Error
– Enable event marker – change in I
2
C status byte
ADVANCED OPTIONS
Disable LED2 Default
– Disable default LED2 behavior (LED2 = Yellow ‘Target’
LED)
Disable LED1 Default
– Disable default LED1 behavior (LED1 = Red ‘Busy’ LED)
Enable Switch Test
– Enable low level switch test:
- Switch Off (not depressed) – blink LED1, LED2 off
- Switch ON (depressed) – blink LED2, LED1 off
AUX1 Default State
– AUX1 communication line – default state (0 | 1)
AUX2 Default State
– AUX2 communication line – default state (0 | 1)
•AUX1 Direction
– AUX1 communication line – direction: 1: input, 0: output