PIC18F "K42" Product Family
High Performance and Large Memory 8-bit MCUs
The PIC18F “K42” family of microcontrollers consists of 10 highly integrated products — ranging from 16-128 KB of flash memory with package options covering 28-48 pins. This family is equipped with a comprehensive and rich set of Core Independent Peripherals (CIP) and Intelligent Analog features allowing for many functional tasks to be done in hardware – saving code, validation time, core overhead, and power consumption.
The MCUs feature a 12-bit ADC with Computation (ADC2), Direct Memory Access (DMA), Vector Interrupt (VI) Controller and other system enhancements. They are ideal for an extensive range of applications and markets, including automotive, industrial control, Internet of Things (IoT), medical and white goods. The MCUs offer a full suite of Core Independent Peripherals for safety critical applications (Cyclic Redundancy Check with Memory Scan, Windowed Watchdog Timer, 24-bit Signal Measurement Timer, Hardware Limit Timer, Complementary Waveform Generation), up to eight hardware PWMs and multiple communications interfaces. They include a Configurable Logic Cell which integrates hardware functions to simplify and accelerate many common tasks.
The products offer intelligent analog peripherals including Zero Cross Detect (ZCD), on-chip comparator, and a 12-bit ADC with Computation (ADC2) automating Capacitive Voltage Divider (CVD) techniques for advanced touch sensing, averaging, filtering, oversampling, and threshold comparison.
Improved Peripheral Performance
The Direct Memory Access (DMA) Controller eliminates the need for CPU involvement in data transfers between all memory spaces and peripherals, thereby reducing the number of interrupts and improving peripheral performance.
Faster Interrupt Response Times
The Vectored Interrupt (VI) reduces response time by providing hardware ensured
Enhanced System Features
Memory Access Partition (MAP) supports customers in data protection and bootloader applications. Device Information Area (DIA) is a dedicated memory space for factory programmed device ID and peripheral calibration values. Additionally, the MCUs have improved serial communications, including UART with support for Asynchronous, DMX, DALI and LIN protocols along with higher-speed, standalone I2C and SPI serial communication interfaces.
- 64MHz Internal Oscillator
- Up to 128KB Flash Program Memory
- Up to 1KB Data EEPROM
- Up to 8K of SRAM
- Vectored Interrupt Capability
- Direct Access Memory (DMA) Controllers
- 12-bit ADC with Computation (ADC2), up to 43 channels
- Memory Access Partition (MAP)
- Device Information Area (DIA)
- Windowed Watch Dog Timer (WWDT)
- Up to three Complementary Waveform Generator (CWG)
- Four Configurable Logic Cell (CLC)
- Peripheral Pin Select (PPS)
- Two Comparators
- Zero Cross Detect (ZCD)
- On-chip Temperature Indicator
- Data Signal Modulator (DSM)
- 5-bit DAC
- Capacitive Voltage Divider (CVD)
- Up to four 10-bit PWMs
- Communication: UART, SPI, and I2C
- Available in 28-, 40- and 48-pins
Data Signal Modulator (DSM) offers smooth signal switching. When paired with 16-bit PWM, LED dimming engine functionality is created.