首页|嵌入式系统|显示技术|模拟IC/电源|元件与制造|其他IC/制程|消费类电子|无线/通信|汽车电子|工业控制|医疗电子|测试测量
首页 > 分享下载 > 嵌入式系统 > PIC18C ECAN ‘C’例程

PIC18C ECAN ‘C’例程

资料介绍
The Enhanced Controller Area Network (ECAN) mod-
ule, offered by many of the PIC18F family of PICmicro
®
microcontrollers, is the latest enhancement to the exist-
ing legacy CAN module. Devices such as the
PIC18C658/858 and PIC18F248/258/448/458 use the
legacy CAN module.
ECAN offers many enhancements over the legacy
CAN module in terms of more transmit/receive buffers,
acceptance filters, and hardware FIFO operation. At
the same time, the ECAN module is fully backward
compatible with the legacy CAN module.
ECAN provides three modes of operation – Mode 0,
Mode 1 and Mode 2. Mode 0 is fully backward compat-
ible with the legacy CAN module. Applications devel-
oped for the legacy CAN module would continue to
work without any change using ECAN. Mode 1 is the
Enhanced Legacy mode with increased buffers and fil-
ters. Mode 2 has the same resources as Mode 1, but
with a hardware managed receive FIFO. Given its fea-
tures and flexibility, ECAN would prove useful to many
CAN-based applications.
This application note implements ‘C’ routines to access
all features of the ECAN module. This document does
not describe ECAN and the related PIC18F family in
detail. Readers are encouraged to read the
PIC18F6585/6680/8585/8680 device data sheet
(DS30491) for more information.
AN878
PIC18C ECAN ‘C’ Routines

Authors: Caio Gübel and Nilesh Rajbharti OVERVIEW OF ECAN MODULE
Microchip Technology, Inc. Following are the main features of the ECAN module:
Fully backward compatible with the legacy CAN
INTRODUCTION module
Three functional modes:
The Enhanced Controller Area Network (ECAN) mod- - Mode 0 ……
标签:ECANECANC例程PIC18CECAN
PIC18C ECAN ‘C’例程
本地下载

评论