PIC18F258 MICROCHIP [Microchip Technology], PIC18F258 Datasheet - Page 132
PIC18F258
Manufacturer Part Number
PIC18F258
Description
High Performance, 28/40-Pin Enhanced FLASH Microcontrollers with CAN
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
1.PIC18F258.pdf
(384 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F258-E/SO
Manufacturer:
MIC
Quantity:
20 000
Company:
Part Number:
PIC18F258-I/P
Manufacturer:
ST
Quantity:
320
Company:
Part Number:
PIC18F258-I/SO
Manufacturer:
MICROCHIP
Quantity:
2 000
Part Number:
PIC18F258-I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F2580
Manufacturer:
MIC
Quantity:
20 000
Company:
Part Number:
PIC18F2580-E/ML
Manufacturer:
Microchip Technology
Quantity:
135
Company:
Part Number:
PIC18F2580-E/SO
Manufacturer:
Microchi
Quantity:
2 952
Company:
Part Number:
PIC18F2580-E/SP
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
PIC18F2580-I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
- Current page: 132 of 384
- Download datasheet (6Mb)
PIC18FXX8
16.1
Enhanced Capture/Compare/PWM Register1 (ECCPR1)
is comprised of two 8-bit registers: ECCPR1L (low
byte) and ECCPR1H (high byte). The ECCP1CON reg-
ister controls the operation of ECCP1; the additional
registers, ECCPAS and ECCP1DEL, control enhanced
PWM specific features. All registers are readable and
writable.
Table 16-1 shows the timer resources for the ECCP
module modes. Table 16-2 describes the interactions
of the ECCP module with the standard CCP module.
TABLE 16-2:
TABLE 16-3:
DS41159B-page 130
Conventional CCP Compatible
Dual Output PWM
Quad Output PWM
Legend: x = Don’t care. Shaded cells indicate pin assignments not used by ECCP in a given mode.
Note 1: In all cases, the appropriate TRISD bits must be cleared to make the corresponding pin an output.
ECCP1 Mode
Compare
Capture
Capture
PWM
PWM
PWM
2: In these modes, the PSP I/O control for PORTD is overridden by P1B, P1C and P1D.
ECCP1 Module
ECCP Mode
CCP1 Mode
INTERACTION OF CCP1 AND ECCP1 MODULES
PIN ASSIGNMENTS FOR VARIOUS ECCP MODES
(2)
Compare
Compare
Compare
(2)
Capture
Capture
PWM
(1)
TMR1 or TMR3 time-base. Time-base can be different for each CCP.
The compare could be configured for the special event trigger, which clears either
TMR1 or TMR3, depending upon which time-base is used.
The compare(s) could be configured for the special event trigger, which clears TMR1
or TMR3 depending upon which time-base is used.
The PWMs will have the same frequency and update rate (TMR2 interrupt).
None
None
Configuration
ECCP1CON
00xx11xx
10xx11xx
x1xx11xx
Preliminary
ECCP1
RD4
P1A
P1A
In PWM mode, the ECCP module can have up to four
available outputs, depending on which Operating mode
is selected. These outputs are multiplexed with PORTD
and the Parallel Slave Port. Both the Operating mode
and the output pin assignments are configured by setting
PWM Output Configuration bits EPWM1M1:EPWM1M0
(ECCP1CON<7:6>). The specific pin assignments for
the various Output modes are shown in Table 16-3.
TABLE 16-1:
Interaction
ECCP1 Mode
Compare
Capture
PWM
PSP<5>
RD<5>,
RD5
P1B
P1B
ECCP1 MODE - TIMER
RESOURCE
2002 Microchip Technology Inc.
PSP<6>
PSP<6>
RD<6>,
RD<6>,
RD6
P1C
Timer Resource
Timer1 or Timer3
Timer1 or Timer3
Timer2
PSP<7>
PSP<7>
RD<7>,
RD<7>,
RD7
P1D
Related parts for PIC18F258
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
20-Pin USB Flash Microcontrollers
Manufacturer:
MICROCHIP [Microchip Technology]
Datasheet:
Part Number:
Description:
PIC18F With 128-segment LCD Driver And 12-bit ADC, 8KB Flash, 768B RAM, CCP, MSS
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
PIC18F With 128-segment LCD Driver And 12-bit ADC, 16KB Flash, 768B RAM, CCP, MS
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
PIC18F With 192-segment LCD Driver And 12-bit ADC, 8KB Flash, 768B RAM, CCP, MSS
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
PIC18F With 192-segment LCD Driver And 12-bit ADC, 16KB Flash, 768B RAM, CCP, MS
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
Microcontrollers (MCU) 48KB 3328 RAM 52 I/O
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
Microcontrollers (MCU) 64KB 3328 RAM 52 I/O
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
32kB Flash, 2kB RAM, 1kB EE, NanoWatt XLP, LCD 64 QFN 9x9x0.9mm T/R
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
32kB Flash, 2kB RAM, 1kB EE, NanoWatt XLP, LCD 64 TQFP 10x10x1mm T/R
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
128kB Flash, 4kB RAM, 1kB EE, 16MIPS, NanoWatt XLP, LCD, 5V 80 TQFP 12x12x1mm T/
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
32kB Flash, 2kB RAM, 1kB EE, NanoWatt XLP, LCD 64 QFN 9x9x0.9mm TUBE
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
32kB Flash, 2kB RAM, 1kB EE, NanoWatt XLP, LCD 64 TQFP 10x10x1mm TRAY
Manufacturer:
Microchip Technology
Part Number:
Description:
128kB Flash, 4kB RAM, 1kB EE, 16MIPS, NanoWatt XLP, LCD, 5V 80 TQFP 12x12x1mm TR
Manufacturer:
Microchip Technology
Part Number:
Description:
IC, 8BIT MCU, PIC18F, 40MHZ, LCC-44
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC, 8BIT MCU, PIC18LF, 40MHZ, PLCC-64
Manufacturer:
Microchip Technology
Datasheet: