PIC18F25J11-I/PT MICROCHIP [Microchip Technology], PIC18F25J11-I/PT Datasheet - Page 262

no-image

PIC18F25J11-I/PT

Manufacturer Part Number
PIC18F25J11-I/PT
Description
28/44-Pin, Low-Power, High-Performance Microcontrollers with nanoWatt XLP Technology
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
PIC18F46J11 FAMILY
FIGURE 17-18:
FIGURE 17-19:
FIGURE 17-20:
DS39932C-page 262
Note 1: Port outputs are configured as displayed when
P1<D:A>
PORT Data
PORT Data
PORT Data
PORT Data
STRn
P1<D:A>
PxA Signal
PWM
CCPxM1
CCPxM0
CCPxM1
CCPxM0
2: Single PWM output requires setting at least
STRn
PWM
STRA
STRB
STRC
STRD
the CCPxCON register bits, PxM<1:0> = 00
and CCP1M<3:2> = 11.
one of the STRx bits.
PORT Data
SIMPLIFIED STEERING
BLOCK DIAGRAM
EXAMPLE OF STEERING EVENT AT END OF INSTRUCTION (STRSYNC = 0)
EXAMPLE OF STEERING EVENT AT BEGINNING OF INSTRUCTION (STRSYNC = 1)
1
0
1
0
1
0
1
0
PORT Data
PWM Period
TRIS
TRIS
TRIS
TRIS
RPn pin
RPn pin
RPn pin
RPn pin
P1n = PWM
17.5.7.1
The STRSYNC bit of the PSTRxCON register gives the
user two selections of when the steering event will
happen. When the STRSYNC bit is ‘0’, the steering
event will happen at the end of the instruction that
writes to the PSTRxCON register. In this case, the out-
put signal at the Px<D:A> pins may be an incomplete
PWM waveform. This operation is useful when the user
firmware needs to immediately remove a PWM signal
from the pin.
When the STRSYNC bit is ‘1’, the effective steering
update will happen at the beginning of the next PWM
period. In this case, steering on/off the PWM output will
always produce a complete PWM waveform.
Figures 17-19 and 17-20 illustrate the timing diagrams
of the PWM steering depending on the STRSYNC
setting.
P1n = PWM
Steering Synchronization
PORT Data
© 2009 Microchip Technology Inc.
PORT Data

Related parts for PIC18F25J11-I/PT