Zenode.ai Logo
Beta
PIC18F05Q40

PIC18F05Q40 Series

Robust MCUs for Compact Designs

Manufacturer: Microchip Technology

Catalog

Robust MCUs for Compact Designs

Key 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

AI
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***](https://www.microchip.com/en-us/products/microcontrollers-and-microprocessors/8-bit-mcus/pic-mcus/pic18-q40) [***Code Examples***](https://mplab-discover.microchip.com/v1/itemtype/com.microchip.ide.project?s0=com.microchip.ide.project%3Adevice.content.name%3Aq40&ds0=com.microchip.portal.start.displayCharacteristics%3A1.0.3%3As0) **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.