Digital Peripherals

  • Three 16-Bit Pulse-Width Modulators (PWM):
    • Dual outputs for each PWM module
    • Integrated 16-bit timer/counter
    • Double-buffered user registers for duty cycles
    • Right/Left/Center/Variable Aligned modes of operation
    • Multiple clock and Reset signal selections
  • Three 16-Bit Timers (TMR0/1/3)
  • Two 8-Bit Timers (TMR2/4) with Hardware Limit Timer (HLT)
  • Two Universal Timers (TU16A/TU16B):
    • New Timer modules with features of TMR0/TMR1/TMR2 (Gate, Hardware Limit)
    • Two 16-bit timers can be chained together to create a combined 32-bit timer
  • Eight Configurable Logic Cells (CLC):
    • Integrated combinational and sequential logic
  • One Complimentary Waveform Generator (CWG):
    • Rising and falling edge dead-band control
    • Full Bridge, Half Bridge, One-Channel drive modes
    • Multiple signal sources
    • Programmable dead band
    • Fault-shutdown input
  • Two Capture/Compare/PWM (CCP) Modules:
    • 16-bit resolution for Capture/Compare modes
    • 10-bit resolution for PWM mode
  • One Numerically Controlled Oscillator (NCO):
    • Generates true linear frequency control and increased frequency resolution
    • Input clock up to 64 MHz
  • Programmable CRC with Memory Scan:
    • Reliable data/program memory monitoring for Fail-Safe operation (e.g., Class B)
    • Calculate 32-bit CRC over any portion of Program Flash Memory
  • Two UART Modules:
    • One module (UART1) supports LIN host and client, DALI® mode and DMX512 mode
    • Asynchronous UART, RS-232, RS-485 compatible
    • Automatic and user timed BREAK period generation
    • Automatic checksums
    • Programmable Stop bits (1, 1.5 and 2 Stop bits)
    • Wake-up on BREAK reception
    • DMA compatible
  • One SPI Module:
    • Configurable length bytes
    • Arbitrary length data packets
    • Transmit-without-receive and receive-without-transmit options
    • Transfer byte counter
    • Separate transmit and receive buffers with 2-byte FIFO and DMA capabilities
  • One I2C Module, SMBus, PMBus™ Compatible:
    • Supports Standard mode (100 kHz), Fast mode (400 kHz) and Fast mode plus (1 MHz) modes of operation
    • 7-bit and 10-bit Addressing modes with Address Masking modes
    • Dedicated address, transmit and receive buffers and DMA capabilities
    • Bus collision detection with arbitration
    • Bus time-out detection and handling
    • I2C, SMBus 2.0 and SMBus 3.0, and 1.8V input level selections
    • Separate transmit and receive buffers with 2-byte FIFO and DMA capabilities
    • Multi-Host mode, including self-addressing
  • 8-Bit Signal Routing Port Module:
    • Provides internal ports used to interconnect digital peripherals
    • Module can form hardware state machines without any external pins
    • Interrupt-on-change and DMA triggers available on all Signal Routing pins
  • Device I/O Port Features:
    • 26 I/O pins (PIC18F24/25/26Q71)
    • 37 I/O pins (PIC18F44/45/46Q71)
    • 44 I/O pins (PIC18F54/55/56Q71)
    • Individually programmable I/O direction, open-drain, slew rate and weak pull-up control
    • Interrupt-on-change on most pins
    • Three programmable external interrupt pins
  • Peripheral Pin Select (PPS):
    • Enables pin mapping of digital I/O