Example: barber

28/40/44-Pin, Low-Power, High-Performance …

PIC18(L)F2X/4XK22. 28/40/44-Pin, Low-Power, High-Performance Microcontrollers with XLP Technology High-Performance RISC CPU: eXtreme Low-Power Features (XLP). C Compiler Optimized Architecture: (PIC18(L)F2X/4XK22): - Optional extended instruction set designed to Sleep mode: 20 nA, typical optimize re-entrant code Watchdog Timer: 300 nA, typical Up to 1024 Bytes Data EEPROM. Timer1 Oscillator: 800 nA @ 32 kHz Up to 64 Kbytes Linear Program Memory Addressing Peripheral Module Disable Up to 3896 Bytes Linear Data Memory Address- Special Microcontroller Features: ing Up to 16 MIPS Operation to Operation PIC18 FXXK22 devices 16-bit Wide Instructions, 8-bit Wide Data Path to Operation PIC18 LFXXK22 devices Priority Levels for Interrupts Self-Programmable under Software Control 31-Level, Software Accessible Hardware Stack High/Low-Voltage Detection (HLVD) module: 8 x 8 Single-Cycle Hardware Multiplier - Programmable 16-Level - Interrupt on High/Low-Voltage Detection Flexible Oscilla

28/40/44-Pin, Low-Power, High-Performance Microcontrollers with XLP Technology. PIC18(L)F2X/4XK22 DS40001412G-page 2 2010-2016 Microchip Technology Inc. • Two Enhanced Universal Synchronous Asynchronous Receiver Transmitter (EUSART) modules: - Supports RS-485, RS-232 and LIN

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Transcription of 28/40/44-Pin, Low-Power, High-Performance …

1 PIC18(L)F2X/4XK22. 28/40/44-Pin, Low-Power, High-Performance Microcontrollers with XLP Technology High-Performance RISC CPU: eXtreme Low-Power Features (XLP). C Compiler Optimized Architecture: (PIC18(L)F2X/4XK22): - Optional extended instruction set designed to Sleep mode: 20 nA, typical optimize re-entrant code Watchdog Timer: 300 nA, typical Up to 1024 Bytes Data EEPROM. Timer1 Oscillator: 800 nA @ 32 kHz Up to 64 Kbytes Linear Program Memory Addressing Peripheral Module Disable Up to 3896 Bytes Linear Data Memory Address- Special Microcontroller Features: ing Up to 16 MIPS Operation to Operation PIC18 FXXK22 devices 16-bit Wide Instructions, 8-bit Wide Data Path to Operation PIC18 LFXXK22 devices Priority Levels for Interrupts Self-Programmable under Software Control 31-Level, Software Accessible Hardware Stack High/Low-Voltage Detection (HLVD) module: 8 x 8 Single-Cycle Hardware Multiplier - Programmable 16-Level - Interrupt on High/Low-Voltage Detection Flexible Oscillator Structure.

2 Programmable Brown-out Reset (BOR): Precision 16 MHz Internal Oscillator Block: - With software enable option - Factory calibrated to 1% - Configurable shutdown in Sleep - Selectable frequencies, 31 kHz to 16 MHz Extended Watchdog Timer (WDT): - 64 MHz performance available using PLL - Programmable period from 4 ms to 131s no external components required In-Circuit Serial Programming (ICSP ): Four Crystal modes up to 64 MHz - Single-Supply 3V. Two External Clock modes up to 64 MHz In-Circuit Debug (ICD). 4X Phase Lock Loop (PLL). Secondary Oscillator using Timer1 @ 32 kHz Peripheral Highlights: Fail-Safe Clock Monitor: - Allows for safe shutdown if peripheral clock Up to 35 I/O Pins plus 1 Input-Only Pin: stops - High-Current Sink/Source 25 mA/25 mA.

3 - Two-Speed Oscillator Start-up - Three programmable external interrupts - Four programmable interrupt-on-change - Nine programmable weak pull-ups Analog Features: - Programmable slew rate Analog-to-Digital Converter (ADC) module: SR Latch: - 10-bit resolution, up to 30 external channels - Multiple Set/Reset input options - Auto-acquisition capability Two Capture/Compare/PWM (CCP) modules - Conversion available during Sleep Three Enhanced CCP (ECCP) modules: - Fixed Voltage Reference (FVR) channel - One, two or four PWM outputs - Independent input multiplexing - Selectable polarity Analog Comparator module: - Programmable dead time - Two rail-to-rail analog comparators - Auto-Shutdown and Auto-Restart - Independent input multiplexing - PWM steering Digital-to-Analog Converter (DAC) module: Two Master Synchronous Serial Port (MSSP).

