cancel
Showing results for 
Search instead for 
Did you mean: 

Can Remote

Marco Perciavalle
Associate II
Posted on March 25, 2017 at 13:04

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.

3 REPLIES 3
Erwan YVIN
ST Employee
Posted on March 28, 2017 at 11:37

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

Posted on March 28, 2017 at 14:23

I use RLA and the trasmission of data frame is succesfull. Maybe HAL library supports remote frame, isn't it?

Thanks for answer.

Posted on March 28, 2017 at 14:42

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 transmitted

as ‘0’ (dominant), then if it is received as ‘1’ (recessive), the FlexCAN module treats it as bit error. If the

value received matches the value transmitted, it is considered as a successful bit transmission.

1 Indicates the current MB has a Remote Frame to be transmitted

0 Indicates the current MB has a Data Frame to be transmitted

   Best Regards

                     Erwan