PIC18F67K90-E/PT Microchip Technology, PIC18F67K90-E/PT Datasheet - Page 249
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
PIC18F67K90-E/PT
Manufacturer Part Number
PIC18F67K90-E/PT
Description
128kB Flash, 4kB RAM, 1kB EE, NanoWatt XLP, LCD 64 TQFP 10x10x1mm TRAY
Manufacturer
Microchip Technology
Series
PIC® XLP™ 18Fr
Datasheet
1.PIC18F66K90-IMR.pdf
(570 pages)
Specifications of PIC18F67K90-E/PT
Core Processor
PIC
Core Size
8-Bit
Speed
64MHz
Connectivity
I²C, LIN, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LCD, POR, PWM, WDT
Number Of I /o
53
Program Memory Size
128KB (64K x 16)
Program Memory Type
FLASH
Eeprom Size
1K x 8
Ram Size
4K x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 16x12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
64-TQFP
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC18F67K90-E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
- Current page: 249 of 570
- Download datasheet (5Mb)
18.4.3
To configure the CCP module for PWM operation (with
CCP4 as an example):
1.
2.
TABLE 18-7:
2009-2011 Microchip Technology Inc.
INTCON
RCON
PIR4
PIE4
IPR4
TRISB
TRISC
TRISE
TRISH
TMR2
TMR4
TMR6
TMR8
PR2
PR4
PR6
PR8
T2CON
T4CON
T6CON
T8CON
CCPR4L
CCPR4H
CCPR5L
CCPR5H
CCPR6L
CCPR6H
CCPR7L
CCPR7H
CCPR8L
CCPR8H
CCPR9L
CCPR9H
CCPR10L
Legend:
Note 1:
Name
Set the PWM period by writing to the PR2
register.
Set the PWM duty cycle by writing to the
CCPR4L register and CCP4CON<5:4> bits.
(1)
(1)
(1)
— = unimplemented, read as ‘0’. Shaded cells are not used by PWM or Timer2/4/6/8.
Unimplemented in devices with a program memory of 32 Kbytes (PIC18FX5K90).
SETUP FOR PWM OPERATION
Timer2 Register
Timer4 Register
Timer6 Register
Timer8 Register
Timer2 Period Register
Timer4 Period Register
Timer6 Period Register
Timer8 Period Register
Capture/Compare/PWM Register 4 Low Byte
Capture/Compare/PWM Register 4 High Byte
Capture/Compare/PWM Register 5 Low Byte
Capture/Compare/PWM Register 5 High Byte
Capture/Compare/PWM Register 6 Low Byte
Capture/Compare/PWM Register 6 High Byte
Capture/Compare/PWM Register 7 Low Byte
Capture/Compare/PWM Register 7 High Byte
Capture/Compare/PWM Register 8 Low Byte
Capture/Compare/PWM Register 8 High Byte
Capture/Compare/PWM Register 9 Low Byte
Capture/Compare/PWM Register 9 High Byte
Capture/Compare/PWM Register 10 Low Byte
CCP10IF
CCP10IE
CCP10IP
GIE/GIEH
TRISC7
TRISH7
TRISB7
TRISE7
IPEN
REGISTERS ASSOCIATED WITH PWM AND TIMERS
Bit 7
—
—
—
—
(1)
(1)
(1)
T2OUTPS3 T2OUTPS2 T2OUTPS1 T2OUTPS0 TMR2ON
T4OUTPS3 T4OUTPS2 T4OUTPS1 T4OUTPS0 TMR4ON
T6OUTPS3 T6OUTPS2 T6OUTPS1 T6OUTPS0 TMR6ON
T8OUTPS3 T8OUTPS2 T8OUTPS1 T8OUTPS0 TMR8ON
PEIE/GIEL
CCP9IE
CCP9IP
CCP9IF
SBOREN
TRISC6
TRISH6
TRISB6
TRISE6
Bit 6
(1)
(1)
(1)
TMR0IE
CCP8IF
CCP8IE
CCP8IP
TRISB5
TRISC5
TRISE5
TRISH5
Bit 5
CM
CCP7IF
CCP7IE
CCP7IP
TRISC4
TRISH4
TRISB4
TRISE4
INT0IE
Bit 4
RI
PIC18F87K90 FAMILY
3.
4.
5.
CCP6IE
CCP6IP
CCP6IF
TRISB3
TRISC3
TRISE3
TRISH3
RBIE
Bit 3
TO
Make the CCP4 pin an output by clearing the
appropriate TRIS bit.
Set the TMR2 prescale value, then enable
Timer2 by writing to T2CON.
Configure the CCP4 module for PWM operation.
TMR0IF
CCP5IF
CCP5IE
CCP5IP
TRISB2
TRISC2
TRISE2
TRISH2
Bit 2
PD
T2CKPS1
T4CKPS1
T6CKPS1
T8CKPS1
CCP4IE
CCP4IP
CCP4IF
TRISB1
TRISC1
TRISE1
TRISH1
INT0IF
Bit 1
POR
T2CKPS0
T4CKPS0
T6CKPS0
T8CKPS0
DS39957D-page 249
CCP3IF
CCP3IE
CCP3IP
TRISC0
TRISH0
TRISB0
TRISE0
RBIF
Bit 0
BOR
on Page:
Values
Reset
75
76
77
77
77
78
78
78
78
76
82
81
81
76
82
81
81
76
82
81
81
82
82
82
82
82
82
82
82
80
80
80
80
81
Related parts for PIC18F67K90-E/PT
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![TC1014-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1014-5.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.5VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.8VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-4.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1186-2.5VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1186-2.85VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet: