Not able to see CAN RX messages on my trace window

Windows® Compatible Software for Displaying CAN Messages
Post Reply
Sucheta
Posts: 2
Joined: Wed 14. Sep 2022, 11:50

Not able to see CAN RX messages on my trace window

Post by Sucheta » Mon 19. Sep 2022, 09:49

Hello,

Good morning!

I have interfaced Arduino CAN with PCAN using DB9 connector. I tried sending a CAN message from Arduino to PCAN. But the CAN message sent by Arduino can't be seen in my Trace window of PCAN view, though i can see the Red light on my TX LED on CAN bus shield V2 (connected to Arduino)

More information:

1. i have checked the baudrate and its 500kbps on both ends
2. 120 ohm not connected on PCAN side.
3. TX led of Arduino CAN is red

Can you please guide in what is the mismatch or where should i correct for it to receive RX messages as well

Attaching the Screenshot for your reference:
PCAN_View_Screenshot.PNG
PCAN_View_Screenshot.PNG (151.25 KiB) Viewed 3595 times
Awaiting your reply.

Kind regards,
Sucheta

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

Re: Not able to see CAN RX messages on my trace window

Post by PEAK-Support » Mon 19. Sep 2022, 11:16

Please use a terminated CAN Cable (120 Ohm on each end) and measure if your CAN Network really have the needed 60 Ohm.
As you did not send the complete screen, we do not see the Status Line of the PCAN-View, and so do not see if you have physical communication problems.
Please check if you have Error Frames / Bus Status Changes when sending a single CAN Frame. We also need to know which CAN Interface from us do you exactly use ? (part number!)
Keep in mind that both CAN Nodes (our CAN Interface and your used CAN-shield) need to be configured with the exact same BUS Timings. 500k is not 500K ! (See Sample Point etc.)
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------

Sucheta
Posts: 2
Joined: Wed 14. Sep 2022, 11:50

Re: Not able to see CAN RX messages on my trace window

Post by Sucheta » Tue 20. Sep 2022, 10:40

Good Morning,

Thankyou so much for the reply.

I have now connected 120 ohm resistor as well along PCAN hardware.

Attached is the screenshot of the pcan view trace window full screen.
PCAN_view_tracewindow.PNG
PCAN_view_tracewindow.PNG (218.95 KiB) Viewed 3576 times
I have also attached serial monitor screen of arduino and code as well for your reference.

Am not able to receive any RX message on my PCAN

Kindly please guide me with this
Awaiting your reply

Thanks a lot and regard
-Sucheta
Attachments
Serial monitor.PNG
Serial monitor.PNG (11.81 KiB) Viewed 3576 times
can_send.txt
(1001 Bytes) Downloaded 1265 times

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

Re: Not able to see CAN RX messages on my trace window

Post by PEAK-Support » Tue 20. Sep 2022, 10:49

You still have a physical problem - take a look at the status line of the PCAN-View !

- Bitrate does not fit (as i wrote you need to know the exact timing details - 500k could be configured with douzen different timings!)
- Termination is not 60 Ohm in sum
- CAN-H / CAN-L switched
- one CAN node is in Listen Only / non active Mode ( a CAN Busd need always 2 active nodes to work)

Please understand that we could not do any support for Arduino Hard & Software - contact the CAN shield manufacturer
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------

Post Reply