now I have configure the CAN of 5605B, it can transmit a remote frame , but it can not receive a remote frame.
How configure it?
could you give a example project to me?
Hi,
This is clearly described in FlexCAN's chapter “Remote Frames” of the RM.
FlexCAN can receive Remote Frame, but does not store it into a regular message buffer. You can configure TX MB to do a response to the received Remote Frame. When a Remote Request frame is received by FlexCAN, its ID is compared to the IDs of the transmit message buffers with the Code field ‘1010’. If there is a matching ID, then this MB frame will be transmitted.
If the RX FIFO is enabled the received Remote Frame can be stored into FIFO. In this case FlexCAN will not generate an automatic response for Remote Request Frames that match the FIFO filtering criteria. If the Remote Frame matches one of the target IDs, it will be stored in the FIFO and presented to the CPU.
BR, Petr