Home >
Integrated Circuits >
Microcontrollers >
Microchip >
PIC18
PIC18F4320 40-pin 8kB Microcontroller Datasheet
Photograph
Product Details
The Microchip PIC18F4320 Microcontroller is an advanced 40-pin 8-bit PIC Microcontroller featuring nanoWatt technology for reduced power consumption. The PIC18F4320 has 8 kBytes of Flash Program Memory and a Thirteen Channel 10-bit Accuracy A/D Converter, together with an Addressable USART module for RS-232 communication on a bus system. The microcontroller has a total of 36 I/O pins available with individual direction control and are suitable for directly driving LEDs.
Features
- High-Performance RISC CPU
- - Source code compatible with the PIC16 and PIC17 instruction sets
- - DC - 40 MHz osc./clock input
- - 16-bit wide instructions, 8-bit wide data path
- - Priority levels for interrupts
- - 8 x 8 Single Cycle Hardware Multiplier
- - 8 kBytes Flash Program Memory
- - 512 Byte RAM Data Memory
- - 256 Byte RAM Data Memory
- Peripheral Features
- - High current sink/source 25mA/25mA
- - Three 16-bit timer/counter
- - Two 8-bit timer/counter with prescaler
- - Capture 16-bit, max. resolution 6.25ns(TCY/16)
- - Compare 16-bit, max. resolution 100ns
- - 3-wire SPI with Interrupt-on-Address Bit
- - I²C Master and Slave mode
- - Addressable USART Module supports RS-232
- - Thirteen 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
- - Secondary Oscillator (32kHz) clock input
- - Single supply 5V In-circuit Serial Programming via two pins
- - 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
- - 36 I/O pins with individual direction control
- - 40-pin DIP
Pin Layout
Pin Description
Pin Number | Description |
---|---|
1 | MCLR/VPP/RE3 - Master Clear Reset/Port E |
2 | RA0/AN0 - Port A |
3 | RA1/AN1 - Port A |
4 | RA2/AN2/VREF-/CVREF - Port A |
5 | RA3/AN3/VREF+ - Port A |
6 | RA4/T0CKI/C1OUT - Port A |
7 | RA5/AN4/SS/LVDIN/C2OUT - Port A |
8 | RE0/AN5/RD - Port E |
9 | RE1/AN6/WR - Port E |
10 | RE2/AN7/CS - Port E |
11 | Vdd - Postive Power Supply |
12 | Vss - Ground |
13 | OSC1/CLKI/RA7 - Port A |
14 | OSC2/CLKO/RA6 - Port A |
15 | RC0/T1OSO/T1CKI - Port C |
16 | RC1/T1OSI/CCP2 - Port C |
17 | RC2/CCP1/P1A - Port C |
18 | RC3/SCK/SCL - Port C |
19 | RD0/PSP0 - Port D |
20 | RD1/PSP1 - Port D |
21 | RD2/PSP2 - Port D |
22 | RD3/PSP3 - Port D |
23 | RC4/SDI/SDA - Port C |
24 | RC5/SDO - Port C |
25 | RC6/TX/CK - Port C |
26 | RC7/RX/DT - Port C |
27 | RD4/PSP4 - Port D |
28 | RD5/PSP5/P1B - Port D |
29 | RD6/PSP6/P1C - Port D |
30 | RD7/PSP7/P1D - Port D |
31 | Vss - Ground |
32 | Vdd - Positive Power Supply |
33 | RB0/AN12/INT0 - Port B |
34 | RB1/AN10/INT1 - Port B |
35 | RB2/AN8/INT2 - Port B |
36 | RB3/AN9/CCP2 - Port B |
37 | RB4/AN11/KBI0 - Port B |
38 | RB5/KBI1/PGM - Port B |
39 | RB6/KBI2/PGC - Port B |
40 | RB7/KBI3/PGD - Port B |
Dimensional Drawing
Technical Data
Datasheet
Microchip Web Site - Datasheet for PIC18F4320 |
Application Notes
Microchip Web Site - Application Notes for PIC18F4320 |