PCAN-View not automatically answer Remote frames

CAN FD and LIN Interface for High-Speed USB 2.0
Post Reply
hareeshj
Posts: 9
Joined: Thu 6. Dec 2018, 18:23

PCAN-View not automatically answer Remote frames

Post by hareeshj » Sun 10. Mar 2019, 18:19

My setup is simple. CAN module of MCU connected to PCAN-USB Pro. MCU transmits a remote frame to PCAN and expects a response from PCAN. The Receive/Transmit window of PCAN-view shows the remote frame. In the Transmit window of PCAN-view, I have configured a data frame with the same ID. However, this frame does not go out automatically as it should. The Help menu gives conflicting information:

Under "Transmitting CAN Messages topic", I see the below:
"Messages in the transmit list will also be transmitted automatically to reply received Remote Transmit Request frames".


Under "Replying to Remote Request Messages" topic, I see the below:
"When a Remote Transmit Request (RTR) frame is received, PCAN-View checks if matching data messages exist in the transmit list, according to the CAN identifier. If so, the found messages are transmitted as an reply to the RTR. The Trigger column in the Transmit list then indicates "RTR" for these messages."


So far so good. However, there is a Note in the same page that says the below:

"RTR messages in the Transmit list will never be transmitted as an answer to received Remote Transmit Request frames."


This is completely contradictory to the earlier statements ! So my question is: How do I configure PCAN-View to automatically answer Remote frames?

M.Maidhof
Support
Support
Posts: 1751
Joined: Wed 22. Sep 2010, 14:00

Re: PCAN-View not automatically answer Remote frames

Post by M.Maidhof » Mon 11. Mar 2019, 09:51

Hi,

please post a screenshot of PCAN-View showing the receive and transmit window, to see which messagetypes you are using.

The documentation is ok, only pre configured data frames will be triggered by an external RTR message, but not pre configured RTR frames in the transmit list. To send a RTR on a RTR will make no sense, isn´t it?

regards

Michael

hareeshj
Posts: 9
Joined: Thu 6. Dec 2018, 18:23

Re: PCAN-View not automatically answer Remote frames

Post by hareeshj » Mon 11. Mar 2019, 16:31

Attached is the screenshot:
Attachments
PEAK.jpg
PEAK.jpg (83.09 KiB) Viewed 12174 times

hareeshj
Posts: 9
Joined: Thu 6. Dec 2018, 18:23

Re: PCAN-View not automatically answer Remote frames

Post by hareeshj » Mon 11. Mar 2019, 16:38

The Receive/Transmit window shows a Remote frame with a MSGID of 111h. Altough the Transmit window lists 2 data frames with the same MSGID, they don't go out automatically. Understand both frames won't go out, but at least one frame should.

I now understand what your Help menu says by "RTR messages in the Transmit list will never be transmitted as an answer to received Remote Transmit Request frames." The messages in my Transmit window are not RTR messages. They are just data frames.

M.Maidhof
Support
Support
Posts: 1751
Joined: Wed 22. Sep 2010, 14:00

Re: PCAN-View not automatically answer Remote frames

Post by M.Maidhof » Mon 11. Mar 2019, 17:48

Hi,

please use only one data frame with the same ID, otherwise there will be 2 frames transmitted by one RTR request. I can see that the count of both frames shows 1 and the trigger was RTR, so all is fine, both frames were triggered and transmitted. Check the CAN bus with an external CAN monitoring tool, to see that all is working as aspected.

I would have been helpfull to see the full screenshot of PCAN-View, to also see the connection status (to check that LO mode is not set).

regards

Michael

hareeshj
Posts: 9
Joined: Thu 6. Dec 2018, 18:23

Re: PCAN-View not automatically answer Remote frames

Post by hareeshj » Tue 12. Mar 2019, 00:01

It is working correctly now. Thank you.

Post Reply