Digital Peripherals

  • Four 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)
  • Three 8-Bit Timers (TMR2/4/6) with Hardware Limit Timer (HLT)
  • Two Universal Timers (TMRU16A/16B):
    • 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 Cell (CLC):
    • Integrated combinational and sequential logic
  • Three Complimentary Waveform Generators (CWG):
    • Rising and falling edge dead-band control
    • Full-bridge, half-bridge, 1-channel drive
    • Multiple signal sources
    • Programmable dead band
    • Fault-shutdown input
  • Three Capture/Compare/PWM (CCP) Modules:
    • 16-bit resolution for Capture/Compare modes
    • 10-bit resolution for PWM mode
  • Three Numerically Controlled Oscillators (NCO):
    • Generates true linear frequency control and increased frequency resolution
    • Input clock up to 64 MHz
  • Signal Measurement Timer (SMT):
    • 24-bit timer/counter with prescaler
    • Several modes of operation such as Time-of-Flight, Period and Duty Cycle measurement, etc.
  • Data Signal Modulator (DSM):
    • Multiplex two carrier clocks, with glitch prevention feature
    • Multiple sources for each carrier
  • Programmable CRC with Memory Scan:
    • Reliable data/program memory monitoring for Fail-Safe operation (e.g., Class B)
    • Calculate 16-bit CRC over any portion of Program Flash Memory
  • CAN Module:
    • Full CAN 2.0B compatibility
    • One dedicated transmit FIFO
    • Three programmable transmit/receive FIFOs
    • One transmit event queue
    • 12 acceptance masks/filters
  • Five UART Modules:
    • LIN host and client, DMX mode, DALI gear and device protocols
    • Asynchronous UART, RS-232, RS-485 compatible
    • Automatic and user timed BREAK period generation
    • Automatic checksums
    • Programmable 1, 1.5, and two Stop bits
    • Wake-up on BREAK reception
    • DMA compatible
  • Two SPI Modules:
    • 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:
    • 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
    • Multi-Host mode, including self-addressing
  • Device I/O Port Features:
    • 25 I/O pins (PIC18F26/27Q83)
    • 36 I/O pins (PIC18F46/47Q83)
    • 44 I/O pins (PIC18F56/57Q83)
    • 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