2017-03-25 05:04 AM
Hi,
Is remote frame supported by librieries included in SPC5Studio for SPC563M-DISP? I've seen that in function, named 'can_lld_transmit' , the buffer is not prepared to send this type of frame, is it? I would appreciate your help. Thank you so much. Wait for your answer.
2017-03-28 02:37 AM
Hello Marco ,
did you enable your Pin for CANTX by the Pinmap Wizard ?
Did you use RLA or HAL ?
you have to check your mailbox.
Best Regards
Erwan
2017-03-28 07:23 AM
I use RLA and the trasmission of data frame is succesfull. Maybe HAL library supports remote frame, isn't it?
Thanks for answer.
2017-03-28 07:42 AM
Hello Marco ,
The Flexcan IP is supporting the Remote Frame.
but the driver does not support.
You should adapt the driver to support
set the RTR in can_lld_transmit
Remote Transmission Request
This bit is used for requesting transmissions of a data frame. If FlexCAN transmits this bit as ‘1’(recessive) and receives it as ‘0’ (dominant), it is interpreted as arbitration loss. If this bit is transmittedas ‘0’ (dominant), then if it is received as ‘1’ (recessive), the FlexCAN module treats it as bit error. If thevalue received matches the value transmitted, it is considered as a successful bit transmission.1 Indicates the current MB has a Remote Frame to be transmitted0 Indicates the current MB has a Data Frame to be transmittedBest Regards
Erwan