UM0162
USER MANUAL
Getting Started with the CAN Industrial Controller Evaluation Board
using an ST10 MCU
Introduction
This user manual describes the implementation of Controller Area Network (CAN) Industrial Controller
(IC) applications based on a 16-bit microcontroller from STMicroelectronics’ ST10 family. ST10
microcontrollers have a C166 core that is compatible in industrial market segment. The CANIC10 can be
used as a simple programmable logic controller (PLC), master or slave node in a communication system
and as an evaluation board.
The CANIC10 is equipped with a sophisticated industrial sensor interface using a CLT3-4BT6 integrated
device, 5Volt CMOS level parallel output interface and several bus interfaces such as RS232, RS485 and
two CAN2.0B connections.
Output interface is compatible with VN808, VN808CM and VN340 Reference Design Boards (industrial
high-side drivers).
The system can be supplied either from a standard DC power supply (6 to 16V DC) or from a connected
VNxxx board.
The CANIC10 package includes a CD-ROM with the application program (Intel hex file), board fabrication
data (Gerber files), this user manual and other documentation for related devices.
Main Features
■
20-bit digital interface for 2-, 3-wire sensors or mechanical contact using CLT3-4BT6 and PCLT-2A
Terminations supporting Type 1, 2 or 3 input characteristics according to IEC61131-2 specifications
24-bit digital output interface supporting VN340 and VN808 Reference Design Boards
16-bit ST10F269 microcontroller with a C166 core @ 40MHz
ST202E RS-232 Transceiver with 15kV guaranteed ESD protection
ST485A Very High-speed Low-power RS-485 Transceiver interface with bit rate up to 30Mbps
Two L9616 High-speed CAN Bus Transceiver with bit rate up to 1Mbps
STM811 Reset Circuit
LF50 Very Low Dropout Voltage Regulator
6 to 16V DC Supply Voltage
■
■
■
■
■
■
■
■
September 2013
Rev.
2
1/32
www.st.com
2
UM0162
Figure 1.
CANIC10 System Block Diagram
2/32
UM0162
Contents
1
Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.1
1.2
1.3
1.4
1.5
1.6
Input Current Limited Termination (CLT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.1.1
Input CLT Sensor interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Input Programmable Current Limited Termination (PCLT) . . . . . . . . . . . . . . . 6
1.2.1
Input PCLT Sensor interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Output connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Serial interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
CAN interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Microcontroller part . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
1.6.1
1.6.2
Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
1.7
Power supply connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
1.7.1
1.7.2
1.7.3
Input CLT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Input PCLT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
System supplies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
1.8
Jumper settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
2
Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2.1
2.2
Bridge configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Toggling configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3
4
Electrical specifications and timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Appendix A Bill Of Materials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Appendix B PCB Layers
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
3/32
1 Hardware
UM0162
1
Hardware
The CANIC10 Evaluation Board is designed to evaluate and develop Controller Area Network
(CAN) Industrial Controller (IC) applications for use with an ST10 microcontroller. The
CANIC10 is manufactured on a 4-layer printed circuit board (PCB) designed with Class 6
accuracy. Total board dimensions are 155 x 120 mm.
Figure 1
indicates port and jumper
locations.
Figure 1.
Port and jumper locations
RS-485
Termination
Jumpers
Input
Parallel
Interface
RS-232/RS-485
Selection
Jumpers
RS-232
RS-485
Output
Parallel
Interface
8-bit Input (IN1)
8-bit Output (OUT1)
Output Power Jumpers
Input Power Jumpers
8-bit Input (IN2)
8-bit Output (OUT2)
Output Group Mode Jumpers
4-bit Output (OUT3)
4-bit Input (IN3)
Output Power Jumpers
4-bit Output (OUT4)
Power Supply
CAN1
CAN
Termination
Jumpers
CAN2
Ai11649
The CANIC10 Evaluation Board can be divided into several sections:
●
●
●
●
●
●
●
Input Current Limited Termination (CLT)
Input Programmable Current Limited Termination (PCLT)
Output
RS-232 and RS-485 Serial interfaces
CAN interface
Microcontroller (MCU)
Power supply
4/32
1.1
Figure 2.
UM0162
J1
U1
R1
R3 1k2
R2
VCC
18
13
7
C6
22n
8
11
GND_CLT_1 GND_CLT_1
GND_CLT_1 GND_CLT_1
13
15
GND_CLT_1
GND_CLT_1
GND_CLT_1
GND_CLT_1 GND_CLT_1
9
6
4
2
U2D
TLP281-4
C7
22n
C8
22n
C9
22n
U2C
TLP281-4
U2B
TLP281-4
U2A
TLP281-4
10
5
3
1
12
14
16
VCC
VCC
VCC
R5 1k2
3
8
6
ESD12
ESD34
ESD_C
COM12
COM34
GND_CLT_1 5
1
10
GND_CLT_1
U6
R4
R8 1k2
R9
VCC
18
13
7
C11
22n
8
11
GND_CLT_1 GND_CLT_1
13
GND_CLT_1
GND_CLT_1
GND_CLT_1
GND_CLT_1 GND_CLT_1
9
6
4
U3D
TLP281-4
C2
22n
C12
22n
C10
22n
2
GND_CLT_1 GND_CLT_1
15
U3C
TLP281-4
U3B
TLP281-4
10
5
3
12
14
VCC
VCC
1
R10 1k2
3
8
6
ESD12
ESD34
ESD_C
COM12
COM34
GND_CLT_1 5
1
10
GND_CLT_1
CLT3-4BT6
VC
COM
COM
COM
COM
COM
COM
20
16
15
11
1k2
2
4
7
9
IN1
IN2
IN3
IN4
OUT1
OUT2
OUT3
OUT4
19
17
14
12
VCC
16
U3A
TLP281-4
1k2
R53
10k
R58
10k
R70
10k
R71
10k
CLT3-4BT6
VC
COM
COM
20
16
15
11
1k2
2
4
7
9
IN1
IN2
IN3
IN4
OUT1
OUT2
OUT3
OUT4
19
17
14
12
1k2
1
2
3
4
5
6
7
8
9
10
R6
COM
COM
COM
COM
4k7
IN11
IN12
IN13
IN14
IN15
IN16
IN17
IN18
VCC_IN_CLT1
GND_IN_CLT1
CON10
D1
STTH1L06A
P5.0
P5.1
P5.2
P5.3
GND_CLT_1
VCC_IN_CLT1
GND_IN_CLT1
Input CLT diagram
D3
LED
2
2
J18 J19
R12
1k5
1
R11 4k7
1
VCC_IN_CLT2
GND_IN_CLT2
P5.4
P5.5
P5.6
P5.7
R73
10k
U7
R17 1k2
R14 1k2
R15 1k2
VCC
18
13
7
5
U8D
TLP281-4
C17
22n
6
11
GND_CLT_2 GND_CLT_2
8
GND_CLT_2
GND_CLT_2
GND_CLT_2
9
U8C
TLP281-4
C15
22n
10
12
C18
22n
4
GND_CLT_2 GND_CLT_2
13
VCC
3
R16 1k2
3
8
6
ESD12
ESD34
ESD_C
COM12
COM34
GND_CLT_2 5
1
10
GND_CLT_2
U10
R21 1k2
R22 1k2
R23 1k2
VCC
18
13
7
C24
22n
8
GND_CLT_2
GND_CLT_2
GND_CLT_2
9
10
U11D
TLP281-4
5
C26
22n
6
GND_CLT_2 GND_CLT_2
11
R27 1k2
3
8
6
COM12
COM34
ESD12
ESD34
ESD_C
GND_CLT_2 5
1
10
GND_CLT_2
CLT3-4BT6
VC
COM
COM
2
4
7
9
IN1
IN2
IN3
IN4
OUT1
OUT2
OUT3
OUT4
19
17
14
12
VCC
12
3
U11C
TLP281-4
C25
22n
4
GND_CLT_2 GND_CLT_2
13
VCC
14
1
U11B
TLP281-4
C27
22n
2
GND_CLT_2 GND_CLT_2
15
VCC
16
R76
10k
CLT3-4BT6
VC
COM
COM
2
4
7
9
IN1
IN2
IN3
IN4
OUT1
OUT2
OUT3
OUT4
19
17
14
12
VCC
14
U8B
TLP281-4
C16
22n
2
GND_CLT_2 GND_CLT_2
15
1
VCC
16
U8A
TLP281-4
R109 R74
10k 10k
R75
10k
J6
1
2
3
4
5
6
7
8
9
10
R18 4k7
COM
COM
COM
COM
20
16
15
11
IN21
IN22
IN23
IN24
IN25
IN26
IN27
IN28
VCC_IN_CLT2
GND_IN_CLT2
Input Current Limited Termination (CLT)
CON10
D5
STTH1L06A
P5.8
P5.9
P5.10
P5.11
GND_CLT_2
VCC_IN_CLT2
GND_IN_CLT2
R79
10k
R77
10k
R78
10k
D6
LED
2
R24 4k7
COM
COM
COM
COM
2
R25
1k5
U11A
TLP281-4
Figure 2
shows the Input Current Limited Termination (CLT) connections.
J49 J45
20
16
15
11
1
1
VCC_IN_CLT3
GND_IN_CLT3
P5.12
P5.13
P5.14
P5.15
Ai11642
R80
10k
R83
10k
R81
10k
R82
10k
1 Hardware
5/32