2007-03-27 02:33 AM
How to use Remote frames in can-bus ??
2011-05-17 12:40 AM
Hello,
I develop an can-open slave. After receiving a remote transmission request the ''Message DIR'' in the message object is set to ''transmit''. Then I send the message on the same message object, but it seems as the message is not transmitted. I verified this using a ''can Analyzer''. Now I have found CAN_MCR_RMTEN in 91x_can.h. How can I initialise the message object to handle a remote frame?? I can nowhere find CAN_MCR_RMTEN in the standard library. How can I set RmtEn in the IFn message control register?? Thanks Thomas2011-05-17 12:40 AM
Hello,
thanks for the reply. I wrote my own CAN_SetRxMsgObj with CAN->sMsgObj[msg_if].MCR = CAN_MCR_RXIE | CAN_MCR_UMASK | CAN_MCR_RMTEN | (singleOrFifoLast ? CAN_MCR_EOB : 0); Now autonom the RTR-Request is being replied, but with DLC =0 and RTR is set too and no RX-interrupt is being set. But I have to toggle the Data for guarding. How can I modify the data for autonom request?? Thanks Thomas