PIC18LF8490-I/PT Microchip Technology, PIC18LF8490-I/PT Datasheet - Page 157

no-image

PIC18LF8490-I/PT

Manufacturer Part Number
PIC18LF8490-I/PT
Description
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,TQFP,80PIN,PLASTIC
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18LF8490-I/PT

Rohs Compliant
YES
Core Processor
PIC
Core Size
8-Bit
Speed
40MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, HLVD, LCD, POR, PWM, WDT
Number Of I /o
66
Program Memory Size
16KB (8K x 16)
Program Memory Type
FLASH
Ram Size
768 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 12x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
80-TFQFP
Processor Series
PIC18LF
Core
PIC
Data Bus Width
8 bit
Data Ram Size
768 B
Interface Type
SPI, I2C, EUSART, AUSART
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
66
Number Of Timers
1 x 8
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734, 52712-325, EWPIC18
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, ICE4000, DV164136, DM163028
Minimum Operating Temperature
- 40 C
On-chip Adc
12 bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18LF8490-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
14.4.3
The following steps should be taken when configuring
the CCP2 module for PWM operation:
1.
2.
TABLE 14-5:
© 2007 Microchip Technology Inc.
INTCON
RCON
PIR1
PIE1
IPR1
TRISC
TRISE
TMR2
PR2
T2CON
CCPR1L
CCPR1H
CCP1CON
CCPR2L
CCPR2H
CCP2CON
Legend: — = unimplemented, read as ‘0’. Shaded cells are not used by PWM or Timer2.
Name
Set the PWM period by writing to the PR2
register.
Set the PWM duty cycle by writing to the
CCPR2L register and CCP2CON<5:4> bits.
SETUP FOR PWM OPERATION
PORTC Data Direction Register
PORTE Data Direction Register
Timer2 Register
Timer2 Period Register
Capture/Compare/PWM Register 1 Low Byte
Capture/Compare/PWM Register 1 High Byte
Capture/Compare/PWM Register 2 Low Byte
Capture/Compare/PWM Register 2 High Byte
GIE/GIEH PEIE/GIEL
IPEN
Bit 7
REGISTERS ASSOCIATED WITH PWM AND TIMER2
T2OUTPS3 T2OUTPS2 T2OUTPS1 T2OUTPS0 TMR2ON T2CKPS1 T2CKPS0
SBOREN
ADIF
ADIE
ADIP
Bit 6
TMR0IE
DC1B1
DC2B1
RC1IF
RC1IE
RC1IP
Bit 5
PIC18F6390/6490/8390/8490
INT0IE
DC1B0
DC2B0
TX1IF
TX1IE
TX1IP
Bit 4
RI
CCP1M3
CCP2M3
3.
4.
5.
SSPIE
SSPIP
SSPIF
RBIE
Bit 3
TO
Make the CCP2 pin an output by clearing the
appropriate TRIS bit.
Set the TMR2 prescale value, then enable
Timer2 by writing to T2CON.
Configure the CCP2 module for PWM operation.
CCP1M2 CCP1M1 CCP1M0
CCP2M2 CCP2M1 CCP2M0
TMR0IF
CCP1IE
CCP1IP
CCP1IF
Bit 2
PD
TMR2IE
TMR2IP
TMR2IF
INT0IF
Bit 1
POR
TMR1IE
TMR1IP
TMR1IF
DS39629C-page 155
RBIF
Bit 0
BOR
on Page
Values
Reset
60
62
62
60
60
60
61
61
61
61
61
61
59
61
61
61

Related parts for PIC18LF8490-I/PT