Communication between two PCAN-USB adapters

USB to CAN Interface
Post Reply
plucia1
Posts: 3
Joined: Tue 28. Apr 2020, 01:04

Communication between two PCAN-USB adapters

Post by plucia1 » Tue 28. Apr 2020, 01:12

Hello,

We have run into an issue while testing the communication between two PCAN-USB adapters.

Here are the FW/ Driver versions as detected by PCAN-View:
Firmware Version: 8.4
Driver Version: 4.2.0
Number of channels: 1

Using a bitrate of 250k, we’ve tested communication between two PCAN-USBs with both PCAN-View in windows and SocketCAN in linux (w/ cansend, candump). On the sender side, there is no indication that the frames cannot be sent, and on the receive side we don’t receive any frames in both of our test configurations. While running PCAN-View on the receive side, we observe that there is a BUSHEAVY status, but the status shows as OK on the send side.
PEAK.png
PEAK.png (28.67 KiB) Viewed 5646 times
The CAN adapters are connected to each other by a single DB-9 female to female serial cable. We have tried testing with two different brands of serial cables. Are these CAN adapters known to be working together in this kind of setup? We are using this test setup to validate that the CAN Analyzers will be able to reliably transmit frames between one another without risk of frame dropping or swapping.

If you can advise on the expected performance in the scenarios described above, it would be helpful for us to know. Additionally are there any limitations we should be aware of when testing directly between two PCAN-USB’s adapters?

User avatar
PEAK-Support
Sales & Support
Sales & Support
Posts: 1646
Joined: Fri 10. Sep 2010, 19:34

Re: Communication between two PCAN-USB adapters

Post by PEAK-Support » Tue 28. Apr 2020, 08:12

Looks like you have not used any terminations in you physical setup ( BUSHEAVY ) - Simply connect CAN-H to CAN-H and CAN-L to CAN-L , add a 120 Ohm Termination on each end - thats ist - will work - tested 1000times...
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------

plucia1
Posts: 3
Joined: Tue 28. Apr 2020, 01:04

Re: Communication between two PCAN-USB adapters

Post by plucia1 » Tue 28. Apr 2020, 19:04

Do you mean add a 120 Ohm resistor between CAN-H and CAN-L?
120_Ohm.png
120_Ohm.png (30.52 KiB) Viewed 5628 times
Would we need one of the following adapter then?
https://www.peak-system.com/PCAN-Term.270.0.html?&L=1

So instead of the following setup:
Setup1.png
Setup1.png (4.03 KiB) Viewed 5628 times
We should do this?
Setup2.png
Setup2.png (5.42 KiB) Viewed 5628 times

M.Heidemann
Sales & Support
Sales & Support
Posts: 1083
Joined: Fri 20. Sep 2019, 13:31

Re: Communication between two PCAN-USB adapters

Post by M.Heidemann » Wed 29. Apr 2020, 09:31

Hello,

As my colleague Uwe wrote:

You need a 120 Ohm resistor on both ends of the bus, so you need an additional termination adaptor.

You graphic only shows one adaptor, which would be an underterminated bus.


If you do this your setup should look like this:
correction.png
correction.png (21.91 KiB) Viewed 5619 times

You can use 2x IPEK-003002 or 2x IPEK-003002-Mini adaptors in this case:

https://www.peak-system.com/PCAN-Term.270.0.html?&L=1



For further questions feel free to contact me.


Best Regards

Marvin
---
Marvin Heidemann
PEAK-Support Team

plucia1
Posts: 3
Joined: Tue 28. Apr 2020, 01:04

Re: Communication between two PCAN-USB adapters

Post by plucia1 » Thu 30. Apr 2020, 23:09

Marvin,

Thank you. We have ordered the adapters.

Best Regards,
Peter

Post Reply