Specifications
© 2008-2012 Microchip Technology Inc. DS70323E-page 43-25
Section 43. High-Speed PWM
High-Speed PWM
43
Register 43-22: FCLCONx: PWM Fault Current-Limit Control Register
R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0
IFLTMOD CLSRC<4:0>
(2,4)
CLPOL
(1)
CLMOD
bit 15 bit 8
R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0
FLTSRC<4:0>
(3,4)
FLTPOL
(1)
FLTMOD<1:0>
bit 7 bit 0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
bit 15 IFLTMOD: Independent Fault Mode Enable bit
1 = Independent Fault mode: Current-limit input maps FLTDAT<1> to PWMxH output, and Fault input
maps FLTDAT<0> to PWMxL output. The CLDAT<1:0> bits are not used for override functions
0 = Normal Fault mode: Current-Limit mode maps CLDAT<1:0> bits to the PWMxH and PWMxL
outputs. The PWM Fault mode maps FLTDAT<1:0> to the PWMxH and PWMxL outputs
bit 14-10 CLSRC<4:0>: Current-Limit Control Signal Source Select bits for PWM Generator #
(2,4)
These bits also specify the source for the dead-time compensation input signal, DTCMPx.
For devices with remappable I/O:
11111 = Reserved
•
•
•
01000 = Reserved
00111 = Fault 8
00110 = Fault 7
•
•
•
00001 = Fault 2
00000 = Fault 1
For devices without remappable I/O:
11111 = Reserved
11110 = Fault 23
•
•
•
01001 = Fault 2
01000 = Fault 1
00111 = Reserved
00110 = Reserved
00101 = Reserved
00100 = Reserved
00011 = Analog Comparator 4
00010 = Analog Comparator 3
00001 = Analog Comparator 2
00000 = Analog Comparator 1
Note 1: These bits should be changed only when PTEN = 0.
2: When Independent Fault mode is enabled (IFLTMOD = 1), and Fault 1 is used for Current-limit mode
(CLSRC<4:0> = ‘b0000), the Fault Control Source Select bits (FLTSRC<4:0>) should be set to an
unused Fault source to prevent Fault 1 from disabling both the PWMxL and PWMxH outputs.
3: When Independent Fault mode is enabled (IFLTMOD = 1) and Fault 1 is used for Fault mode
(FLTSRC<4:0> = ‘b0000), the Current-limit Control Source Select bits (CLSRC<4:0>) should be set to an
unused current-limit source to prevent the current-limit source from disabling both the PWMxH and
PWMxL outputs.
4: Refer to the “Pin Diagrams” section in the specific device data sheet for more details on the number of
available Fault pins.