PIC18F25J50 MICROCHIP [Microchip Technology], PIC18F25J50 Datasheet - Page 247

no-image

PIC18F25J50

Manufacturer Part Number
PIC18F25J50
Description
28/44-Pin, Low-Power, High-Performance USB Microcontrollers with nanoWatt XLP Technology
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F25J50-I/SO
Manufacturer:
MICROCHIP
Quantity:
1 001
Part Number:
PIC18F25J50-I/SP
Manufacturer:
MICROCHIP
Quantity:
1 001
Part Number:
PIC18F25J50-I/SS
Manufacturer:
MICROCHIP
Quantity:
1 001
Part Number:
PIC18F25J50T-I/SO
Manufacturer:
MICROCHIP
Quantity:
1 001
Part Number:
PIC18F25J50T-I/SS
Manufacturer:
MICROCHIP
Quantity:
1 001
In addition to the expanded range of modes available
through the CCPxCON and ECCPxAS registers, the
ECCP modules have two additional registers associated
with Enhanced PWM operation and auto-shutdown
features. They are:
• ECCPxDEL (Enhanced PWM Control)
• PSTRxCON (Pulse Steering Control)
18.1
The Enhanced CCP module may have up to four PWM
outputs, depending on the selected operating mode.
These outputs, designated PxA through PxD, are
routed through the Peripheral Pin Select (PPS)
module. Therefore, individual functions may be
mapped to any of the remappable I/O pins, RPn. The
outputs that are active depend on the ECCP operating
mode selected. The pin assignments are summarized
in
To configure the I/O pins as PWM outputs, the proper
PWM mode must be selected by setting the PxM<1:0>
and CCPxM<3:0> bits. The appropriate TRIS direction
bits for the port pins must also be set as outputs and the
output functions need to be assigned to I/O pins in the
PPS module. (For details on configuring the module,
see
 2011 Microchip Technology Inc.
Table
Section 10.7 “Peripheral Pin Select
18-4.
ECCP Outputs and Configuration
(PPS)”.)
PIC18F46J50 FAMILY
18.1.1
The ECCP modules utilize Timers 1, 2, 3 or 4, depending
on the mode selected. Timer1 and Timer3 are available
to modules in Capture or Compare modes, while Timer2
and Timer4 are available for modules in PWM mode.
TABLE 18-1:
The assignment of a particular timer to a module is
determined by the Timer-to-ECCP enable bits in the
TCLKCON register
between the two modules are depicted in
Capture operations are designed to be used when the
timer is configured for Synchronous Counter mode.
Capture operations may not work as expected if the
associated timer is configured for Asynchronous Counter
mode.
ECCP Mode
Compare
Capture
PWM
ECCP MODULE AND TIMER
RESOURCES
ECCP MODE – TIMER
RESOURCE
(Register
13-3). The interactions
Timer1 or Timer3
Timer1 or Timer3
Timer2 or Timer4
Timer Resource
DS39931D-page 247
Figure
18-1.

Related parts for PIC18F25J50