Home >
Integrated Circuits >
Microcontrollers >
Microchip >
PIC18
PIC18F2539 28-pin 24kB Microcontroller Datasheet
Photograph
Features
The Microchip PIC18F2539 Microcontroller is a specially
designed 28-pin 8-bit PIC Microcontroller for Motor Control Applications.
An integrated motor control kernal utilises Pulse Width Modulation
to provide speed control for single phase induction motors.
The PIC18F4539 microcontroller has 24kB of high-endurance Flash Program Memory and
a Five Channel 10-bit Accuracy A/D Converter.
Features
- High-Performance RISC CPU
- - Source code compatible with the PIC16 and PIC17 instruction sets
- - Linear program memory addressing to 24 Kbytes
- - 20 MHz Oscillator/Clock Input
- - 16-bit wide instructions, 8-bit wide data path
- - Priority levels for interrupts
- - 8 x 8 Single Cycle Hardware Multiplier
- - 24 kBytes Flash Program Memory
- - 1408 Byte RAM Data Memory
- - 256 Byte RAM Data Memory
- Peripheral Features
- - High current sink/source 25mA/25mA
- - Three 16-bit timer/counter
- - Two PWM Modules with 10-bit Resolution
- - Single Phase Induction Motor Control Kernal
- - 3-wire SPI (supports all 4 SPI modes)
- - I²C Master and Slave mode
- - Addressable USART Module supports RS-485 and RS-232
- - Five Channel 10-bit Analog-to-Digital Converter
- Special Microcontroller Features
- - Power-On Reset
- - Power-up Timer (PWRT) and Oscillator Start-Up Timer (OST)
- - 1,000 erase/write cycles Enhanced Flash Program Memory
- - 1,000,000 typical erase/write cycles EEPROM Data Memory
- - Watchdog Timer (WDT) with its own On-Chip RC oscillator
- - Programmable Code Protection
- - Power Saving SLEEP mode
- - In-Circuit Debug (ICD)
- CMOS Technology
- - Low power, high speed CMOS FLASH technology
- - Fully Static Design
- - Wide Operating Voltage Range (2.0V to 5.5V)
- I/O and Packages
- - 21 I/O pins with individual direction control
- - 28-pin DIP
Pin Layout
Pin Description
Pin Number | Description |
---|---|
1 | MCLR/VPP - Master Clear Reset |
2 | RA0/AN0 - Port A |
3 | RA1/AN1 - Port A |
4 | RA2/AN2/VREF- - Port A |
5 | RA3/AN3/VREF+ - Port A |
6 | RA4/T0CKI - Port A |
7 | RA5/AN4/SS/LVDIN - Port A |
8 | Vss - Ground |
9 | OSC1/CLKI - Oscillator Input |
10 | OSC2/CLKO/RA6 - Port A |
11 | RC0/T13CKI - Port C |
12 | PWM2 - PWM Module |
13 | PWM1 - PWM Module |
14 | OSC2/CLKO/RA6 - Port A |
15 | RC4/SDI/SDA - Port C |
16 | RC5/SDO - Port C |
17 | RC6/TX/CK - Port C |
18 | RC7/RX/DT - Port C |
19 | Vss - Ground |
20 | Vdd - Positive Power Supply |
21 | RB0 - Port B |
22 | RB1/INT1 - Port B |
23 | RB2/INT2 - Port B |
24 | RB3 - Port B |
25 | RB4 - Port B |
26 | RB5/PGM - Port B |
27 | RB6/PGC - Port B |
28 | RB7/PGD - Port B |
Dimensional Drawing
Technical Data
Datasheet
Microchip Web Site - Datasheet for PIC18F2539 |
Application Notes
Microchip Web Site - Application Notes for PIC18F2539 |