PIC18F23K22-I/ML Microchip Technology Inc., PIC18F23K22-I/ML Datasheet - Page 195

no-image

PIC18F23K22-I/ML

Manufacturer Part Number
PIC18F23K22-I/ML
Description
8KB, FLASH, 768BYTES-RAM, 8-BIT FAMILY, NANOWATT XLP, 28 QFN 6X6MM TUBE
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC18F23K22-I/ML

A/d Inputs
17-Channel, 10-Bit
Comparators
2
Cpu Speed
16 MIPS
Eeprom Memory
1K Bytes
Input Output
24
Interface
I2C/SPI/UART/USART
Memory Type
Flash
Number Of Bits
8
Package Type
28-pin QFN
Programmable Memory
8K Bytes
Ram Size
512 Bytes
Speed
48 MHz
Temperature Range
–40 to 125 °C
Timers
1-8-bit, 3-16-bit
Voltage, Range
1.8-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part
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 PIC18F23K22-I/ML