PIC18F2431-I/SO Microchip Technology, PIC18F2431-I/SO Datasheet - Page 172

IC PIC MCU FLASH 8KX16 28SOIC

PIC18F2431-I/SO

Manufacturer Part Number
PIC18F2431-I/SO
Description
IC PIC MCU FLASH 8KX16 28SOIC
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18F2431-I/SO

Program Memory Type
FLASH
Program Memory Size
16KB (8K x 16)
Package / Case
28-SOIC (7.5mm Width)
Core Processor
PIC
Core Size
8-Bit
Speed
40MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LVD, Power Control PWM, QEI, POR, PWM, WDT
Number Of I /o
24
Eeprom Size
256 x 8
Ram Size
768 x 8
Voltage - Supply (vcc/vdd)
4.2 V ~ 5.5 V
Data Converters
A/D 5x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC18F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
768 B
Interface Type
EUSART/I2C/SPI/SSP
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
24
Number Of Timers
4
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734, 52712-325, EWPIC18
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, ICE4000, DM183021, DV164136
Minimum Operating Temperature
- 40 C
On-chip Adc
5-ch x 10-bit
Package
28SOIC W
Device Core
PIC
Family Name
PIC18
Maximum Speed
40 MHz
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
XLT28SO-1 - SOCKET TRANSITION 28SOIC 300MILI3-DB18F4431 - BOARD DAUGHTER ICEPIC3
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F2431-I/SO
Manufacturer:
MICROCHIP
Quantity:
2 000
Part Number:
PIC18F2431-I/SO
Manufacturer:
NXP/恩智浦
Quantity:
20 000
PIC18F2331/2431/4331/4431
16.2
The Quadrature Encoder Interface (QEI) decodes
speed and motion sensor information. It can be used in
any application that uses a quadrature encoder for
feedback. The interface implements these features:
• Three QEI inputs: two phase signals (QEA and
• Direction of movement detection with a direction
• 16-bit up/down position counter
• Standard and high-precision position tracking
• Two position update modes (x2 and x4)
• Velocity measurement with a programmable
• Position counter interrupt (IC2QEIF in the PIR3
• Velocity control interrupt (IC1IF in the PIR3
The QEI sub-module has three main components: the
QEI control logic block, the position counter and
velocity postscaler.
FIGURE 16-8:
DS39616B-page 170
CAP3/QEB
CAP2/QEA
CAP1/INDX
QEB) and one index signal (INDX)
change interrupt (IC3DRIF)
modes
postscaler for high-speed velocity measurement
register)
register)
Quadrature Encoder Interface
QEI BLOCK DIAGRAM
Filter
Filter
Filter
QEB
QEA
INDX
Direction change
QEI
Control
Logic
Velocity Event
Preliminary
Timer reset
Direction
Clock
The QEI control logic detects the leading edge on the
QEA or QEB phase input pins, and generates the count
pulse which is sent to the position counter logic. It also
samples the index input signal (INDX), and generates
the direction of rotation signal (up/down) and the veloc-
ity event signals.
The position counter acts as an integrator for tracking
distance traveled. The QEA and QEB input edges
serve as the stimulus to create the input clock which
advances the Position Counter Register (POSCNT).
The register is incremented on either the QEA input
edge, or the QEA and QEB input edges, depending on
the operating mode. It is reset either by a rollover on
match to the Period Register, MAXCNT, or on the exter-
nal index pulse input signal (INDX). An interrupt is gen-
erated on a reset of POSCNT if the position counter
interrupt is enabled.
The velocity postscaler down-samples the velocity
pulses used to increment the velocity counter by a
specified ratio. It essentially divides down the number
of velocity pulses to one output per so many input, pre-
serving the pulse width in the process.
A simplified block-diagram of the QEI module is shown
in Figure 16-8.
QEI Module
Set CHGIF
Postscaler
POSCNT/CAP2BUF
MAXCNT/CAP3BUF
Position Counter
Comparator
 2003 Microchip Technology Inc.
Set UP/DOWN
Set IC2QEIF
Reset on match
Velocity Capture
Reset Timer5
8
8
8
8
8

Related parts for PIC18F2431-I/SO