M I K R O E L E K T R O N I K A S O F T W A R E A N D H A R D W A R E S O L U T I O N S F O R T H E E M B E D D E D W O R L D
dsPICPRO
USB
3
dsPICPRO3 User
’
s Manual
MikroElektronika
Development tools
3
36
6
page
CC
AA
NN
CC
OO
MM
MM
UU
NN
IICC
AA
TT
IIOO
NN
CAN COMMUNICATION
VCC
PCA82C250
CANH
RXD
Rs
GND
VCC
CANL
Vref
TXD
CAN1-H
CAN1-L
CN15
12
R17
10
VCC
PCA82C250
CANH
RXD
Rs
GND
VCC
CANL
Vref
TXD
CAN2-H
CAN2-L
CN16
12
R18
10
CAN 1
CONNECTOR
CAN 2
CONNECTOR
1
ON
4
3
2
58
7
6
RF0
RG1
RG0
SW3
RC1
RC2
CAN-RX1
CAN-TX1
ETH-CS
CAN-TX2
CAN-RX2
DAC-CS
DAC-LD
ETH-RST
RG13
RF1
RG12
X1
10MHz
C1
22pF
C2
22pF
VCC
RG15
RC1
RC2
RC3
RC4
RG6
RG7
RG8
MCLR
RG9
Vss
Vdd
RA12
RA13
RB5
RB4
RB3
RB2
RB1
RB0
RC14
RC13
RD0
RD11
RD10
RD9
RD8
RA15
Vss
OSC2
OSC1/CLKI
Vdd
RG2
RG3
RF6
RF7
RF8
RF2
RF3
RB6 RB7
RA9
RA10 A
Vdd
A
Vss
RB8
RB9
RB1
1
Vss
Vdd RB12
RB13
RB14
RB15
RD14
RD15
RF4
RF5
RG13 RG12
RG14
RA7 RA6
RG0
RG1
RF1
Vdd
Vss
RD7 RD6
RD5
RD4
RD13
RD12
RD3
RD2
RD1
dsPIC30FXXXX
RF0
RB10
RA14
Controller Area Network (CAN) is a serial network originally designed for automative
industry. It has become a popular bus in industrial automation, but also has a wide range of
other applications. CAN is a network etablished among microcontrollers. It is a two-wire,
half-duplex, high-speed network system. Half-duplex means that microcontrollers can send
and recieve data, but only in one direction at a time.
dsPICPRO3 development board has two CAN communication devices. In order to enable
CAN1 communication device, switches 3 and 4 on SW3 have to be turned ON.
Figure 45.
CAN Connectors schematic
Figure 44.
CAN connectors