First I want to write that the CANBus Example have been very helpful.
But I have not found out how to make an automatic reply on a remote frame request.
All help is appreciated.
you need to setup the receiver for RTR receiving Messages :
maskConfig : CAN.RECEIVER_MASK := (
either xRTRValue = FALSE and xRTRMask = FALSE //receive all RTR and none RTRs
or xRTRValue = TRUE und XRTRMask = TRUE //receive RTR only
and then in 'ProcessMessage' check if it is a RTR and react on that.
Thanks for your answer and support, unfortunately it is not enough in my case. I need to set up the CAN hardware to respond automatically to a remote frame request. To let the software detect and react is too slowly. This requirement is beyond my control.
Log in to post a comment.