Signal and Window Source Selection

The SMT signal and window sources are selected by configuring the SSEL bits in the SMTxSIG register and the WSEL bits in the SMTxWIN register. Refer the tables below for the possible selections.

The polarity of the signal and window sources can be selected using the SPOL and WPOL bits in the SMTxCON0 register.

Table 1. SMT Signal Selection
SSEL<4:0> SMT1 Signal Source SMT2 Signal Source
11111-10111 Reserved Reserved
10110 ZCDOUT ZCDOUT
10101 C3OUT C3OUT
10100 C2OUT C2OUT
10011 C1OUT C1OUT
10010 PWM7OUT PWM7OUT
10001 PWM6OUT PWM6OUT
10000 CCP5OUT CCP5OUT
01111 CCP4OUT CCP4OUT
01110 CCP3OUT CCP3OUT
01101 CCP2OUT CCP2OUT
01100 CCP1OUT CCP1OUT
01011 SMT2 overflow Reserved
01010 Reserved SMT1 overflow
01001 TMR8 postscaled output TMR8 postscaled output
01000 TMR7 postscaled output TMR7 postscaled output
00111 TMR6 postscaled output TMR6 postscaled output
00110 TMR5 postscaled output TMR5 postscaled output
00101 TMR4 postscaled output TMR4 postscaled output
00100 TMR3 postscaled output TMR3 postscaled output
00011 TMR2 postscaled output TMR2 postscaled output
00010 TMR1 postscaled output TMR1 postscaled output
00001 TMR0 postscaled output TMR0 postscaled output
00000 Pin Selected by SMT1SIGPSS Pin Selected by SMT2SIGPSS
Table 2. SMT Window Selection
WSEL<4:0> SMT1 Window Source SMT2 Window Source
11111-10110 Reserved Reserved
10101 ZCDOUT ZCDOUT
10100 C3OUT C3OUT
10011 C2OUT C2OUT
10010 C1OUT C1OUT
10001 PWM7OUT PWM7OUT
10000 PWM6OUT PWM6OUT
01111 CCP5OUT CCP5OUT
01110 CCP4OUT CCP4OUT
01101 CCP3OUT CCP3OUT
01100 CCP2OUT CCP2OUT
01011 CCP1OUT CCP1OUT
01010 SMT2 overflow Reserved
01001 Reserved SMT1 overflow
01000 TMR8 postscaled output TMR8 postscaled output
00111 TMR6 postscaled output TMR6 postscaled output
00110 TMR4 postscaled output TMR4 postscaled output
00101 TMR2 postscaled output TMR2 postscaled output
00100 TMR0 postscaled output TMR0 postscaled output
00011 SOSC SOSC
00010 MFINTOSC (31kHz) MFINTOSC (31kHz)
00001 LFINTOSC (31kHz) LFINTOSC (31kHz)
00000 Pin Selected by SMT1WINPSS Pin Selected by SMT2WINPSS