- PIC MCUs
- AVR MCUs
- 8051 MCUs
- Angular Timer
- Configurable Logic Cell
- Cyclic Redundancy Check
- Complementary Waveform Generator
- Direct Memory Access
- Event System
- High Endurance Flash
- Math Accelerator
- Numerically Controlled Oscillator
- Peripheral Pin Select
- Pulse-Width Modulation
- Temperature Indicator
- Timer Peripheral
- Windowed Watch Dog Timer
- Intelligent Analog
- Input and Output Features
- Core Independent
- Functional Safety
- PIC Hardware
- PIC Software
- AVR Hardware
- AVR Software
8-bit Development Tools
PIC18-Q41 Product Family
Microcontrollers for Improved Sensor Interface Designs
The PIC18-Q41 family of microcontrollers (MCUs) integrates intelligent analog capabilities with powerful Core Independent Peripherals (CIPs) for small, high-performance data acquisition and sensor interfacing applications. These MCUs are uniquely equipped with an Operational Amplifier (OPA), a 12-bit Analog-to-Digital Converter with Computation (ADCC) and two 8-bit Digital-to-Analog Converters (DACs) to provide you with an ideal starting point for any design where signal amplification, filtering and conditioning is needed. Going beyond hardware with our expansive software tool library, you can easily configure peripherals and functions, generate application code and simulate analog circuits prior to hardware prototyping to reduce your development time and speed up your time to market. PIC18-Q41 MCUs are well suited for many applications including medical devices, Internet of Things (IoT) edge nodes, wearables, LED lighting, home automation systems, automotive and motor control applications, and industrial process control. If a cost-effective MCU with comparable performance is needed, PIC18-Q40 MCUs are a good option.
The PIC18-Q41 family’s unique combination of peripherals makes it an excellent choice for medical devices, especially for IoT-based medical applications. When you combine the capabilities of this family with our experience as an embedded solutions partner to thousands of medical device companies, you can rest assured that your medical product is prepared to go the extra mile.
Intelligent Sensing Capabilities
The PIC18-Q41 family integrates intelligent analog peripherals for amplification, filtering and signal conditioning used in sensing and measurement applications. They include an Operational Amplifier (OPA), 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. These features significantly reduce the component count in the analog signal chain.
Improved System Response
The configurable CIPs require almost no additional code and no additional components to enable this family of MCUs to handle and accomplish mission-critical and time-sensitive tasks smoothly entirely without CPU intervention. They save Flash memory and allow you to use the CPU’s resources to run complex systems as efficiently as possible. This combination of benefits simplifies your design while reducing power consumption and increasing system responsiveness.
The PIC18-Q41 family features four Direct Memory Access (DMA) controllers that enable you to quickly transfer data between different memory locations without any CPU interaction. You can use DMA techniques, such as Configuration Context Switching, to reduce power consumption while increasing your system’s performance.
The four on-board, user-customizable Configurable Logic Cells (CLCs) simplify the implementation of on-board signal and logic control. The CLC lets you integrate a combination of external and internal signals as inputs and connect on-board peripherals to reduce the number of external components needed for your design, which reduces your PCB footprint and overall system cost.
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 I2C and SPI modules.
Building Blocks for Function Enablement
Operational Amplifier (OPA)
The Analog to Digital Converter with Computation (ADCC) helps accelerate common math tasks normally done in software by providing post-processing functions like averaging, low-pass filter, oversampling and threshold comparison.
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.
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.
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.
The Capture Compare PWM provides 16-bit signal capture and compare, as well as 10-bit PWM output functionality.
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.
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) 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.
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.
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.
PIC18-Q41 Key Attributes
- 64 MHz internal oscillator
- Up to 64 KB Flash program memory
- Up to 4 KB data SRAM
- 512B data EEPROM
- Two 8-bit buffered DACs
- 12-bit ADCC with up to 17 channels
- Four DMA channels
- Three 16-bit dual PWMs
- Four CLCs
- Three CWGs
- Two analog comparators
- 32-bit CRC
- Three UART, SPI and I2C interfaces
- Available in 14- and 20-pin packages