4 Modules: - Fixed Voltage Reference (FVR) with , and output levels - 3-wire SPI (supports all 4 modes). - 5-bit rail-to-rail resistive DAC with positive - I2C Master and Slave modes with address and negative reference selection mask Charge Time Measurement Unit (CTMU) module: - Supports capacitive touch sensing for touch screens and capacitive switches 2010-2016 Microchip Technology Inc. DS40001412G-page 1. PIC18(L)F2X/4XK22. Two Enhanced Universal Synchronous Asynchronous Receiver Transmitter (EUSART). modules: - Supports RS-485, RS-232 and LIN. - RS-232 operation using internal oscillator - Auto-Wake-up on Break - Auto-Baud Detect TABLE 1: PIC18(L)F2X/4XK22 FAMILY TYPES.

5 Program Data MSSP. A/D Channels(2). Memory Memory (Half-Bridge). (Full-Bridge). Comparator 16-bit Timer 8-bit Timer BOR/LVD. SR Latch EUSART. # Single-Word CTMU. ECCP. ECCP. 10-bit Instructions I/O(1). CCP. Device EEPROM. (Bytes). (Bytes). (Bytes). SRAM. Flash SPI. I2C. PIC18(L)F23K22 8K 4096 512 256 25 19 2 1 2 2 2 2 2 Y Y Y 3 4. PIC18(L)F24K22 16K 8192 768 256 25 19 2 1 2 2 2 2 2 Y Y Y 3 4. PIC18(L)F25K22 32K 16384 1536 256 25 19 2 1 2 2 2 2 2 Y Y Y 3 4. PIC18(L)F26K22 64k 32768 3896 1024 25 19 2 1 2 2 2 2 2 Y Y Y 3 4. PIC18(L)F43K22 8K 4096 512 256 36 30 2 2 1 2 2 2 2 Y Y Y 3 4. PIC18(L)F44K22 16K 8192 768 256 36 30 2 2 1 2 2 2 2 Y Y Y 3 4. PIC18(L)F45K22 32K 16384 1536 256 36 30 2 2 1 2 2 2 2 Y Y Y 3 4.

6 PIC18(L)F46K22 64k 32768 3896 1024 36 30 2 2 1 2 2 2 2 Y Y Y 3 4. Note 1: One pin is input only. 2: Channel count includes internal FVR and DAC channels. DS40001412G-page 2 2010-2016 Microchip Technology Inc. PIC18(L)F2X/4XK22. FIGURE 1: 28-PIN PDIP, SOIC, SSOP DIAGRAM. MCLR/VPP/RE3 1 28 RB7/PGD. RA0 2 27 RB6/PGC. RA1 3 26 RB5. RA2 4 25 RB4. PIC18(L)F2XK22. RA3 5 24 RB3. RA4 6 23 RB2. RA5 7 22 RB1. VSS 8 21 RB0. RA7 9 20 VDD. RA6 10 19 VSS. RC0 11 18 RC7. RC1 12 17 RC6. RC2 13 16 RC5. RC3 14 15 RC4. FIGURE 2: 28-PIN QFN, UQFN(1) DIAGRAM. MCLR/VPP/RE3. RB7/PGD. RB6/PGC. RA1. RA0. RB5. RB4. 28 27 26 25 24 23 22. RA2 1 21 RB3. RA3 2 20 RB2. RA4 3 19 RB1. RA5/ 4 PIC18(L)F2XK22 18 RB0.

7 VSS 5 17 VDD. RA7 6 16 VSS. RA6 7 15 RC7. 8 9 10 11 12 13 14. RC6. RC3. RC4. RC5. RC1. RC2. RC0. Note 1: The 28-pin UQFN package is available only for PIC18(L)F23K22 and PIC18(L)F24K22. 2010-2016 Microchip Technology Inc. DS40001412G-page 3. PIC18(L)F2X/4XK22. FIGURE 3: 40-PIN PDIP DIAGRAM. MCLR/VPP/RE3 1 40 RB7/PGD. RA0 2 39 RB6/PGC. RA1 3 38 RB5. RA2 4 37 RB4. RA3 5 36 RB3. RA4 6 35 RB2. RA5 7 34 RB1. PIC18(L)F4XK22. RE0 8 33 RB0. RE1 9 32 VDD. RE2 10 31 VSS. VDD 11 30 RD7. VSS 12 29 RD6. RA7 13 28 RD5. RA6 14 27 RD4. RC0 15 26 RC7. RC1 16 25 RC6. RC2 17 24 RC5. RC3 18 23 RC4. RD0 19 22 RD3. RD1 20 21 RD2. FIGURE 4: 40-PIN UQFN DIAGRAM. RC6. RC5. RC4.

