Microchip logo
  • All
  • Products
  • Documents
  • Applications Notes

Wired Communication

Integrated Analog Icon

Whether you are considering adding wired or wireless connectivity to your application, Microchip supports a wide variety of communication protocols.

It's easy to couple the PIC24 or dsPIC33 devices with Microchip's certified Bluetooth® Wi-Fi and LoRa®modules. Peripherals for CAN 2.0, CAN FD, LIN, SENT and USB are integrated onto our 16-bit devices with supporting free software libraries.

CAN 2.0 and CAN FD: Controller Area Network Flexible Data-Rate

Controller Area Network (CAN) industrial and automotive centric asynchronous serial data communication protocol provides reliable communications in an electrically noisy environment. The dsPIC33 DSCs offer CAN 2.0B and CAN FD compliant modules that are programmable up to 1 Mbps and 8 Mbps respectively. Microchip offers 11898-1:2015 (ISO CAN FD) compliant integrated CAN FD peripheral for improved bandwidth utilization of CAN bus. The info below provides insight into this enhanced CAN module:

Family Reference Manual Section (FRM):
dsPIC33E/PIC24E FRM - Enhanced Controller Area Network
dsPIC33/PIC24 FRM - CAN Flexible Data-Rate (FD) Protocol Module

Code Examples:
CE034 – dsPIC30 CAN Loopback
CE127 – dsPIC33F Crosswire Communication between ECAN 1 and ECAN 2 modules
CE128 – dsPIC33F ECAN FIFO Receive Example
CE129 – dsPIC33F ECAN Remote Transmission
CE227 – PIC24H Crosswire Communication between ECAN 1 and ECAN 2 modules
CE228 – PIC24H ECAN FIFO Receive Example
CE229 – PIC24H ECAN Remote Transmission Request
CE427 – PIC24E and dsPIC33E Crosswire Communication between CAN 1 and CAN 2 modules
CE428 – PIC24E and dsPIC33E Transmitting multiple messages from CAN 1 and receiving it in CAN 2 FIFO
CE429 – PIC24E and dsPIC33E Transmitting a remote Message from CAN 1 and requesting TX from CAN 2

Introduction to Controller Area Network (CAN)
Microchip CAN BUS Analyzer Demonstration
5V CAN LIN Starter Kit for Digital Signal Controllers (DSCs)
Set up CAN in Minutes Using MPLAB® Code Configurator

UART / IrDA®: Universal Asynchronous Receiver Transceiver

Universal Asynchronous Receiver Transceiver (UART) is a general-purpose full-duplex, 8-bit or 9-bit data serial communications with optional ISO 7816 Smart Card support and includes the IrDA encoder and decoder. Below is documentation, App Notes, and code examples to assist in implementing the UART / IRDA:

Family Reference Manual Section (FRM):

Application Notes:
AN1071 - IrDA Standard Stack for Microchip 16-Bit MCUs
AN1370 - Smart Card Communication Using PIC® MCUs

Code Examples:
AN1071 Source Code - IrDA Standard Stack for Microchip 16-bit Microcontrollers
CE362 – PIC24F Hyperterminal – UART – PMP – LCD
CE362 – PIC24F Hyperterminal – UART – I2C – LCD
CE414 -- PIC24E and dsPIC33E UART Loop-back
CE437 – PIC24E and dsPIC33E UART no DMA
CE114 – dsPIC33F Using the DMA with the UART in Loopback mode
CE137 – dsPIC33F UART without DMA

PIC24 Peripherals UART I2C and SPI

LIN: Local Interconnect Network

The Local Interconnect Network (LIN) connection for Industrial- and automotive-centric communication bus is available for use with PIC® microcontrollers. Learn more below about the module and associated software:

Application Note:
AN729 - LIN Protocol Implementation Using PICmicro® MCUs

Software Tool:
LIN Driver Configuration Tool

I2C: Inter-Integrated Circuit

Inter-Integrated Circuit (I2C) is a general purpose 2-wire inter IC serial interface for communicating with other peripherals or microcontroller devices. The external peripheral devices may be serial EEPROMs, display drivers, Analog-to-Digital Converters (ADC) and so on. Learn how to operate the I2C module as a slave device or master device in a single master system or multi-master system:

Family Reference Manual Section (FRM):
dsPIC33/PIC24 FRM - I2C

