cancel
Showing results for 
Search instead for 
Did you mean: 

CAN RTR usage

Kamil_16
Visitor

Hello everyone, I am working on a project related to CAN communication, and I don't have complete knowledge about the RTR Remote and RTR DATA features within CAN. Should I use RTR Remote in a complex system?

3 REPLIES 3
mƎALLEm
ST Employee

Hello @Kamil_16 and welcome to the ST community,

That's a generic question on CAN protocol not linked to STM32. (https://www.can-cia.org/can-knowledge/can-cc:(

RTR.png

What do you intend to mean by "complex system"?

 

 

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

First of all, thank you. What I mean by complex system is this: Reading more ADC data, for example, sending and receiving the values of 20 sensor data points. I think this increases the load on the line a little more.

You need to take care about your bus load. I think better to use a ring buffer where you feed the ADC conversion and read them back for CAN transmission but still didn't understand your question about the link of RTR with that bus load! RTR is used generally for a "heart beat" mechanism purposes (check for a node still alive) but it could be used to request data from another CAN node.

But the request reply is not automatic, you need to do it yourself. When you receive a RTR frame with that ID, you need to do what you need to do ..

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