PIC18LF1330-I/SO Microchip Technology, PIC18LF1330-I/SO Datasheet - Page 125
![IC PIC MCU FLASH 4KX16 18SOIC](/photos/6/76/67656/150-18-soic_sml.jpg)
PIC18LF1330-I/SO
Manufacturer Part Number
PIC18LF1330-I/SO
Description
IC PIC MCU FLASH 4KX16 18SOIC
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)
6.PIC18F1230-IP.pdf
(312 pages)
Specifications of PIC18LF1330-I/SO
Core Size
8-Bit
Program Memory Size
8KB (4K x 16)
Oscillator Type
Internal
Core Processor
PIC
Speed
40MHz
Connectivity
UART/USART
Peripherals
Brown-out Detect/Reset, LVD, POR, PWM, WDT
Number Of I /o
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
Operating Temperature
-40°C ~ 85°C
Package / Case
18-SOIC (7.5mm Width)
Controller Family/series
PIC18
No. Of I/o's
16
Eeprom Memory Size
128Byte
Ram Memory Size
256Byte
Cpu Speed
40MHz
No.
RoHS Compliant
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
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18LF1330-I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
- PIC16F616T-ISL PDF datasheet
- AC162078 PDF datasheet #2
- PIC18F1230-ISO PDF datasheet #3
- PIC18F1230-ISO PDF datasheet #4
- PIC18F1230-ISO PDF datasheet #5
- PIC18F1230-IP PDF datasheet #6
- Current page: 125 of 312
- Download datasheet (6Mb)
13.5
The PWM period is defined by the PTPER register pair
(PTPERL and PTPERH). The PWM period has 12-bit
resolution by combining 4 LSBs of PTPERH and 8 bits
of PTPERL. PTPER is a double-buffered register used
to set the counting period for the PWM time base.
The PTPER buffer contents are loaded into the PTPER
register at the following times:
• Free-Running and Single-Shot modes: When the
• Continuous Up/Down Count modes: When the
The PWM period can be calculated from the following
formulas:
EQUATION 13-1:
EQUATION 13-2:
The PWM frequency is the inverse of period; or
EQUATION 13-3:
© 2007 Microchip Technology Inc.
PTMR register is reset to zero after a match with the
PTPER register.
PTMR register is zero. The value held in the PTPER
buffer is automatically loaded into the PTPER
register when the PWM time base is disabled
(PTEN = 0). Figure 13-9 and Figure 13-10 indicate
the times when the contents of the PTPER buffer
are loaded into the actual PTPER register.
PWM Period
T
T
PWM Frequency =
PWM
PWM
=
=
(PTPER + 1) x PTMRPS
(2 x PTPER) x PTMRPS
PWM PERIOD FOR
FREE-RUNNING MODE
PWM PERIOD FOR
CONTINUOUS UP/DOWN
COUNT MODE
PWM FREQUENCY
F
F
OSC
PWM Period
OSC
4
/4
1
Advance Information
The maximum resolution (in bits) for a given device
oscillator and PWM frequency can be determined from
the following formula:
EQUATION 13-4:
The PWM resolutions and frequencies are shown for a
selection of execution speeds and PTPER values in
Table 13-2. The PWM frequencies in Table 13-2 are
calculated for Edge-Aligned PWM mode. For Center-
Aligned
approximately one-half the values indicated in this
table.
TABLE 13-2:
40 MHz
40 MHz
40 MHz
40 MHz
40 MHz
40 MHz
40 MHz
40 MHz
40 MHz
25 MHz
25 MHz
25 MHz
10 MHz
10 MHz
10 MHz
Note:
5 MHz
5 MHz
5 MHz
4 MHz
4 MHz
4 MHz
F
OSC
PIC18F1230/1330
mode,
For
frequencies will be approximately 1/2 the
value indicated in the table.
MIPS
6.25
6.25
6.25
1.25
1.25
1.25
PWM Frequency = 1/T
2.5
2.5
2.5
10
10
10
10
10
10
10
10
10
1
1
1
Resolution =
EXAMPLE PWM
FREQUENCIES AND
RESOLUTIONS
center-aligned
the
PTPER
0FFFh
07FFh
03FFh
01FFh
0FFFh
03FFh
0FFFh
03FFh
0FFFh
0FFFh
03FFh
03FFh
Value
FFh
7Fh
3Fh
1Fh
0Fh
FFh
FFh
FFh
FFh
PWM RESOLUTION
PWM
log
Resolution
log(2)
14 bits
13 bits
12 bits
10 bits
14 bits
12 bits
10 bits
14 bits
12 bits
10 bits
14 bits
12 bits
10 bits
14 bits
12 bits
10 bits
11 bits
PWM
9 bits
8 bits
7 bits
6 bits
frequencies
F
F
PWM
OSC
operation,
DS39758C-page 123
PWM
Frequency
156.2 kHz
312.5 kHz
19.5 kHz
39.0 kHz
78.1 kHz
24.4 kHz
625 kHz
2.4 kHz
4.9 kHz
9.8 kHz
1.5 kHz
6.1 kHz
2.4 kHz
9.8 kHz
1.2 kHz
4.9 kHz
3.9 kHz
610 Hz
305 Hz
244 Hz
976 Hz
PWM
will
PWM
be
Related parts for PIC18LF1330-I/SO
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: