Brasil
PIC18F4X50
Pin Diagram:
PDIP, PLCC, TQFP
40 1 MCLR/VPP RB7 39 2 RB6 RA0/AN0 RB5/SDO 38 3 RA1/AN1 37 4 RA2/AN2/VREFRB4/SDI/SDA RB3/CCP2* 36 5 RA3/AN3/VREF+ RB2/INT2/SCK/SCL 35 6 RA4/T0CKI RB1/INT1 34 7 RA5/AN4/SS/LVDIN 33 8 RE0/RD/AN5 RB0/INT0 32 VDD 9 RE1/WR/AN6 10 31 VSS RE2/CLK/AN7 30 11 RD7/SPP7 VDD 29 12 RD6/SPP6 VSS 28 13 OSC1/CLKI RD5/SPP5 27 14 RD4/SPP4 OSC2/CLKO/RA6 RC0/T1OSO/T1CKI 26 15 RC7/RX/DT 25 16 RC6/TX/CK RC1/T1OSI/CCP2* 24 17 D+ RC2/CCP1 23 18 DVUSB 19 RD3/SPP3 22 RD0/SPP0 21 20 RD2/SPP2 RD1/SPP1 * RB3 is the alternate pin for the CCP2 pin multiplexing. Pinout subject to change.
40-Pin Enhanced FLASH Microcontroller with Full Speed USB and 10-bit A/D Product Brief
High Performance RISC CPU:
• C-compiler optimized architecture/instruction set: - Source code compatible with the PIC18CXXX instruction set • Linear program memory addressing; Linear data memory addressing • 256 bytes of EEPROM data memory • Up to 12 MIPs operation: - DC - 48 MHz clock - 4 MHz - 12 MHz clock with PLL active • 16-bit wide instructions, 8-bit wide data path • Priority levels for interrupts • 8 x 8 Single Cycle Hardware Multiplier • Pinout compatible with PIC16C765 (USB)
Peripheral Features:
• • • • • • • • High current sink/source 25 mA/25 mA Three external interrupt pins Three 16-bit timer/counters One 8-bit timer/counter Secondary oscillator clock option - Timer1/Timer3 Two Capture/Compare/PWM (CCP) modules USART Synchronous Serial Port with SPI™ Master mode and I2C™ Master/Slave mode • Streaming Parallel Port (SPP)
Special Microcontroller Features:
• 100,000 erase/write cycle Enhanced FLASH program memory typical • 1,000,000 erase/write cycle Data EEPROM memory typical • Data EEPROM Retention > 40 years • Self re-programmable under software control • In-Circuit Serial Programming™ (ICSP™) via two pins • Single supply 5V In-Circuit Serial Programming • Watchdog Timer (WDT) with its own on-chip RC oscillator for reliable operation • Programmable code