Configuring The Can Bus; Configuration Notes; Example Of Enabling The Can Bus - Novatel SMART2 Installation And Operation User Manual

Table of Contents

Advertisement

Chapter 4   SMART2 CAN Bus

4.2 Configuring the CAN Bus

To enable a SMART2 to communicate over the CAN bus, configure CAN and place the receiver on bus, trig-
gering a J1939 Address Claim Procedure.
1. Use the J1939CONFIG command to specify J1939 NAME and desired address.
This step is optional and only required if the default NAME parameters are to be changed.
2. Use the CANCONFIG command to place the receiver on bus.
3. Optionally, use the J1939STATUS log to monitor CAN status on the receiver.

4.2.1 Configuration Notes

The J1939CONFIG and CANCONFIG commands can be entered in any order. After the CANCONFIG com-
l
mand is used to place the receiver on the CAN bus, J1939CONFIG commands take effect immediately.
Until then, J1939CONFIG can be entered many times to change the settings because they have not taken
affect yet (the receiver is not yet on the bus).
The J1939 Address claim procedure is executed if and only if both J1939CONFIG NODEx CANx and
l
CANCONFIG CANx ON are entered.
Use J1939STATUS log to determine the receiver's CAN status and the actual address claimed by a par-
l
ticular node.
Once the receiver is "on bus", it must be taken "off-bus" using CANCONFIG for any further configuration
l
changes using J1939CONFIG.
The receiver is fully "on-bus" only once the J1939 address has been successfully claimed. This is reported
l
as "CLAIMED" status by J1939STATUS log.
No messages will be sent or received until the receiver is "online" and an address is claimed. Outgoing mes-
l
sages are not buffered; they are discarded until the receiver is online.

4.2.2 Example of Enabling the CAN Bus

1. LOG J1939STATUS ONCHANGED
2. J1939CONFIG NODE1 CAN1 <addresses>
3. CANCONFIG CAN1 ON 250K
SMART2 Installation and Operation Manual v4
Table 8: Default NAME
Parameter
Address
Industry Group
Device Class
Device Class Instance
Function
Function Instance
ECU Instance
Manufacturer Code
Value
0x1C
2
0
0
23
0
0
305
37

Advertisement

Table of Contents
loading

Table of Contents