PIC18F2331/PIC18F2431/PIC18F4331/PIC18F4431 Data Sheet28/40/44-Pin Enhanced Flash Microcontrollers with nanoWatt Technology,High Performance PWM and A/DThis document contains device specific information forthe following devices:This family offers the advantages of all PIC18 microcontrollers– namely, high computational performanceat an economical price, with the addition of high enduranceenhanced Flash program memory and a highspeed10-bit A/D converter. On top of these features,the PIC18F2331/2431/4331/4431 family introducesdesign enhancements that make these microcontrollersa logical choice for many high performance, powercontrol and motor control applications. These specialperipherals include:• 14-bit resolution Power Control PWM Module(PCPWM) with programmable dead time insertion• Motion Feedback Module (MFM), including a3-channel Input Capture (IC) Module andQuadrature Encoder Interface (QEI)• High-speed 10-bit A/D Converter (HSADC)The PCPWM can generate up to eight complementaryPWM outputs with dead-band time insertion. Overdrivecurrent is detected by off-chip analog comparators orthe digital fault inputs (FLTA, FLTB).The MFM Quadrature Encoder Interface providesprecise rotor position feedback and/or velocitymeasurement. The MFM 3 X input capture or externalinterrupts can be used to detect the rotor state forelectrically commutated motor applications using HallSensor feedback, such as BLDC motor drives.PIC18F2331/2431/4331/4431 devices also featureFlash program memory and an internal RC oscillatorwith built-in LP modes.