PIC18LF2431-I/SP Microchip Technology, PIC18LF2431-I/SP Datasheet - Page 160

IC MCU FLASH 8KX16 28-DIP

PIC18LF2431-I/SP

Manufacturer Part Number
PIC18LF2431-I/SP
Description
IC MCU FLASH 8KX16 28-DIP
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18LF2431-I/SP

Core Size
8-Bit
Program Memory Size
16KB (8K x 16)
Core Processor
PIC
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
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
768 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 5x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
28-DIP (0.300", 7.62mm)
Controller Family/series
PIC18
No. Of I/o's
24
Eeprom Memory Size
256Byte
Ram Memory Size
768Byte
Cpu Speed
40MHz
No. Of Timers
4
Processor Series
PIC18LF
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
1 x 8
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
Through Hole
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 bit
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
PIC18F2331/2431/4331/4431
17.1.8
The
(CAP1M<3:0> = 1110 or 1111) enables the Special
Event Trigger signal. The trigger signal can be used as
the Special Event Trigger Reset input to TMR5,
resetting the timer when the specific event happens on
IC1. The events are summarized in
TABLE 17-2:
TABLE 17-3:
DS39616D-page 160
Note 1:
CAP1M<3:0>
CAP1 0001-0100 Edge Capture
CAP2 0001-0100 Edge Capture
CAP3 0001-0100 Edge Capture
Pin
1110
1111
Special
2:
0110-0111 Pulse-Width
1110-1111 Special Event Trigger
0110-0111 Pulse-Width
0110-0111 Pulse-Width
CAPxM
Timer5 may be reset on capture events only when CAPxREN = 1.
Trigger mode will not reset Timer5 unless RESEN = 0 in the T5CON register.
SPECIAL EVENT TRIGGER
(CAP1 ONLY)
0101
1000
0101
1000
0101
1000
The trigger occurs on every falling
edge on the CAP1 input.
The trigger occurs on every rising
edge on the CAP1 input.
Event
SPECIAL EVENT TRIGGER
INPUT CAPTURE TIME BASE RESET SUMMARY
Period Measurement
Measurement
Input Capture on State
Change
(rising or falling edge)
Period Measurement
Measurement
Input Capture on State
Change
Period Measurement
Measurement
Input Capture on State
Change
Trigger
Description
Mode
Table
mode
17-2.
of
Timer
TMR5
TMR5
TMR5
TMR5
TMR5
TMR5
TMR5
TMR5
TMR5
TMR5
TMR5
TMR5
TMR5
IC1
Reset Timer
on Capture
optional
optional
optional
optional
optional
optional
optional
optional
optional
optional
always
always
always
17.1.9
Table 17-3
configuration when used in conjunction with the TMR5
timer resource.
17.1.10
Although the IC and QEI submodules are mutually
exclusive, the IC can be reconfigured to work with the
QEI module to perform specific functions. In effect, the
QEI “borrows” hardware from the IC to perform these
operations.
For velocity measurement, the QEI uses dedicated
hardware in channel IC1. The CAP1BUF registers are
remapped, becoming the VELR registers. Its operation
and use are described in
Measurement”.
While in QEI mode, the CAP2BUF and CAP3BUF reg-
isters of channel IC2 and IC3 are used for position
determination. They are remapped as the POSCNT
and MAXCNT Buffer registers, respectively.
(1)
(1)
(1)
(2)
(1)
(1)
(1)
(1)
(1)
(1)
Simple Edge Capture mode (includes a
selectable prescaler).
Captures Timer5 on period boundaries.
Captures Timer5 on pulse boundaries.
Captures Timer5 on state change.
Used as a Special Event Trigger to be
used with the Timer5 or other peripheral
modules.
Simple Edge Capture mode (includes a
selectable prescaler).
Captures Timer5 on period boundaries.
Captures Timer5 on pulse boundaries.
Captures Timer5 on state change.
Simple Edge Capture mode (includes a
selectable prescaler).
Captures Timer5 on period boundaries.
Captures Timer5 on pulse boundaries.
Captures Timer5 on state change.
OPERATING MODES SUMMARY
OTHER OPERATING MODES
shows a summary of the input capture
 2010 Microchip Technology Inc.
Description
Section 17.2.6 “Velocity

Related parts for PIC18LF2431-I/SP