Hi everyone,
I'm currently struggling with receiving CAN frames in which the RTR bit is set to 1 using the CANPort.dll (v1.0.2897.27253).
I connected two EFUSA9 via CAN and transmit frames from one to the other using the WriteTransmitData() function. (rtr parameter is hardcoded to 1)
The other EFUS repeatedly reads events by means of the ReadEventData() function, but never receives a CanEventFlags.RECEIVED event.
When setting the rtr parameter to 0, all frames are correctly received and the event is properly read!
Do I have to adjust some kind of special setting to be able to receive RTR frames ? I couldn't find dedicated information in the documentation.
Some of the settings I use:
CanPort.CanEventFlags.CANBUS_ALL
CanPort.CanMode.BASICAN
CanPort.CanAcceptanceFilter.code = 0
CanPort.CanAcceptanceFilter.mask = 0xFFFFFFFF
CanPort.CanTransmitFormat.STANDARD
Thanks in advance & best regards
Philipp