Application Notes:
AN578 - Use of the SSP Module in the I2C Multi-Master Environment
AN734 - Using the Mid-Range Enhanced Core PIC16 Devices’ MSSP Module for Slave I2C Communication
AN735 - Using the PICmicro® MSSP Module for Master I2C Communications
AN736 - An I2C Network Protocol for Environmental Monitoring

Code Examples:
CE145 - dsPIC33F Using I2C modules as a Slave device
CE311 – PIC24F I2C Master EEPROM
CE363 - dsPIC33F Using I2C modules as a Slave device
CE419 - PIC24E and dsPIC33E I2C Serial EEPROM Interface
CE445 - PIC24E and dsPIC33E Using I2C modules as Slave device

PIC24 Peripherals UART I2C and SPI

I2S: Inter-IC Sound

Inter-IC Sound  (I2S) Is a data converter implementing a 3-wire synchronous half duplex serial interface to handle stereo data and is one of the interfaces supported by the Data Converter Interface  (DCI). Learn how the DCI automatically handles this interface: 

Family Reference Manual Section (FRM):
dsPIC33E/PIC24E FRM - Inter-IC Sound (I2S) in the DCI FRM

PIC24 Peripherals UART I2C and SPI

DCI: Data Converter Interface

Data Converter Interface (DCI) - allows simple interfacing between the dsPIC33E / PIC24E devices and audio devices, such as audio coder/decoders (codecs), Analog-to-Digital Converters (ADCs) and Digital-to-Analog Converters (DACs). The following interfaces are supported on the DCI: Framed Synchronous Serial Transfer (single-channel or multi-channel), Inter-IC Sound (I2S) Interface, and AC-Link Compliant mode. Learn about these interfaces, control registers, and more below;

Family Reference Manual Section (FRM):
dsPIC33E/PIC24E FRM - Data Converter Interface (DCI)

Audio DAC Peripheral on dsPIC DSC devices
Audio DAC Devices Hardware and Software Tools

SENT: Single-Edge Nibble Transmission

Single-Edge Nibble Transmission (SENT) is an unidirectional, single-wire serial communications protocol designed for point-to-point transmission of signal values and is a dedicated hardware implementation of SAE J2716. Learn about the features and modes of operation below:

Family Reference Manual Section (FRM):
dsPIC33/PIC24 FRM - Single-Edge Nibble Transmission (SENT)

EPMP: Enhanced Parallel Master Port

The Enhanced Parallel Master Port (EPMP) provides a parallel 4-bit (Master mode only), 8-bit (Master and Slave modes) or 16-bit (Master mode only) data bus interface to communicate with a wide variety of parallel devices, such as communication peripherals, LCDs, external memory devices and microcontrollers. Find more info on the PMP registers, modes, and application examples below:

Family Reference Manual Section (FRM):
PIC24F FRM – Enhanced Parallel Master Port (EPMP)
PIC24F FRM - Parallel Master Port (PMP)

PIC24 Peripherals The Parallel Master Port

MSSP: Master Synchronous Serial Port

The Master Synchronous Serial Port (MSSP) module is an 8-bit serial interface, useful for communicating with other peripheral or microcontroller devices. These peripheral devices may be serial EEPROMs, shift registers, display drivers, A/D converters, etc. In addition, the MSSP offers multiplexed functionality of SPI & I2C in single module. Gain more insight on the MSSP below:

Family Reference Manual Section (FRM):
Wireless Connectivity

Microchip offers a broad portfolio of wireless solutions which are cost effective and very easy to implement. Depending on your application requirements, you can choose the product that fits your needs from our various transmitters, receivers, transceivers and agency certified modules for IEEE 802.15.4/ZigBee®, Bluetooth®, ISM Band Sub-GHz and IEEE 802.11 Wi-Fi®. With the growing Internet of Things, Microchip has a LoRa® technology wireless solution to address increasing demands on end-devices for long range connectivity, low-power for battery operation, and low infrastructure cost for volume deployment. Learn more about these wireless solutions.

Key Attributes

  • USB 2.0 Full-Speed Support for Host and Device
  • Point-to-point transmission of signal values
  • Control and monitor operation
  • Communicate with a wide variety of devices and peripherals


Target Applications

  • Automotive Applications
    • ECU
    • Brake and Fuel Management
  • Sensor Interface
  • Serial Communication and Data Bridge
  • Data Loggers and Communication Bridge
  • Smart Card Reader


  • IC Interface
  • Interface with External Modules
    • LCD Controller
    • Memory
    • External Microcontrollers
  • Parallel Communication
  • Communication Bridge

16-bit Video Channel