Other intelligent analogue functions include a Zero Cross Detect (ZCD) constant current I/O & comparator; there is up to 128 kB of Flash and on-chip EEPROM. The PIC18F “K40” family of MCUs comprises 10 devices ranging from 16-128 kB of Flash memory with package options covering 28-64 pins. These cost optimised 8-bit MCUs are the first PIC18 product family to offer Microchip’s Core Independent Peripherals (CIPs).
CIPs provide developers with the ability to accomplish tasks in hardware whilst freeing-up the CPU to do other tasks or go to sleep. This results in reduced power consumption, allows for deterministic response time, decreased firmware development and the time need for validation. The PIC18F “K40” features the ADC with Computation (ADC²), an intelligent analogue-to-digital Converter which, independent of the core, can control data-acquisition and signal-analysis functions required in sensor interface applications, such as capacitive touch sensing.
The addition of CIPs to the PIC18F “K40” builds on the PIC18F “K20” family. These new devices offer 5V operation, EEPROM and extensive peripheral integration. The devices include a full complement of Core Independent Peripherals for safety-critical applications (CRC / Memory Scan, Windowed Watchdog Timer, and Hardware Limit Timer), up to seven hardware PWMs and multiple communications interfaces. In addition, the PIC18 “K40” family offers Intelligent Analogue peripherals including Zero Cross Detect (ZCD), on-chip comparator and ADC². The ADC² handles the signal analysis functions of averaging, filtering, oversampling and automatic threshold comparison independent of the CPU.
The device family is supported by the Curiosity High Pin Count (HPC) board and Microchip’s established software development platforms including MPLAB Code Configurator (MCC), MPLAB IDE, XC8 Complier, and Microchip’s cloud-based IDE MPLAB Xpress.
Package options range from 28-64 pins and include UQFN (4 x 4 x 0.5 mm), QFN, SOIC, SSOP, TQFP, and DIP packages; see table on next page...