0
PIC18F05Q40
  • PIC18F05Q40
  • PIC18F05Q40

PIC18F05Q40

In Production

PIC18-Q40 is a compact, high performance PIC18 product family for real-time control and sensor applications . The products are equipped with an 12-bit ADC with Computation, 8-bit DACs, 16-bit PWMs, Direct Memory Access, Configurable Logic Cells and multiple communication interfaces. The PIC18-Q40 offers 14- and 20-pin products in small footprint packages to support customers in a wide range of space constrained applications.PIC18-Q40 Product Family OverviewCode Examples  Functional Safety: This product is recommended for safety critical applications targeting both industrial and automotive products (IEC 61508 and ISO 26262). Necessary documentation such as FMEDA report and Safety Manual can be provided on request. Certified development tools are also available for ...

Microchip Technology PIC18F05Q40 Product Info

16 April 2026 0

Parameters

Program Memory Size (KB)

32

RAM

2048

Data EEPROM (bytes)

512

Pin Count

14

Operation Voltage Max.(V)

5.5

Operation Voltage Min.(V)

1.8

ADC Resolution Max

12

ADC Channels

11

Zero Cross Detect

True

Number of Comparators

2

SPI

2

I2C

1

Stand alone PWM

3

Low Power

Yes

Numerically Controlled Oscillator (NCO)

1

Data Signal Modulator (DSM)

1

Features

    Four Direct Memory Access (DMA) Controllers
    Three 16-bit dual PWMs provide six PWM outputs
    Vectored Interrupt (VI) Capability - Faster interrupt response time
  • Selectable high/low priority
  • Fixed interrupt latency of three instruction cycles
  • Programmable vector table base address
  • Backwards compatible with previous interrupt capabilities
    Memory Access Partition (MAP): The Program Flash Memory can be partitioned into:
  • Application Block
  • Boot Block
  • Storage Area Flash (SAF) Block
    Device Information Area (DIA) Stores:
  • Temperature Indicator factory calibrated data
  • Fixed Voltage Reference measurement data
  • Microchip Unique Identifier
    Low Power Mode Features:
  • Sleep: < 1μA typical @ 3V
  • Doze: CPU and Peripherals Running at Different Cycle Rates (typically CPU is lower)
  • Idle: CPU Halted While Peripherals Operate
  • Sleep: Lowest Power Consumption
    Peripheral Module Disable (PMD):
  • Selectively disable hardware module to minimize active power consumption of unused peripherals
    Peripheral Pin Select (PPS):
  • Enables pin mapping of digital I/O
    Analog-to-Digital Converter with Computation (ADCC):
  • Automated math functions on input signals such as averaging, filter calculations, oversampling and threshold comparison
  • Operates in Sleep
  • Four internal analog channels
    Hardware Capacitive Voltage Divider (CVD) Support:
  • Automates touch sampling and reduces software size and CPU usage
  • Four external inputs
    Two 8-Bit Digital-to-Analog Converter (DAC):
  • Buffered output available on two I/O pins
  • Internal connections to ADC and Comparators
    Two Comparators (CMP):
  • Four external inputs
  • Configurable output polarity
  • External output via Peripheral Pin Select
    Zero-Cross Detect (ZCD):
  • Detect when AC signal on pin crosses ground
    Voltage Reference:
  • Fixed Voltage Reference with 1.024V, 2.048V and 4.096V output levels
  • Internal connections to ADC, Comparator and DAC
    Three UART - One UART supports LIN/DMX/DALI
  • DMA compatible
  • Asynchronous UART, RS-232, RS-485 compatible
  • Programmable 1, 1.5, 2 stop bits
    Two SPI modules:
  • Configurable length bytes
  • Arbitrary length data packets
  • Transmit-without-Receive and Receive-without-transmit option
  • Transfer byte counter
  • Separate transmit and receive buffers with 2-byte FIFO and DMA capabilities
    One I2C module, SMBus, PMBus™ Compatible:
  • 7-bit and 10-bit addressing modes with address masking modes
  • Dedicated address, transmit and receive buffers and DMA capabilities
  • I2C, SMBus 2.0 and SMBus 3.0, and 1.8V input level selections
  • Multi-Master mode, including self-addressing
    Programming/Debugging Features:
  • In-Circuit Serial Programming™ (ICSP™) via Two Pins
  • In-Circuit Debug (ICD) with Three Breakpoints via Two Pins
  • Debug Integrated On-Chip

Description

PIC18-Q40 is a compact, high performance PIC18 product family for real-time control and sensor applications . The products are equipped with an 12-bit ADC with Computation, 8-bit DACs, 16-bit PWMs, Direct Memory Access, Configurable Logic Cells and multiple communication interfaces. The PIC18-Q40 offers 14- and 20-pin products in small footprint packages to support customers in a wide range of space constrained applications.

PIC18-Q40 Product Family Overview

Code Examples

 

Functional Safety:

This product is recommended for safety critical applications targeting both industrial and automotive products (IEC 61508 and ISO 26262). Necessary documentation such as FMEDA report and Safety Manual can be provided on request. Certified development tools are also available for this product. Please contact your local Microchip sales office or your distributor for more information.

Subscribe to Welllinkchips !
Your Name
* Email
Submit a request