PIC18LF1330-I/ML Microchip Technology, PIC18LF1330-I/ML Datasheet - Page 311
![Microcontroller](/photos/6/81/68120/150-28-qfn_sml.jpg)
PIC18LF1330-I/ML
Manufacturer Part Number
PIC18LF1330-I/ML
Description
Microcontroller
Manufacturer
Microchip Technology
Series
PIC® 18Fr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.AC162078.pdf
(318 pages)
3.PIC18F1230-ISO.pdf
(6 pages)
4.PIC18F1230-ISO.pdf
(12 pages)
5.PIC18F1230-ISO.pdf
(4 pages)
Specifications of PIC18LF1330-I/ML
Core Processor
PIC
Core Size
8-Bit
Speed
40MHz
Connectivity
UART/USART
Peripherals
Brown-out Detect/Reset, LVD, POR, PWM, WDT
Number Of I /o
16
Program Memory Size
8KB (4K x 16)
Program Memory Type
FLASH
Eeprom Size
128 x 8
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 4x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
28-VQFN Exposed Pad, 28-HVQFN, 28-SQFN, 28-DHVQFN
Processor Series
PIC18LF
Core
PIC
Data Bus Width
8 bit
Data Ram Size
256 B
Interface Type
EUSART
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
16
Number Of Timers
2
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, DV164136
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit, 4 Channel
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
Oscillator Transitions ......................................................... 27
Oscillator, Timer1 ............................................................. 111
P
Packaging ........................................................................ 295
PICSTART Plus Development Programmer .................... 214
PIE Registers ................................................................... 100
Pin Functions
Pinout I/O Descriptions
PIR Registers ..................................................................... 98
PLL Frequency Multiplier ................................................... 23
POP ................................................................................. 244
POR. See Power-on Reset.
PORTA
PORTB
Power Control PWM ........................................................ 117
Power-Managed Modes ..................................................... 31
2009 Microchip Technology Inc.
Details ...................................................................... 296
Marking Information ................................................. 295
AV
AV
MCLR/V
NC .............................................................................. 16
RA0/AN0/INT0/KBI0/CMP0 ....................................... 14
RA1/AN1/INT1/KBI1 .................................................. 14
RA2/TX/CK ................................................................ 14
RA3/RX/DT ................................................................ 14
RA4/T0CKI/AN2//V
RA6/OSC2/CLKO/T1OSO/T1CKI/AN3 ...................... 13
RA7/OSC1/CLKI/T1OSI/FLTA ................................... 13
RB0/PWM0 ................................................................ 15
RB1/PWM1 ................................................................ 15
RB2/INT2/KBI2/CMP2/T1OSO/T1CKI ....................... 15
RB3/INT3/KBI3/CMP1/T1OSI .................................... 15
RB4/PWM2 ................................................................ 15
RB5/PWM3 ................................................................ 15
RB6/PWM4/PGC ....................................................... 15
RB7/PWM5/PGD ....................................................... 15
V
V
PIC18F1230/1330 ...................................................... 13
HSPLL Oscillator Mode .............................................. 23
Use with INTOSC ....................................................... 23
Associated Registers ................................................. 89
LATA Register ............................................................ 87
PORTA Register ........................................................ 87
TRISA Register .......................................................... 87
Associated Registers ................................................. 92
Interrupt-on-Change Flag (RBIF Bit) .......................... 90
LATB Register ............................................................ 90
PORTB Register ........................................................ 90
TRISB Register .......................................................... 90
Associated Registers ............................................... 145
Control Registers ..................................................... 120
Functionality ............................................................. 120
and A/D Operation ................................................... 176
Clock Sources ............................................................ 31
Clock Transitions and Status Indicators ..................... 32
Effects on Clock Sources ........................................... 29
Entering ...................................................................... 31
Exiting Idle and Sleep Modes .................................... 37
Idle Modes ................................................................. 35
DD
SS
DD
SS
............................................................................. 16
By Interrupt ........................................................ 37
By Reset ............................................................ 37
By WDT Time-out .............................................. 37
Without an Oscillator Start-up Delay .................. 38
............................................................................ 16
.......................................................................... 16
.......................................................................... 16
PP
/RA5/FLTA ................................................ 13
REF
+ ............................................. 14
Power-on Reset (POR) ...................................................... 41
Power-up Delays ............................................................... 29
Power-up Timer (PWRT) ................................................... 29
Prescaler, Timer0 ............................................................ 109
PRI_IDLE Mode ................................................................. 36
PRI_RUN Mode ................................................................. 32
Program Counter ............................................................... 52
Program Memory
Program Verification ........................................................ 207
Programming, Device Instructions ................................... 215
PUSH ............................................................................... 244
PUSH and POP Instructions .............................................. 53
PUSHL ............................................................................. 260
PWM
PWM Dead-Time
PWM Duty Cycle .............................................................. 131
PWM Output Override ..................................................... 138
PWM Period ..................................................................... 129
PWM Time Base .............................................................. 120
Multiple Sleep Commands ......................................... 32
Run Modes ................................................................ 32
Selecting .................................................................... 31
Sleep Mode ............................................................... 35
Summary (table) ........................................................ 31
Time-out Sequence ................................................... 43
PCL, PCH and PCU Registers .................................. 52
PCLATH and PCLATU Registers .............................. 52
and Extended Instruction Set .................................... 69
Instructions ................................................................ 56
Interrupt Vector .......................................................... 51
Look-up Tables .......................................................... 54
Map and Stack (diagram) .......................................... 51
Reset Vector .............................................................. 51
Fault Input ................................................................ 142
Output and Polarity Control ..................................... 141
Single-Pulse Operation ............................................ 138
Special Event Trigger .............................................. 144
Update Lockout ....................................................... 144
Decrementing the Counter ...................................... 136
Distortion ................................................................. 137
Generators ............................................................... 135
Insertion ................................................................... 135
Ranges .................................................................... 136
Center-Aligned ......................................................... 133
Complementary Operation ...................................... 134
Edge-Aligned ........................................................... 132
Register Buffers ....................................................... 132
Registers ................................................................. 131
Complementary Mode ............................................. 138
Examples ................................................................. 140
Synchronization ....................................................... 138
Continuous Up/Down Count Modes ........................ 125
Free-Running Mode ................................................. 125
Interrupts ................................................................. 125
PRI_IDLE .......................................................... 36
RC_IDLE ........................................................... 37
SEC_IDLE ......................................................... 36
PRI_RUN ........................................................... 32
RC_RUN ............................................................ 33
SEC_RUN ......................................................... 32
Two-Word .......................................................... 56
In Continuous Up/Down Count Mode .............. 126
In Double Update Mode ................................... 128
In Free-Running Mode ..................................... 125
In Single-Shot Mode ........................................ 126
PIC18F1230/1330
DS39758D-page 311