PIC18LF24K22-I/SS Microchip Technology, PIC18LF24K22-I/SS Datasheet - Page 195

IC PIC MCU 16KB FLASH 28SSOP

PIC18LF24K22-I/SS

Manufacturer Part Number
PIC18LF24K22-I/SS
Description
IC PIC MCU 16KB FLASH 28SSOP
Manufacturer
Microchip Technology
Series
PIC® XLP™ 18Fr
Datasheets

Specifications of PIC18LF24K22-I/SS

Core Size
8-Bit
Program Memory Size
16KB (8K x 16)
Core Processor
PIC
Speed
64MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, HLVD, POR, PWM, WDT
Number Of I /o
24
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
768 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 3.6 V
Data Converters
A/D 19x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
28-SSOP (0.200", 5.30mm Width)
Controller Family/series
PIC18
No. Of I/o's
25
Eeprom Memory Size
256Byte
Ram Memory Size
768Byte
Cpu Speed
64MHz
No. Of Timers
7
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
FIGURE 14-13:
14.4.3
The PWM mode supports an Auto-Shutdown mode that
will disable the PWM outputs when an external
shutdown event occurs. Auto-Shutdown mode places
the PWM output pins into a predetermined state. This
mode is used to help prevent the PWM from damaging
the application.
The auto-shutdown sources are selected using the
CCPxAS<2:0> bits of the ECCPxAS register. A
shutdown event may be generated by:
• A logic ‘0’ on the INT pin
• Comparator Cx
• Setting the CCPxASE bit in firmware
A shutdown condition is indicated by the CCPxASE
(Auto-Shutdown Event Status) bit of the ECCPxAS
register. If the bit is a ‘0’, the PWM pins are operating
normally. If the bit is a ‘1’, the PWM outputs are in the
shutdown state.
When a shutdown event occurs, two things happen:
The CCPxASE bit is set to ‘1’. The CCPxASE will
remain set until cleared in firmware or an auto-restart
occurs (see
The enabled PWM pins are asynchronously placed in
their shutdown states. The PWM output pins are
grouped into pairs [PxA/PxC] and [PxB/PxD]. The state
 2010 Microchip Technology Inc.
Shoot-Through Current
Note 1: All signals are shown as active-high.
External Switch C
External Switch D
2: T
3: T
ENHANCED PWM AUTO-
SHUTDOWN MODE
Section 14.4.4 “Auto-Restart
ON
OFF
Potential
is the turn-on delay of power switch QC and its driver.
is the turn-off delay of power switch QD and its driver.
PxA
PxB
PxC
PxD
EXAMPLE OF PWM DIRECTION CHANGE AT NEAR 100% DUTY CYCLE
Mode”).
Forward Period
PW
Preliminary
of each pin pair is determined by the PSSxAC<1:0> and
PSSxBD<1:0> bits of the ECCPxAS register. Each pin
pair may be placed into one of three states:
• Drive logic ‘1’
• Drive logic ‘0’
• Tri-state (high-impedance)
Note 1: The auto-shutdown condition is a level-
PIC18(L)F2X/4XK22
t1
2: Writing to the CCPxASE bit is disabled
3: Once the auto-shutdown condition has
based signal, not an edge-based signal.
As long as the level is present, the auto-
shutdown will persist.
while
persists.
been removed and the PWM restarted
(either through firmware or auto-restart),
the PWM signal will always restart at the
beginning of the next PWM period.
T
ON
Reverse Period
T
T = T
OFF
an
OFF
PW
– T
auto-shutdown
ON
DS41412D-page 195
condition

Related parts for PIC18LF24K22-I/SS