Skip to main content
Application NoteMicrochip

AN916: Comparing CAN and ECAN Modules

A comparison of the standard CAN module in PIC18FXX8 and the Enhanced CAN (ECAN) module in PIC18FXX8X microcontrollers, focusing on latency, processing time, and buffer efficiency.

View application note

Overview

This application note (AN916) provides a technical comparison between the original CAN module and the Enhanced Control Area Network (ECAN) module available in Microchip PIC18 microcontrollers. It evaluates performance based on code processing time (assembly instructions) and transmission/reception times. The document details the advantages of ECAN, such as automated Remote Transmission Request (RTR) handling, DeviceNet support, and flexible FIFO buffer modes. It includes quantitative data analyzing processing overhead and bus duty cycles at various clock frequencies from 16 MHz to 40 MHz, demonstrating how ECAN reduces CPU load and improves effective data throughput in high-speed 1 Mbit/sec bus environments.

Use Cases

  • Migrating designs from PIC18FXX8 to PIC18FXX8X microcontrollers
  • Optimizing hard real-time CAN bus latency
  • Implementing DeviceNet protocols on PIC18 devices
  • Reducing CPU overhead in high-speed industrial networking applications

Topics

CAN
ECAN
PIC18FXX8X
PIC18FXX8
Microchip
Controller Area Network
DeviceNet
Transmission Latency
RTR
FIFO Mode

Referenced Parts

PIC18FXX8

Microchip

the original CAN module present in the PIC18FXX8 family

PIC18FXX8X

Microchip

the PIC18FXX8X family of microcontrollers featuring the Enhanced Control Area Network (ECAN) module

PIC18XX8

Microchip

Fully backward compatible with PIC18XX8 CAN module