Skip to main content
Associate II
Solved

STM32CubeMX - V6.12.0 CAN-FD Transciever Delay Compensation & Auto Retransmission

Hi,

I'm currently using STM32CubeMX V6.12.0 to initialise the peripherals on an STM32H753 processor, and I had a couple of questions:

1. How do I enable & then configure the CAN Transciever Delay Compensation within CubeMX?

2. Is there a mechanism for limiting the number of auto-retransmissions in the event of a CAN Error? I currently have that option unchecked but when doing bench-top testing it's clogging up the processor and causing it to run slowly.

 

Many Thanks,

 

Crispin

This topic has been closed for replies.
Semer CHERNI
Semer CHERNIBest answer
ST Employee

Hello @CZuercher_Ilm 

First let me thank you for posting.

About the CAN Transciever Delay Compensation, it is not possible to configure it from within STM32CubeMX.

For more details, I will redirect your question to the STM32MCUs forum as it is a better place to get help with the CAN configuration.

KR,
Semer.

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.

3 replies

Semer CHERNI
Semer CHERNIBest answer
ST Employee

Hello @CZuercher_Ilm 

First let me thank you for posting.

About the CAN Transciever Delay Compensation, it is not possible to configure it from within STM32CubeMX.

For more details, I will redirect your question to the STM32MCUs forum as it is a better place to get help with the CAN configuration.

KR,
Semer.

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.
ST Technical Moderator

@CZuercher_Ilm wrote:

2. Is there a mechanism for limiting the number of auto-retransmissions in the event of a CAN Error? I currently have that option unchecked but when doing bench-top testing it's clogging up the processor and causing it to run slowly.


You can disable completely the retransmission with Init.AutoRetransmission = DISABLE.

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Saket_Om
Associate II

Hi Saket,

 

Yes; I have disabled this particular bit of functionality, however in the fullness of time I need to be able to limit the number of retransmission attempts to say, 6, before that message is abandoned.

Is there a way of doing this elegantly and efficiently, without having to call interrupts etc.?

 

Many Thanks,

 

Crispin