On 08/13/2018 03:35 PM, Pankaj Bansal wrote: >>> To use flexcan in FD mode, FDEN bit needs to be set. >> >> We want to use the controller in CAN-2.0 mode unless the user request >> CAN-FD mode. Can I send and receive RTR bits with the new controller >> if the FLEXCAN_MCR_FDEN bit it set? > > Can you tell me the steps to test it? I will test and let you know Get a 2.0 only CAN adapter, some USB-CAN adapter or an imx6 board. Connect it to the new board. Configure the new board for CAN-2.0. Use cansend to send a RTR message and candump to receive it. Then switch sides: Sender: > cansend can0 123#R Reciever: > candump any,0:0,#FFFFFFFF > can0 123 [0] remote request Marc -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
Attachment:
signature.asc
Description: OpenPGP digital signature