8 RD3. RD2. RD1. RD0. RC3. RC2. RC1. 40. 39. 38. 37. 36. 35. 33. 32. 31. 34. RC7 1 30 RC0. RD4 2 29 RA6. RD5 3 28 RA7. RD6 4 27 VSS. RD7 5 PIC18(L)F4XK22 26 VDD. VSS 6 25 RE2. VDD 7 24 RE1. RB0 8 23 RE0. RB1 9 22 RA5. RB2 10 21 RA4. 20. 11. 12. 13. 14. 15. 17. 18. 19. 16. RB3. RB4. RB5. PGC/RB6. PGD/RB7. MCLR/VPP/RE3. RA0. RA1. RA2. RA3. DS40001412G-page 4 2010-2016 Microchip Technology Inc. PIC18(L)F2X/4XK22. FIGURE 5: 44-PIN TQFP DIAGRAM. RC6. RC5. RC4. RD3. RD2. RD1. RD0. RC3. RC2. RC1. NC. 41. 40. 39. 37. 36. 35. 34. 42. 44. 43. 38. RC7 1 33 NC. RD4 2 32 RC0. RD5 3 31 RA6. RD6 4 30 RA7. RD7 5 29 VSS. VSS 6 PIC18(L)F4XK22 28 VDD. VDD 7 27 RE2. RB0 8 26 RE1.

9 RB1 9 25 RE0. RB2 10 24 RA5. RB3 11 23 RA4. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. RB4. RB5. PGC/RB6. PGD/RB7. MCLR/VPP/RE3. RA0. RA1. RA2. RA3. NC. NC. FIGURE 6: 44-PIN QFN DIAGRAM. RD3. RD1. RD0. RC2. RC1. RC0. RC6. RC5. RC4. RD2. RC3. 44. 43. 42. 41. 40. 39. 37. 36. 35. 34. 38. RC7 1 33 RA6. RD4 2 32 RA7. RD5 3 31 VSS. RD6 4 30 VSS. RD7 5 29 VDD. VSS 6 PIC18(L)F4XK22 28 VDD. VDD 7 27 RE2. VDD 8 26 RE1. RB0 9 25 RE0. RB1 10 24 RA5. RB2 11 23 RA4. 22. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. RB3. RB4. RB5. PGC/RB6. PGD/RB7. MCLR/VPP/RE3. RA0. RA1. RA2. RA3. NC. 2010-2016 Microchip Technology Inc. DS40001412G-page 5. PIC18(L)F2X/4XK22. TABLE 2: PIC18(L)F2XK22 PIN SUMMARY.

10 28-SSOP, SOIC. 28-QFN, UQFN. Comparator Reference Interrupts 28-SPDIP. SR Latch EUSART. (E)CCP. Analog Pull-up Timers CTMU. MSSP. Basic I/O. 2 27 RA0 AN0 C12IN0- 3 28 RA1 AN1 C12IN1- 4 1 RA2 AN2 C2IN+ VREF- DACOUT. 5 2 RA3 AN3 C1IN+ VREF+. 6 3 RA4 C1 OUT SRQ CCP5 T0 CKI. 7 4 RA5 AN4 C2 OUT SRNQ HLVDIN SS1. 10 7 RA6 OSC2. CLKO. 9 6 RA7 OSC1. CLKI. 21 18 RB0 AN12 SRI CCP4 SS2 INT0 Y. FLT0. 22 19 RB1 AN10 C12IN3- P1C SCK2 INT1 Y. SCL2. 23 20 RB2 AN8 CTED1 P1B SDI2 INT2 Y. SDA2. 24 21 RB3 AN9 C12IN2- CTED2 CCP2 SDO2 Y. P2A(1). 25 22 RB4 AN11 P1D T5G IOC Y. 26 23 RB5 AN13 CCP3 T1G IOC Y. P3A(4) T3 CKI(2). P2B(3). 27 24 RB6 TX2/CK2 IOC Y PGC. 28 25 RB7 RX2/DT2 IOC Y PGD.


Related search queries