PIC18F24 MICROCHIP [Microchip Technology], PIC18F24 Datasheet - Page 142

no-image

PIC18F24

Manufacturer Part Number
PIC18F24
Description
28/40-Pin High-Performance, Enhanced Flash Microcontrollers with CAN Module
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F2410-E/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F2410-I/ML
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F2410-I/S0
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F2410-I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F2410-I/SP
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F2410T-I/ML
Manufacturer:
MIC
Quantity:
1 831
Part Number:
PIC18F242-E/SP
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
PIC18F242-I/SO
Manufacturer:
SKYWORKSS
Quantity:
101
Company:
Part Number:
PIC18F242-I/SO
Quantity:
9
Company:
Part Number:
PIC18F242-I/SP
Quantity:
14
Part Number:
PIC18F2420-I/SO
Manufacturer:
MICROCHIP
Quantity:
1 560
Part Number:
PIC18F2420-I/SO
0
Part Number:
PIC18F2423-I/SP
Manufacturer:
MICROCHIP
Quantity:
1 290
16.5.4
In half-bridge or full-bridge applications, where all
power switches are modulated at the PWM frequency
at all times, the power switches normally require longer
time to turn off than to turn on. If both the upper and
lower power switches are switched at the same time
(one turned on and the other turned off), both switches
will be on for a short period of time until one switch
completely turns off. During this time, a very high
current (shoot-through current) flows through both
power switches, shorting the bridge supply. To avoid
this potentially destructive shoot-through current from
flowing during switching, turning on the power switch is
normally delayed to allow the other switch to
completely turn off.
In the Half-Bridge Output mode, a digitally programmable
dead-band delay is available to avoid shoot-through
current from destroying the bridge power switches. The
delay occurs at the signal transition from the non-active
state to the active state. See Figure 16-3 for illustration.
The ECCP1DEL register (Register 16-2) sets the amount
of delay.
16.5.5
When the ECCP module is used in the PWM mode, the
application hardware must use the proper external pull-
up and/or pull-down resistors on the PWM output pins.
When the microcontroller powers up, all of the I/O pins
are in the high-impedance state. The external pull-up
and pull-down resistors must keep the power switch
REGISTER 16-2:
DS41159D-page 140
PIC18FXX8
bit 7-0
PROGRAMMABLE DEAD-BAND
DELAY
SYSTEM IMPLEMENTATION
ECCP1DEL: PWM DELAY REGISTER
EPDC<7:0>: PWM Delay Count for Half-Bridge Output Mode bits
Number of F
bit 7
Legend:
R = Readable bit
-n = Value at POR
EPDC7
R/W-0
OSC
EPDC6
R/W-0
/4 (T
OSC
EPDC5
*
R/W-0
4) cycles between the P1A transition and the P1B transition.
W = Writable bit
‘1’ = Bit is set
EPDC4
R/W-0
devices in the off state until the microcontroller drives
the I/O pins with the proper signal levels, or activates
the PWM output(s).
16.5.6
Prior to enabling the PWM outputs, the P1A, P1B, P1C
and P1D latches may not be in the proper states.
Enabling the TRISD bits for output at the same time
with the ECCP1 module may cause damage to the
power switch devices. The ECCP1 module must be
enabled in the proper output mode with the TRISD bits
enabled as inputs. Once the ECCP1 completes a full
PWM cycle, the P1A, P1B, P1C and P1D output
latches are properly initialized. At this time, the TRISD
bits can be enabled for outputs to start driving the
power switch devices. The completion of a full PWM
cycle is indicated by the TMR2IF bit going from a ‘0’ to
a ‘1’.
16.5.7
The ECCP1M<1:0> bits in the ECCP1CON register
allow user to choose the logic conventions (asserted
high/low) for each of the outputs.
The PWM output polarities must be selected before the
PWM outputs are enabled. Charging the polarity
configuration while the PWM outputs are active is not
recommended since it may result in unpredictable
operation.
EPDC3
R/W-0
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
START-UP CONSIDERATIONS
OUTPUT POLARITY
CONFIGURATION
EPDC2
R/W-0
 2004 Microchip Technology Inc.
x = Bit is unknown
EPDC1
R/W-0
EPDC0
R/W-0
bit 0

Related parts for PIC18F24