PIC18F2431-I/SP Microchip Technology Inc., PIC18F2431-I/SP Datasheet - Page 208
PIC18F2431-I/SP
Manufacturer Part Number
PIC18F2431-I/SP
Description
Microcontroller; 16 KB Flash; 768 RAM; 256 EEPROM; 24 I/O; 28-Pin-SPDIP
Manufacturer
Microchip Technology Inc.
Datasheet
1.PIC18F2431-ISP.pdf
(396 pages)
Specifications of PIC18F2431-I/SP
A/d Inputs
5-Channel, 10-Bit
Cpu Speed
10 MIPS
Eeprom Memory
256 Bytes
Input Output
24
Interface
I2C/SPI/USART
Memory Type
Flash
Number Of Bits
8
Package Type
28-pin SPDIP
Programmable Memory
16K Bytes
Ram Size
768 Bytes
Speed
40 MHz
Timers
1-8-bit, 3-16-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part
Electrostatic Device
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F2431-I/SP
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
- Current page: 208 of 396
- Download datasheet (8Mb)
PIC18F2331/2431/4331/4431
17.11.3
The PWMPIN configuration bit determines the PWM
output pins to be PWM output pins or digital I/O pins,
after the device comes out of reset. If the PWMPIN con-
figuration
PWMEN2:PWMEN0 control bits will be cleared on a
device Reset. Consequently, all PWM outputs will be
tri-stated and controlled by the corresponding PORT
and TRIS registers. If the PWMPIN configuration bit is
programmed low, the PWMEN2:PWMEN0 control bits
will be set as follows on a device Reset:
• PWMEN2:PWMEN0 = 101 if device has 8 PWM
• PWMEN2:PWMEN0 = 100 if device has 6 PWM
All PWM pins will be enabled for PWM output and will
have the output polarity defined by the HPOL and
LPOL configuration bits.
17.12 PWM Fault Inputs
There are two fault inputs associated with the PWM
module. The main purpose of the input fault pins is to
disable the PWM output signals and drive them into an
inactive state. The action of the fault inputs is
performed directly in hardware so that when a fault
occurs, it can be managed quickly and the PWMs
outputs are put into an inactive state to save the power
devices connected to the PWMs.
The PWM fault inputs are FLTA and FLTB, which can
come from I/O pins, the CPU or another module. The
FLTA and FLTB pins are active-low inputs so it is easy
to “OR” many sources to the same input.
The FLTCONFIG register (Register 17-8) defines the
settings of FLTA and FLTB inputs.
17.12.1
By setting the bits FLTAEN and FLTBEN in the
FLTCONFIG register, the corresponding fault inputs
are enabled. If both bits are cleared, then the fault
inputs have no effect on the PWM module.
DS39616B-page 206
pins (PIC18F4X31 devices)
pins (PIC18F2X31 devices)
Note:
PWM OUTPUT PIN RESET STATES
The inactive state of the PWM pins are
dependent on the HPOL and LPOL config-
uration bit settings, which defines the
active and inactive state for PWM outputs.
FAULT PIN ENABLE BITS
bit
is
unprogrammed
(default),
Preliminary
the
17.12.2
The FLTAMOD and FLTBMOD bits in the FLTCONFIG
register determine the modes of PWM I/O pins that are
deactivated when they are overridden by fault input.
FLTAS and FLTBS bits in the FLTCONFIG register give
the status of FaultA and FaultB inputs.
Each of the fault inputs have two modes of operation:
• Inactive Mode (FLTxMOD = 0)
• Cycle-by-Cycle Mode (FLTxMOD = 1)
This is a catastrophic Fault Management mode.
When the fault occurs in this mode, the PWM out-
puts are deactivated. The PWM pins will remain in
Inactivated mode until the fault is cleared (fault
input is driven high) and the corresponding fault
status bit has been cleared in software. The PWM
outputs are enabled immediately at the beginning
of the following PWM period, after Fault Status bit
(FLTxS) is cleared.
When the fault occurs in this mode, the PWM out-
puts are deactivated. The PWM outputs will
remain in the defined fault states (all PWM outputs
inactive) for as long as the fault pin is held low.
After the fault pin is driven high, the PWM outputs
will return to normal operation at the beginning of
the following PWM period, and the FLTS bit is
automatically cleared.
MFAULT INPUT MODES
2003 Microchip Technology Inc.
Related parts for PIC18F2431-I/SP
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
20-Pin USB Flash Microcontrollers
Manufacturer:
MICROCHIP [Microchip Technology]
Datasheet:
Part Number:
Description:
PIC18F With 128-segment LCD Driver And 12-bit ADC, 8KB Flash, 768B RAM, CCP, MSS
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
PIC18F With 128-segment LCD Driver And 12-bit ADC, 16KB Flash, 768B RAM, CCP, MS
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
PIC18F With 192-segment LCD Driver And 12-bit ADC, 8KB Flash, 768B RAM, CCP, MSS
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
PIC18F With 192-segment LCD Driver And 12-bit ADC, 16KB Flash, 768B RAM, CCP, MS
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
Microcontrollers (MCU) 48KB 3328 RAM 52 I/O
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
Microcontrollers (MCU) 64KB 3328 RAM 52 I/O
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
32kB Flash, 2kB RAM, 1kB EE, NanoWatt XLP, LCD 64 QFN 9x9x0.9mm T/R
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
32kB Flash, 2kB RAM, 1kB EE, NanoWatt XLP, LCD 64 TQFP 10x10x1mm T/R
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
128kB Flash, 4kB RAM, 1kB EE, 16MIPS, NanoWatt XLP, LCD, 5V 80 TQFP 12x12x1mm T/
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
32kB Flash, 2kB RAM, 1kB EE, NanoWatt XLP, LCD 64 QFN 9x9x0.9mm TUBE
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
32kB Flash, 2kB RAM, 1kB EE, NanoWatt XLP, LCD 64 TQFP 10x10x1mm TRAY
Manufacturer:
Microchip Technology
Part Number:
Description:
128kB Flash, 4kB RAM, 1kB EE, 16MIPS, NanoWatt XLP, LCD, 5V 80 TQFP 12x12x1mm TR
Manufacturer:
Microchip Technology