Skip to main content
Choudharyas
Associate III
Jun 11, 2022 9:48 AM UTC
Solved

How to send a remote data request in CAN-FD

Hello,

I am working on CAN-FD project and and I am able transmit and receive data. Currently it is continuously sending and receiving the data. But I want to send data only when receiver sends data requests. How can I do that?

thanks for help

This topic has been closed for replies.
mƎALLEm
mƎALLEmBest answer
ST Technical Moderator
Sep 22, 2026 4:19 PM UTC

Hello,

You need to use Remote frame:

Configure a filter that passes only the remote frame with that specific ID. Reserve FIFO1 to receive a such frame. In the related FIFO FDCAN RX interrupt callback you need to send back the data frame you want.

From the receiver side you need to send a RTR frame with a specific ID that should pass the sender filter.

Hope that helps you as well as others ..
 

 

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.

1 reply

mƎALLEm
mƎALLEmBest answer
ST Technical Moderator
Sep 22, 2026 4:19 PM UTC

Hello,

You need to use Remote frame:

Configure a filter that passes only the remote frame with that specific ID. Reserve FIFO1 to receive a such frame. In the related FIFO FDCAN RX interrupt callback you need to send back the data frame you want.

From the receiver side you need to send a RTR frame with a specific ID that should pass the sender filter.

Hope that helps you as well as others ..
 

 

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.