MCP2515-E/PRB2 Microchip Technology, MCP2515-E/PRB2 Datasheet - Page 53

no-image

MCP2515-E/PRB2

Manufacturer Part Number
MCP2515-E/PRB2
Description
CAN controller with SPI interface, 125 deg C, -40C to +125C, 18-PDIP, TUBE
Manufacturer
Microchip Technology
Datasheet
8.0
The MCP2515 is designed to be operated with a crystal
or ceramic resonator connected to the OSC1 and
OSC2 pins. The MCP2515 oscillator design requires
the use of a parallel cut crystal. Use of a series cut
crystal may give a frequency out of the crystal
manufacturers specifications. A typical oscillator circuit
is shown in
driven by an external clock source connected to the
OSC1 pin, as shown in
8.1
The MCP2515 utilizes an Oscillator Startup Timer
(OST) that holds the MCP2515 in reset to ensure that
the oscillator has stabilized before the internal state
machine begins to operate. The OST maintains reset
for the first 128 OSC1 clock cycles after power-up or a
wake-up from Sleep mode occurs. It should be noted
that no SPI protocol operations should be attempted
until after the OST has expired.
FIGURE 8-1:
FIGURE 8-2:
© 2007 Microchip Technology Inc.
OSCILLATOR
Oscillator Startup Timer
Note 1: A resistor to ground may be used to reduce system noise. This may increase system current.
Figure
2: Duty cycle restrictions must be observed (see
8-1. The MCP2515 may also be
Note 1: A series resistor (R
CRYSTAL/CERAMIC RESONATOR OPERATION
EXTERNAL CLOCK SOURCE
Figure 8-2
external system
Clock from
2: The feedback resistor (R
C
C
and
1
2
Figure
R
XTAL
S
OSC1
OSC2
(1)
Open
(1)
8-3.
S
) may be required for AT strip cut crystals.
R
F
F
), is typically in the range of 2 to 10 MΩ.
(2)
8.2
The CLKOUT pin is provided to the system designer for
use as the main system clock or as a clock input for
other devices in the system. The CLKOUT has an inter-
nal prescaler which can divide F
The CLKOUT function is enabled and the prescaler is
selected
Register 10-1).
The CLKOUT pin will be active upon system reset and
default to the slowest speed (divide by 8) so that it can
be used as the MCU clock.
When Sleep mode is requested, the MCP2515 will
drive sixteen additional clock cycles on the CLKOUT
pin before entering Sleep mode. The idle state of the
CLKOUT pin in Sleep mode is low. When the CLKOUT
function is disabled (CANCNTRL.CLKEN = ‘0’) the
CLKOUT pin is in a high-impedance state.
The CLKOUT function is designed to ensure that
t
CLKOUT pin function is enabled, disabled or the
prescaler value is changed.
hCLKOUT
Table
Note:
SLEEP
To internal logic
OSC1
OSC2
12-1).
CLKOUT Pin
and t
via
The maximum frequency on CLKOUT is
specified as 25 MHz (See
lCLKOUT
the
timings are preserved when the
CANCNTRL
MCP2515
OSC
DS21801E-page 53
by 1, 2, 4 and 8.
Table
register
13-5)
(see

Related parts for MCP2515-E/PRB2