How to change the termination for an SJA1000 card


Establish a Telnet session on the PC with the Gryphon / S-CAT / S-CAT2.

At the RUN prompt: type "telnet " without the quotes.
telnet 192.168.1.1

The DG Gryphon version and patch details will appear. Followed by the Gryphon login prompt.
DG Gryphon : Linux 2.4.22
Patch 7 Gryphon_20041216

gryphon login:

Enter the login as "root" without the quotes. The password prompt will appear.
password:

Enter the password as "dggryphon" without the quotes. The Gryphon prompt will appear.
gryphon ~#


IOCTL commands can be used to get or set the termination resistor for a channel.
IOCTL Number IOCTL Function Actual command for channel 1 request
0x11250010 Get external/internal termination gioctl localhost -c 1 -i 0x11250010 -d 00
0x11250011 Set external/internal termination gioctl localhost -c 1 -i 0x11250011 -d 01


Return Value Definition
0 External termination
1 Internal termination


Note that this is just one end of the CAN bus and at each end of the bus a 120 ohm resistor needs to be in place for proper bus impedance.

This document was obtained from:

Dearborn Group, Inc.
(248) 488-2080
dg@dgtech.com
http://www.dgtech.com/

Copyright © 2005 Dearborn Group Inc.