The PIC18-Q40 family of microcontrollers (MCUs) makes it easy for you to customize your next space-constrained design. Packing a high level of sophistication into a small 14- or 20-pin package, these MCUs combine powerful, versatile and highly configurable Core Independent Peripherals (CIPs) with advanced interconnection capabilities to allow you to create custom application functions. Our comprehensive development tool suite with its Graphical User Interface (GUI) environment makes it easy to quickly customize combinations of CIPs and generate application code. These MCUs are well suited for remote medical care devices, wearables, consumer, automotive, industrial and Internet of Things (IoT). If you need the same level of MCU performance with additional analog features, PIC18-Q41 MCUs are an ideal solution.
Take your next idea to market with a cost-effective development board that you can keep in your pocket. With its full programming and debugging capabilities, the PIC18F16Q40 Curiosity Nano Evaluation kit (EV70C97A) offers complete support for your next design.
The PIC18-Q40 family is designed to integrate with MPLAB® Code Configurator (MCC), a free software plug-in for our award-winning MPLAB X Integrated Development Environment (IDE), that provides a graphical interface to easily configure peripherals and functions specific to your application. Code examples are also available to help you immediately start your development.
Improved System Performance
The PIC18-Q40 family features four Direct Memory Access (DMA) controllers to perform data transfers between all memory spaces and peripherals to boost system performance and improve power consumption.
Reduced Costs and Board Space
To create customized hardware-based logic functions, the four user-configurable Configurable Logic Cells (CLCs) let you specify combinations of signals as inputs to a logic function and internally connect peripherals such as timers, Pulse-Width Modulators (PWMs), serial ports and I/O pins for easy hardware customization. Because the CLC enables a higher level of integration without the need for any external components, you can reduce your PCB footprint and system costs.
Design Flexibility
Delivering advanced capabilities beyond those found on standard PWM modules, the integrated, high-resolution 16-bit PWMs allow you to easily vary phase, duty cycle and offset event count with greater precision. They offer dual independent outputs on the same time base, which helps simplify drive control in a variety of applications. The flexible serial communications interface options include a UART with support for Asynchronous, DMX, DALI and LIN protocols, plus higher-speed, stand-alone I 2C and SPI modules.
Intelligent Analog
The on-chip intelligent analog peripherals enable you to develop simple, efficient solutions. They include a Zero Cross Detect (ZCD) module, comparators, two 8-bit Digital-to-Analog Converter (DACs) and a 12-bit Analog-to-Digital Converter with Computation (ADCC) that automates Capacitive Voltage Divider (CVD) techniques for implementing advanced touch sensing, averaging, filtering, oversampling and automatic threshold comparison.
Digital-to-Analog Converter (DAC)
The 8-bit buffered Digital-to-Analog Converter (DAC) provides an accurate reference to an on-board comparator module in closed-loop control applications.
Zero Cross Detect (ZCD)
The Zero Cross Detect (ZCD) module can monitor AC line voltage and indicate zero crossing activity. This information is made directly available to on-board waveform generation peripherals for use in TRIAC control applications, greatly reducing both CPU demand and BOM cost.
Configurable Logic Cell (CLC)
The Configurable Logic Cell (CLC) offers hardware-based combinational and sequential logic functions to simplify and accelerate many common tasks. The CLC can also be used as glue logic between peripherals, eliminating the need for CPU intervention during steady-state activity in complex control loops.
16-bit Pulse-Width Modulator (PWM)
The 16-bit Pulse-Width Modulator (PWM) provides high-resolution performance with an independent time base for flexible use in a variety of applications.
Complementary Waveform Generator (CWG)
The Complementary Waveform Generator (CWG) provides a complementary waveform with rising and falling edge dead band control, enabling high-efficiency synchronous switching with no processor overhead. The CWG also incorporates auto shutdown and auto restart and can interface directly with other peripherals/external inputs.
Capture Compare PWM (CCP)
The Capture Compare PWM provides 16-bit signal capture and compare, as well as 10-bit PWM output functionality.
Data Signal Modulator (DSM)
The Data Signal Modulator (DSM) offers smooth signal switching. When paired with a 16-bit PWM, LED dimming engine functionality is created.
Hardware Limit Timer (HLT)
8-bit and 16-bit timers are available on the MCU. The 8-bit timers are equipped with a Hardware Limit Timer (HLT) to detect faults in motors, power supplies and other external devices. The HLT can automatically notify the system to make provisions to shut down and/or safely restart.
CRC/SCAN Module and Windowed Watchdog Timer (WWDT)
The CRC/SCAN module and the Windowed Watchdog Timer (WWDT) work in tandem to provide the necessary tools to incorporate functional safety into your application. By ensuring the integrity of the program Flash contents, the devices support the implementation of safety standards such as Class B and UL 1998.
Peripheral Pin Select (PPS)
Peripheral Pin Select (PPS) provides ultimate flexibility when routing digital signals to device pins. With PPS, any digital peripheral can be connected to any I/O pin on the fly for a customized layout. This allows you to maintain layout compatibility with older PIC® MCUs, even as new features are implemented.
Direct Memory Access (DMA)
Direct Memory Access (DMA) is used to move data among Flash, EEPROM, RAM and peripherals without intervention from the CPU.
Advanced Memory Features
Memory Access Partition (MAP) supports data protection and bootloader applications. Device Information Area (DIA) is a dedicated memory space for factory-programmed device ID and peripheral calibration values.
Power-Conserving Functionality
IDLE and DOZE low-power modes allow you to optimize your application for device performance and power consumption. The Peripheral Module Disable (PMD) allows unused peripherals to be turned off individually, further reducing power consumption.
Product | Program Memory Size (KB) | SRAM (Bytes) | Emulated EEPROM in Flash | Pin count | Operational Amplifier | ADC Input | Status | 5K Pricing | CPU Type | Architecture | Family | Program Memory Size (KWords) | Bootload capable | Max I/O Pins | Max CPU Speed (MHz) | Peripheral Pin Select / Pin Muxing | Vbat/Vddbu battery backup | Brown-Out Reset | Low Voltage Detection | Power On Reset | Internal Oscillator | Hardware RTCC/RTC | Watch Dog Timer | Number of Comparators | Number of ADCs | Max ADC Resolution (Bits) | Max ADC Sampling Rate (ksps) | ADC with Computation | Number of DACs | DAC Outputs | Max DAC Resolution (Bits) | Internal Voltage Reference (Bandgap) | Zero Cross detect | Slope Compensation / Programmable Ramp Generator | Data Signal Modulator | CTMU | Max 8-Bit Digital Timers | Max 16-Bit Digital Timers | Signal Measurement Timer | Hardware Limit Timer | Stand alone PWMs | Capture / Compare/PWM (CCP) | Enhanced Capture/Compare/PWM (ECCP) | Max PWM outputs (including complementary) | Number of PWM Time Bases | PWM Max Resolution (Bits) | Quadrature Encoder Interface | Angular Timer | Math Accelerator | UART | SPI | I2C | Number of USB Modules | USB Interface | USB Active Clock Tuning | Number of CAN Modules | CAN Transmit Buffers | CAN Receive Buffers | Ethernet | LIN | IrDA | Parallel Port | Class B Support | CRC | Configurable Logic Cell (CLC/CCL) | Complementary Waveform Generator / Complementary Output Generator | Numerically Controlled Oscillator | Programmable Switched Mode Controller | Hardware Touch Peripheral | Hardware Direct Touch Channel Buttons | Hardware Touch Matrix Nodes | Touch Library Support | Hardware Cap Voltage Divider | Segmented LCD | Keeloq Hardware | Crypto Engine | JTAG | Temp Range Min | Temp Range Max | Operation Voltage Min (V) | Operation Voltage Max (V) | High Voltage Capable | Packages |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PIC18F04Q40 | 16 | 1024 | 512 | 14 | 0 | 11 | In Production | $0.63 | 8-bit PIC MCU | 8 | 8-bit MCU | 8 | No | 12 | 64 | Yes | No | BOR | None | Yes | 64MHZ | No | No | 2 | 1 | 12 | 0 | Yes | 2 | 1 | 8 | Yes | Yes | 0 | 1 | No | 2 | 3 | 1 | 3 | 3 | 3 | 0 | 6 | 3 | 16 | 0 | No | No | 3 | 2 | 1 | 0 | None | No | 0 | 0 | 0 | None | Yes | No | No | No | Yes | 4 | 3 | 3 | 0 | ADC2 with HCVD | 0 | 0 | Yes | 0 | No | No | None | -40 | 125 | 1.8 | 5.5 | No | 14/SOIC, 14/TSSOP | |
PIC18F04Q41 | 16 | 1024 | 512 | 14 | 1 | 11 | In Production | $0.69 | 8-bit PIC MCU | 8 | 8-bit MCU | 8 | No | 12 | 64 | Yes | No | BOR | None | Yes | 64MHZ | No | No | 2 | 1 | 12 | 0 | Yes | 2 | 1 | 8 | Yes | Yes | 0 | 1 | No | 2 | 3 | 1 | 3 | 3 | 3 | 0 | 6 | 3 | 16 | 0 | No | No | 3 | 2 | 1 | 0 | None | No | 0 | 0 | 0 | None | Yes | No | No | No | Yes | 4 | 3 | 3 | 0 | ADC2 with HCVD | 0 | 0 | Yes | 0 | No | No | None | -40 | 125 | 1.8 | 5.5 | No | 14/SOIC, 14/TSSOP | |
PIC18F14Q40 | 16 | 1024 | 512 | 20 | 0 | 17 | In Production | $0.70 | 8-bit PIC MCU | 8 | 8-bit MCU | 8 | No | 18 | 64 | Yes | No | BOR | None | Yes | 64MHZ | No | No | 2 | 1 | 12 | 0 | Yes | 2 | 1 | 8 | Yes | Yes | 0 | 1 | No | 2 | 3 | 1 | 3 | 3 | 3 | 0 | 6 | 3 | 16 | 0 | No | No | 3 | 2 | 1 | 0 | None | No | 0 | 0 | 0 | None | Yes | No | No | No | Yes | 4 | 3 | 3 | 0 | ADC2 with HCVD | 0 | 0 | Yes | 0 | No | No | None | -40 | 125 | 1.8 | 5.5 | No | 20/PDIP, 20/SOIC, 20/SSOP, 20/VQFN | |
PIC18F14Q41 | 16 | 1024 | 512 | 20 | 1 | 17 | In Production | $0.76 | 8-bit PIC MCU | 8 | 8-bit MCU | 8 | No | 18 | 64 | Yes | No | BOR | None | Yes | 64MHZ | No | No | 2 | 1 | 12 | 0 | Yes | 2 | 1 | 8 | Yes | Yes | 0 | 1 | No | 2 | 3 | 1 | 3 | 3 | 3 | 0 | 6 | 3 | 16 | 0 | No | No | 3 | 2 | 1 | 0 | None | No | 0 | 0 | 0 | None | Yes | No | No | No | Yes | 4 | 3 | 3 | 0 | ADC2 with HCVD | 0 | 0 | Yes | 0 | No | No | None | -40 | 125 | 1.8 | 5.5 | No | 20/PDIP, 20/SOIC, 20/SSOP, 20/VQFN | |
PIC18F05Q40 | 32 | 2048 | 512 | 14 | 0 | 11 | In Production | $0.69 | 8-bit PIC MCU | 8 | 8-bit MCU | 16 | No | 12 | 64 | Yes | No | BOR | None | Yes | 64MHZ | No | No | 2 | 1 | 12 | 0 | Yes | 2 | 1 | 8 | Yes | Yes | 0 | 1 | No | 2 | 3 | 1 | 2 | 3 | 3 | 0 | 6 | 3 | 16 | 0 | No | No | 3 | 2 | 1 | 0 | None | No | 0 | 0 | 0 | None | Yes | No | No | Yes | Yes | 4 | 3 | 1 | 0 | ADC2 with HCVD | 0 | 0 | Yes | 0 | No | No | None | -40 | 125 | 1.8 | 5.5 | No | 14/SOIC, 14/TSSOP | |
PIC18F05Q41 | 32 | 2048 | 512 | 14 | 1 | 11 | In Production | $0.74 | 8-bit PIC MCU | 8 | 8-bit MCU | 16 | No | 12 | 64 | Yes | No | BOR | None | Yes | 64MHZ | No | No | 2 | 1 | 12 | 0 | Yes | 2 | 1 | 8 | Yes | Yes | 0 | 1 | No | 2 | 3 | 1 | 2 | 3 | 3 | 0 | 6 | 3 | 16 | 0 | No | No | 3 | 2 | 1 | 0 | None | No | 0 | 0 | 0 | None | Yes | No | No | Yes | Yes | 4 | 3 | 1 | 0 | ADC2 with HCVD | 0 | 0 | Yes | 0 | No | No | None | -40 | 125 | 1.8 | 5.5 | No | 14/SOIC, 14/TSSOP | |
PIC18F06Q40 | 64 | 4096 | 512 | 14 | 0 | 11 | In Production | $0.77 | 8-bit PIC MCU | 8 | 8-bit MCU | 32 | No | 12 | 64 | Yes | No | BOR | None | Yes | 64MHZ | No | No | 2 | 1 | 12 | 0 | Yes | 2 | 1 | 8 | Yes | Yes | 0 | 1 | No | 2 | 3 | 1 | 2 | 3 | 3 | 0 | 6 | 3 | 16 | 0 | No | No | 3 | 2 | 1 | 0 | None | No | 0 | 0 | 0 | None | Yes | No | No | Yes | Yes | 4 | 3 | 1 | 0 | ADC2 with HCVD | 0 | 0 | Yes | 0 | No | No | None | -40 | 125 | 1.8 | 5.5 | No | 14/SOIC, 14/TSSOP | |
PIC18F06Q41 | 64 | 4096 | 512 | 14 | 1 | 11 | In Production | $0.83 | 8-bit PIC MCU | 8 | 8-bit MCU | 32 | No | 12 | 64 | Yes | No | BOR | None | Yes | 64MHZ | No | No | 2 | 1 | 12 | 0 | Yes | 2 | 1 | 8 | Yes | Yes | 0 | 1 | No | 2 | 3 | 1 | 2 | 3 | 3 | 0 | 6 | 3 | 16 | 0 | No | No | 3 | 2 | 1 | 0 | None | No | 0 | 0 | 0 | None | Yes | No | No | Yes | Yes | 4 | 3 | 1 | 0 | ADC2 with HCVD | 0 | 0 | Yes | 0 | No | No | None | -40 | 125 | 1.8 | 5.5 | No | 14/SOIC, 14/TSSOP | |
PIC18F15Q40 | 32 | 2048 | 512 | 20 | 0 | 17 | In Production | $0.76 | 8-bit PIC MCU | 8 | 8-bit MCU | 64 | No | 18 | 64 | Yes | No | BOR | None | Yes | 64MHZ | No | No | 2 | 1 | 12 | 0 | Yes | 2 | 1 | 8 | Yes | Yes | 0 | 1 | No | 2 | 3 | 1 | 2 | 3 | 3 | 0 | 6 | 3 | 16 | 0 | No | No | 3 | 2 | 1 | 0 | None | No | 0 | 0 | 0 | None | Yes | No | No | Yes | Yes | 4 | 3 | 1 | 0 | ADC2 with HCVD | 0 | 0 | Yes | 0 | No | No | None | -40 | 125 | 1.8 | 5.5 | No | 20/PDIP, 20/SOIC, 20/SSOP, 20/VQFN | |
PIC18F15Q41 | 32 | 2048 | 512 | 20 | 1 | 17 | In Production | $0.81 | 8-bit PIC MCU | 8 | 8-bit MCU | 16 | No | 18 | 64 | Yes | No | BOR | None | Yes | 64MHZ | No | No | 2 | 1 | 12 | 0 | Yes | 2 | 1 | 8 | Yes | Yes | 0 | 1 | No | 2 | 3 | 1 | 2 | 3 | 3 | 0 | 6 | 3 | 16 | 0 | No | No | 3 | 2 | 1 | 0 | None | No | 0 | 0 | 0 | None | Yes | No | No | Yes | Yes | 4 | 3 | 1 | 0 | ADC2 with HCVD | 0 | 0 | Yes | 0 | No | No | None | -40 | 125 | 1.8 | 5.5 | No | 20/PDIP, 20/SOIC, 20/SSOP, 20/VQFN | |
PIC18F16Q40 | 64 | 4096 | 512 | 20 | 0 | 17 | In Production | $0.84 | 8-bit PIC MCU | 8 | 8-bit MCU | 32 | No | 18 | 64 | Yes | No | BOR | None | Yes | 64MHZ | No | No | 2 | 1 | 12 | 0 | Yes | 2 | 1 | 8 | Yes | Yes | 0 | 1 | No | 2 | 3 | 1 | 2 | 3 | 3 | 0 | 6 | 3 | 16 | 0 | No | No | 3 | 2 | 1 | 0 | None | No | 0 | 0 | 0 | None | Yes | No | No | Yes | Yes | 4 | 3 | 1 | 0 | ADC2 with HCVD | 0 | 0 | Yes | 0 | No | No | None | -40 | 125 | 1.8 | 5.5 | No | 20/PDIP, 20/SOIC, 20/SSOP, 20/VQFN | |
PIC18F16Q41 | 64 | 4096 | 512 | 20 | 1 | 17 | In Production | $0.90 | 8-bit PIC MCU | 8 | 8-bit MCU | 32 | No | 18 | 64 | Yes | No | BOR | None | Yes | 64MHZ | No | No | 2 | 1 | 12 | 0 | Yes | 2 | 1 | 8 | Yes | Yes | 0 | 1 | No | 2 | 3 | 1 | 2 | 3 | 3 | 0 | 6 | 3 | 16 | 0 | No | No | 3 | 2 | 1 | 0 | None | No | 0 | 0 | 0 | None | Yes | No | No | Yes | Yes | 4 | 3 | 1 | 0 | ADC2 with HCVD | 0 | 0 | Yes | 0 | No | No | None | -40 | 125 | 1.8 | 5.5 | No | 20/PDIP, 20/SOIC, 20/SSOP, 20/VQFN |