PuTTY) can be used to read and write data. ![]() If a device uses standard PC COM ports then a PC terminal program (e.g. It is also possible to use straight through DB9 cables, or ribbon cables fitted with 9-pin D-Sub Insulation Displacement Connectors (IDC) to connect PCAN-USB devices together:Ī computers communications (COM) port is often used to read in data from CAN devices. The two PCAN-USB adaptors can then be plugged together (as in the first picture) and then connected to two spare USB ports on the computer. However, for higher speed networks and long cables, a 120 ohm termination resistor is required at each end of the CAN bus (wired between the CAN high and CAN low lines), see the CAN bus wiring article.įor the PCAN-USB devices two DB9 female sockets can be cabled together: For bench testing low baud rate CAN buses (100K baud or less) the network will usually work without a termination resistor. ![]() The basic CAN wiring for the DB9 connector is to join pins 7 (CAN+) together, and pins 2 (CAN-) together. some arduino add-on boards), therefore check your device's instructions. Note: Some CAN devices do not follow CiA 303-1 wiring (e.g. These adapters use a DB9-type (9-pin D-Sub) male connector that conforms to the CAN in Automation (CiA) 303-1 specification for connector cabling. In this article the PEAK-System PCAN-USB adapters are used. The CAN high data line from one CAN node is connected to the CAN high data line of the next CAN node, and likewise for the CAN low data line. It is a case of joining the two CAN wires from each node together correctly. for bench testing, CAN bus wiring is very straightforward. Next do the reverse, send data on the second CAN node and see if the same data is seen on first node.Īt its simplest, e.g.Send data on one CAN node and see if the same data is seen on the second node.The steps for performing the loopback test for a CAN bus are: The loopback test works by sending data on one CAN device and checking it is received on the other device, and vice versa. The easy way perform a CAN bus loopback test on a PC (or other system) is to have two CAN devices talking to each other. In this article two PEAK-System PCAN-USB CAN adaptors are use to perform a CAN loopback test on a PC.Ī Minimum of Two CAN Bus Devices are Required For a controller area network (CAN) linked to a PC, a message loopback to the same test computer is simple to achieve if the PC has two CAN adapters. ![]() CAN Bus Loopback Test with PCAN USB InterfacesĪ loopback test is a useful way to check that a system and its data transmission hardware is working.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |