PIC18LF1330-I/SO Microchip Technology, PIC18LF1330-I/SO Datasheet - Page 141

IC PIC MCU FLASH 4KX16 18SOIC

PIC18LF1330-I/SO

Manufacturer Part Number
PIC18LF1330-I/SO
Description
IC PIC MCU FLASH 4KX16 18SOIC
Manufacturer
Microchip Technology
Series
PIC® 18Fr

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
FIGURE 14-21:
TABLE 14-4:
TABLE 14-5:
FIGURE 14-22:
 2009 Microchip Technology Inc.
PWM5
PWM4
PWM3
PWM2
PWM1
PWM0
State
State
1
2
3
4
1
2
3
4
5
6
PWM5
PWM4
PWM3
PWM2
PWM1
PWM0
OVDCOND (POVD)
OVDCOND (POVD)
1
00000011b
00110000b
00111100b
00001111b
00000000b
00000000b
00000000b
00000000b
00000000b
00000000b
PWM OUTPUT OVERRIDE
EXAMPLE #1
PWM OUTPUT OVERRIDE
EXAMPLE #2
2
1
PWM OUTPUT OVERRIDE
EXAMPLE #1
PWM OUTPUT OVERRIDE
EXAMPLE #2
3
2
4
OVDCONS (POUT)
OVDCONS (POUT)
3
00000000b
00000000b
00000000b
00000000b
00100100b
00100001b
00001001b
00011000b
00010010b
00000110b
5
4
6
14.11 PWM Output and Polarity Control
There are three device Configuration bits associated
with the PWM module that provide PWM output pin
control defined in the CONFIG3L register. They are:
• HPOL
• LPOL
• PWMPIN
These three Configuration bits work in conjunction with
the three PWM Enable bits (PWMEN2:PWMEN0) in
the PWMCON0 register. The Configuration bits and
PWM enable bits ensure that the PWM pins are in the
correct states after a device Reset occurs.
14.11.1
The PWMEN2:PWMEN0 control bits enable each
PWM output pin as required in the application.
All PWM I/O pins are general purpose I/O. When a pair
of pins is enabled for PWM output, the PORT and TRIS
registers controlling the pins are disabled. Refer to
Figure 14-23 for details.
14.11.2
The polarity of the PWM I/O pins is set during device
programming via the HPOL and LPOL Configuration
bits in the CONFIG3L register. The HPOL Configura-
tion bit sets the output polarity for the high side PWM
outputs: PWM1, PWM3 and PWM5. The polarity is
active-high when HPOL is set (= 1) and active-low
when it is cleared (= 0).
The LPOL Configuration bit sets the output polarity for
the low side PWM outputs: PWM0, PWM2 and PWM4.
As with HPOL, they are active-high when LPOL is set
and active-low when cleared.
All output signals generated by the PWM module are
referenced to the polarity control bits, including those
generated by Fault inputs or manual override (see
Section 14.10 “PWM Output Override”).
The default polarity Configuration bits have the PWM
I/O pins in active-high output polarity.
PIC18F1230/1330
OUTPUT PIN CONTROL
OUTPUT POLARITY CONTROL
DS39758D-page 141

Related parts for PIC18LF1330-I/SO