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:
Awaiting your reply.
Kind regards,
Sucheta
Not able to see CAN RX messages on my trace window
- PEAK-Support
- Sales & Support
- Posts: 1646
- Joined: Fri 10. Sep 2010, 19:34
Re: Not able to see CAN RX messages on my trace window
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.)
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
-------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
Re: Not able to see CAN RX messages on my trace window
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. 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
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. 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 (11.81 KiB) Viewed 3576 times
-
can_send.txt
- (1001 Bytes) Downloaded 1265 times
- PEAK-Support
- Sales & Support
- Posts: 1646
- Joined: Fri 10. Sep 2010, 19:34
Re: Not able to see CAN RX messages on my trace window
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
- 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
-------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------