PIC18F242-E/SP Microchip Technology, PIC18F242-E/SP Datasheet - Page 94
PIC18F242-E/SP
Manufacturer Part Number
PIC18F242-E/SP
Description
IC MCU CMOS 40MHZ 8K FLASH 28DIP
Manufacturer
Microchip Technology
Series
PIC® 18Fr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.PIC18F242-ISO.pdf
(332 pages)
3.PIC18F242-ISO.pdf
(14 pages)
4.PIC18F242-ISO.pdf
(16 pages)
5.PIC18F242-ISO.pdf
(16 pages)
6.PIC18F242-ISO.pdf
(14 pages)
Specifications of PIC18F242-E/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, POR, PWM, WDT
Number Of I /o
23
Program Memory Type
FLASH
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
External
Operating Temperature
-40°C ~ 125°C
Package / Case
28-DIP (0.300", 7.62mm)
Controller Family/series
PIC18
No. Of I/o's
23
Eeprom Memory Size
256Byte
Ram Memory Size
768Byte
Cpu Speed
40MHz
No. Of Timers
4
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
DVA18XP280 - DEVICE ADAPTER 18F2220 PDIP 28LD
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC18F242-E/SP
Manufacturer:
Microchip Technology
Quantity:
135
- PIC16F616T-ISL PDF datasheet
- PIC18F242-ISO PDF datasheet #2
- PIC18F242-ISO PDF datasheet #3
- PIC18F242-ISO PDF datasheet #4
- PIC18F242-ISO PDF datasheet #5
- PIC18F242-ISO PDF datasheet #6
- Current page: 94 of 332
- Download datasheet (6Mb)
PIC18FXX2
TABLE 9-3:
TABLE 9-4:
DS39564C-page 92
PORTB
LATB
TRISB
INTCON
INTCON2
INTCON3
Legend: x = unknown, u = unchanged. Shaded cells are not used by PORTB.
RB0/INT0
RB1/INT1
RB2/INT2
RB3/CCP2
RB4
RB5/PGM
RB6/PGC
RB7/PGD
Legend: TTL = TTL input, ST = Schmitt Trigger input
Name
Note 1: This buffer is a Schmitt Trigger input when configured as the external interrupt.
Name
2: This buffer is a Schmitt Trigger input when used in Serial Programming mode.
3: A device configuration bit selects which I/O pin the CCP2 pin is multiplexed on.
4: This buffer is a Schmitt Trigger input when configured as the CCP2 input.
5: Low Voltage ICSP Programming (LVP) is enabled by default, which disables the RB5 I/O function. LVP
(5)
(3)
LATB Data Output Register
PORTB Data Direction Register
must be disabled to enable RB5 as an I/O pin and allow maximum compatibility to the other 28-pin and
40-pin mid-range devices.
INT2IP
RBPU
GIEH
Bit 7
GIE/
RB7
PORTB FUNCTIONS
SUMMARY OF REGISTERS ASSOCIATED WITH PORTB
INTEDG0
INT1IP
PEIE/
Bit 6
GIEL
Bit#
RB6
bit0
bit1
bit2
bit3
bit4
bit5
bit6
bit7
TTL/ST
TTL/ST
TTL/ST
TTL/ST
TTL/ST
TTL/ST
TTL/ST
INTEDG1
TMR0IE
Buffer
Bit 5
RB5
TTL
—
(1)
(1)
(1)
(4)
(2)
(2)
(2)
INTEDG2
INT0IE
INT2IE
Input/output pin or external interrupt input0.
Internal software programmable weak pull-up.
Input/output pin or external interrupt input1.
Internal software programmable weak pull-up.
Input/output pin or external interrupt input2.
Internal software programmable weak pull-up.
Input/output pin or Capture2 input/Compare2 output/PWM output when
CCP2MX configuration bit is enabled.
Internal software programmable weak pull-up.
Input/output pin (with interrupt-on-change).
Internal software programmable weak pull-up.
Input/output pin (with interrupt-on-change).
Internal software programmable weak pull-up.
Low voltage ICSP enable pin.
Input/output pin (with interrupt-on-change).
Internal software programmable weak pull-up.
Serial programming clock.
Input/output pin (with interrupt-on-change).
Internal software programmable weak pull-up.
Serial programming data.
Bit 4
RB4
INT1IE
RBIE
Bit 3
RB3
—
TMR0IF
TMR0IP
Bit 2
RB2
—
INT0IF
INT2IF
Bit 1
RB1
—
Function
INT1IF
RBIP
Bit 0
RBIF
RB0
© 2006 Microchip Technology Inc.
xxxx xxxx
xxxx xxxx
1111 1111
0000 000x
1111 -1-1
11-0 0-00
POR, BOR
Value on
uuuu uuuu
uuuu uuuu
1111 1111
0000 000u
1111 -1-1
11-0 0-00
All Other
Value on
RESETS
Related parts for PIC18F242-E/SP
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
IC MCU FLASH 8KX16 EE A/D 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU FLASH 8KX16 EE A/D 28DIP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
28/40-pin High Performance, Enhanced FLASH Microcontrollers with 10-Bit A/D
Manufacturer:
MICROCHIP [Microchip Technology]
Datasheet:
Part Number:
Description:
IC MCU CMOS 40MHZ 8K FLSH 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
28/40-Pin High-Performance, Enhanced Flash Microcontrollers with CAN Module
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: