5V
2. Soldering the headers
Before using your click board, make sure
to solder the provided 1x8 male headers
to both sides of the board. Two 1x8 male
headers are included with the board in
the package.
1
3
4. Features and applications
CAN SPI click board features
MCP2515
CAN
controller with SPI interface and supports
1Mb/s operation. It features screw terminals
for easier connectivity, power LED and node
termination jumper. Up to 112 nodes can be
connected. Mentioned features make this
board ideal for industrial automation, home
automation as well as in automotive and
mobile machine industry.
CAN SPI
click
1. Introduction
2
Turn the board upside down, so that
bottom side is facing you upwards. Place
shorter parts of the header pins in the
both soldering pad locations.
Turn the board upward again. Make sure
to align the headers so that they are
perpendicular to the board, then solder the
pins carefully.
CAN SPI click 5V is an accessory board
in
mikroBus™
form factor. It is the best
solution for adding CAN connectivity to your
microcontroller with SPI interface. Board
features
MCP2551
CAN transciever circuit
which provides CAN serial communication
physical layer in accordance with the ISO
11898 standard. It is designed for operation
in especially-harsh environments, providing
reliable solution. Board is designed to use 5V
power supply only.
3. Plugging the board in
Once you have soldered the headers your
board is ready to be placed into desired
mikroBUS™ socket. Make sure to align the
cut in the lower-right part of the board
with the markings on the silkscreen at the
mikroBUS™ socket. If all the pins are aligned
correctly, push the board all the way
into the socket.
click
www.mikroe.com
CAN-SPI click 5V Manual
ver. 1.00
BOARD
5. CAN SPI click 5V Board Schematics
VCC
TX-CAN
RX-CAN
C1
100nF
1
2
3
4
U2
TXD
VSS
VDD
RXD
Rs
CANH
CANL
Vref
8
7
6
5
TERM.
CANH
CANL
R6
120
CN1
6. Node termination jumper
1.
If the board is the first
and the last node of
the CAN network, then
J2
jumper should be
placed.
2.
If the board is a node in the middle,
jumper should be
removed.
MCP2551
R4
10
VCC
R5
2K2
PWR
VCC
7. Code Examples
R1
100K
TX-CAN
RX-CAN
INT#
TX0#
TX1#
TX2#
OSC2
OSC1
1
2
3
4
5
6
7
8
9
U1
TXCAN
RXCAN
CLKOUT
TX0RTS
TX1RTS
TX2RTS
OSC2
OSC1
Vss
MCP2515
Vss
RESET
CS
SO
SI
SCK
INT
RX0BF
RX1BF
C2
100nF
R2
100K
18
17
16
15
14
13
12
11
10
RST#
CS#
MISO
MOSI
SCK
INT#
R3
100K
VCC
RST#
CS#
SCK
MISO
MOSI
AN
RST
CS
SCK
MISO
MOSI
+3.3V
GND
PWM
INT
TX
RX
SCL
SDA
+5V
GND
Once you have done all the necessary
preparations, it’s time to get your click
board up and running. We have provided
the examples for mikroC, mikroBasic and
mikroPascal compilers on our
Libstock
website. Just download them and you are
ready to start.
.com
8. Support
MikroElektronika offers
Free Tech Support
(www.mikroe.com/esupport)
until the
end of product lifetime, so if something goes
C4
22pF
OSC1
X1
10MHz
OSC2
C3
22pF
wrong, we are ready and willing to help!
MikroElektronika assumes no responsibility or liability for any errors or inaccuracies that may appear in the present document.
Specification and information contained in the present schematic are subject to change at any time without notice. Copyright © 2012 MikroElektronika. All rights reserved.