PIC18F04/05/14/15Q41 14/20-Pin, Low-Power, High-Performance Microcontroller with XLP Technology Introduction The PIC18-Q41 microcontroller family is available in 14/20-pin devices for sensor and real-time control applications. This analog-focused family features a 12-bit ADC with Computation (ADCC) automating Capacitive Voltage Divider (CVD) techniques for advanced capacitive touch sensing, averaging, filtering, oversampling and threshold comparison, two 8-bit DAC modules and an Operational Amplifier. The family showcases a 16-bit PWM module that provides dual independent outputs on the same time base. Additional features include vectored interrupt controller with fixed latency for handling interrupts, system bus arbiter, Direct Memory Access (DMA) capabilities, UART with 2 support for asynchronous, DMX, DALI and LIN protocols, SPI, I C, and a programmable 32-bit CRC with Memory Scan. This family also includes memory features such as Memory Access Partition (MAP) to support users in data protection and bootloader applications, as well as Device Information Area (DIA) that stores factory calibration values to help improve temperature sensor accuracy. PIC18-Q41 Family Types Table 1. Devices Included in This Data Sheet PIC18F04Q41 16k 1024 512 Y/Y 12/Y 2/3 3/1 1 1 1 4 11 2 1 2/1 1 2/1 2/1 4 Y Y Y Y Y PIC18F05Q41 32k 2048 512 Y/Y 12/Y 2/3 3/1 1 1 1 4 11 2 1 2/1 1 2/1 2/1 4 Y Y Y Y Y PIC18F14Q41 16k 1024 512 Y/Y 18/Y 2/3 3/1 1 1 1 4 17 2 1 2/1 1 2/1 2/1 4 Y Y Y Y Y PIC18F15Q41 32k 2048 512 Y/Y 18/Y 2/3 3/1 1 1 1 4 17 2 1 2/1 1 2/1 2/1 4 Y Y Y Y Y Datasheet DS40002242D-page 1 2020-2021 Microchip Technology Inc. and its subsidiaries Device Program Memory Flash (bytes) Data SRAM (bytes) Data EEPROM (bytes) Memory Access Partition/ Device Information Area I/O Pins/ Peripheral Pin Select 8-Bit Timer with HLT/ 16-Bit Timers 16-Bit Dual PWM/ CCP Complimentary Waveform Generator Signal Measurement Timer Numerically Controlled Oscillator Configurable Logic Cell 12-Bit ADCC (channels) 8-Bit DAC Operational Amplifier Comparator/ Zero-Cross Detect High-Low Voltage Detect 2 SPI/I C UART/ UART with Protocol Support Direct Memory Access (DMA) Windowed Watchdog Timer 32-Bit CRC with Scanner Vectored Interrupts Peripheral Module Disable Temperature Indicator PIC18F04/05/14/15Q41 Table 2. Devices Not Included in This Data Sheet PIC18F06Q41 64k 4096 512 Y/Y 12/Y 2/3 3/1 1 1 1 4 11 2 1 2/1 1 2/1 2/1 4 Y Y Y Y Y PIC18F16Q41 64k 4096 512 Y/Y 18/Y 2/3 3/1 1 1 1 4 17 2 1 2/1 1 2/1 2/1 4 Y Y Y Y Y Features C Compiler Optimized RISC Architecture Operating Speed: DC 64 MHz clock input 62.5 ns minimum instruction cycle Four Direct Memory Access (DMA) Controllers: Data transfers to SFR/GPR spaces from either Program Flash Memory, Data EEPROM, or SFR/GPR spaces User-programmable source and destination sizes Hardware and software triggered data transfers Vectored Interrupt Capability: Selectable high/low priority Fixed interrupt latency of three instruction cycles Programmable vector table base address Backwards compatible with previous interrupt capabilities 128-Level Deep Hardware Stack Low-Current Power-on Reset (POR) Configurable Power-up Timer (PWRT) Brown-out Reset (BOR) Low-Power BOR (LPBOR) Option Windowed Watchdog Timer (WWDT): Watchdog Reset on too long or too short interval between watchdog clear events Variable prescaler selection Variable window size selection Memory Up to 64 KB of Program Flash Memory Up to 4 KB of Data SRAM Memory 512 Bytes Data EEPROM Memory Access Partition: The Program Flash Memory Can Be Partitioned into: Application Block Boot Block Storage Area Flash (SAF) Block Programmable Code Protection and Write Protection Device Information Area (DIA) Stores: Temperature indicator factory calibrated data DS40002242D-page 2 Datasheet 2020-2021 Microchip Technology Inc. and its subsidiaries Device Program Memory Flash (bytes) Data SRAM (bytes) Data EEPROM (bytes) Memory Access Partition/ Device Information Area I/O Pins/ Peripheral Pin Select 8-Bit Timer with HLT/ 16-Bit Timers 16-Bit Dual PWM/ CCP Complimentary Waveform Generator Signal Measurement Timer Numerically Controlled Oscillator Configurable Logic Cell 12-Bit ADCC (channels) 8-Bit DAC Operational Amplifier Comparator/ Zero-Cross Detect High-Low Voltage Detect 2 SPI/I C UART/ UART with Protocol Support Direct Memory Access (DMA) Windowed Watchdog Timer 32-Bit CRC with Scanner Vectored Interrupts Peripheral Module Disable Temperature Indicator