User manual
SPI Master Communications
© 2007 Microchip Technology Inc. DS51647A-page 39
SPI BIT RATE
Select the desired SPI bit rate by selecting the radio button for the desired range and
then selecting the bit rate using the slider.
FIGURE 5-2: SPI 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
• Write Byte
– Enable event marker – write byte
• Read Byte
– Enable event marker – read byte
•Status Err
– Enable event marker – change in SPI 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
• Sample Phase
– SPI transaction configuration: Sample phase
• Clock Edge Select
– SPI transaction configuration: Clock Edge
• Clock Polarity
– SPI transaction configuration: Clock Polarity
• Auto Output Disable
– Disables output during input. Allows the SDI lines and the
SDO lines to be shorted for 3-wire communication.