PIC18F6680-I/L Microchip Technology, PIC18F6680-I/L Datasheet - Page 277

Microcontrollers (MCU) 64KB 3328 RAM 52 I/O

PIC18F6680-I/L

Manufacturer Part Number
PIC18F6680-I/L
Description
Microcontrollers (MCU) 64KB 3328 RAM 52 I/O
Manufacturer
Microchip Technology
Datasheet

Specifications of PIC18F6680-I/L

Processor Series
PIC18F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
3.25 KB
Interface Type
I2C/SPI/AUSART/CAN
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
53
Number Of Timers
5
Operating Supply Voltage
4.2 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734, 52712-325, EWPIC18
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, ICE4000, DV164136
Minimum Operating Temperature
- 40 C
On-chip Adc
12-ch x 10-bit
Program Memory Type
Flash
Program Memory Size
64 KB
Package / Case
PLCC-68
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F6680-I/L
Manufacturer:
RUBYCON
Quantity:
46 000
Part Number:
PIC18F6680-I/L
Manufacturer:
MICROCH
Quantity:
20 000
23.0
PIC18F6585/8585/6680/8680
Enhanced Controller Area Network (ECAN) module.
The ECAN module is fully backward compatible with
the CAN module available in PIC18CXX8 and
PIC18FXX8 devices.
The Controller Area Network (CAN) module is a serial
interface which is useful for communicating with other
peripherals or microcontroller devices. This interface,
or protocol, was designed to allow communications
within noisy environments.
The ECAN module is a communication controller,
implementing the CAN 2.0A or B protocol as defined in
the BOSCH specification. The module will support
CAN 1.2, CAN 2.0A, CAN 2.0B Passive and CAN 2.0B
Active versions of the protocol. The module implemen-
tation is a full CAN system; however, the CAN specifi-
cation is not covered within this data sheet. Refer to the
BOSCH CAN specification for further details.
The module features are as follows:
• Implementation of the CAN protocol CAN 1.2,
• DeviceNet
• Standard and extended data frames
• 0-8 bytes data length
• Programmable bit rate up to 1 Mbit/sec
• Fully backward compatible with PIC18XX8 CAN
• Three modes of operation:
• Support for remote frames with automated handling
• Double-buffered receiver with two prioritized
• Six buffers programmable as RX and TX
• 16 full (standard/extended identifier) acceptance
• Two full acceptance filter masks that can be
• One full acceptance filter that can be used as either
• Three dedicated transmit buffers with application
• Programmable wake-up functionality with
• Programmable Loopback mode supports self-test
• Signaling via interrupt capabilities for all CAN
• Programmable clock source
• Programmable link to timer module for
• Low-Power Sleep mode
 2004 Microchip Technology Inc.
CAN 2.0A and CAN 2.0B
module
- Mode 0 – Legacy mode
- Mode 1 – Enhanced Legacy mode with
- Mode 2 – FIFO mode with DeviceNet support
received message storage buffers
message buffers
filters that can be linked to one of four masks
assigned to any filter
an acceptance filter or acceptance filter mask
specified prioritization and abort capability
integrated low-pass filter
operation
receiver and transmitter error states
time-stamping and network synchronization
DeviceNet support
ECAN MODULE
TM
data bytes filter support
devices
contain
PIC18F6585/8585/6680/8680
an
23.1
The CAN bus module consists of a protocol engine and
message buffering and control. The CAN protocol
engine automatically handles all functions for receiving
and transmitting messages on the CAN bus. Messages
are transmitted by first loading the appropriate data
registers. Status and errors can be checked by reading
the appropriate registers. Any message detected on
the CAN bus is checked for errors and then matched
against filters to see if it should be received and stored
in one of the two receive registers.
The CAN module supports the following frame types:
• Standard Data Frame
• Extended Data Frame
• Remote Frame
• Error Frame
• Overload Frame Reception
• Interframe Space Generation/Detection
The
RG1/CANTX2 and RG2/CANRX pins to interface with
the CAN bus. In Normal mode, the CAN module
automatically overrides the TRISG0 and TRISG1 bits
of the CAN module pins.
23.1.1
The CAN bus module consists of a protocol engine,
message buffering and control (see Figure 23-1). The
protocol engine can best be understood by defining the
types of data frames to be transmitted and received by
the module.
The following sequence illustrates the necessary initial-
ization steps before the ECAN module can be used to
transmit or receive a message. Steps can be added or
removed depending on the requirements of the
application.
1.
2.
3.
4.
5.
Ensure that the ECAN module is in Configuration
mode.
Select ECAN Operational mode.
Set up the baud rate registers.
Set up the filter and mask registers.
Set the ECAN module to Normal mode or any
other mode required by the application logic.
CAN
Module Overview
MODULE FUNCTIONALITY
module
uses
the
DS30491C-page 275
RG0/CANTX1,

Related parts for PIC18F6680-I/L