cancel
Showing results for 
Search instead for 
Did you mean: 

Undocumented TTCAN-Error in MCU STM32H743 found

GK_CPfal2020
Associate II

Dear Madame or Sir.

We found following undocumented problem on MCU STM32H743.

It occures only, if TTCAN mode is activated for FDCAN1:

FDCAN1:

If TTCAN is activated (LEVEL = 01)

0693W00000JMdfUQAT.png 

and the TX-COMPLETE Interrupt of TX-BUFFER 1 is activated,

0693W00000JMdoFQAT.png 

0693W00000JMdpNQAT.png 

and the TX-COMPLETE Interrupt is configured for INT-Line 0,

0693W00000JMdpwQAD.png 

but FDCAN1 INT-Line 0 was not activated in the NVIC

// HAL_NVIC_EnableIRQ(FDCAN1_IT0_IRQn);

OR

in FDCAN ILE register the INT-Line 0 is not activated,

0693W00000JMdr4QAD.png 

then the occured TX-COMPLETE Event will be interrupted on INT-Line 1 !!!

This is the wrong result, because the TX-COMPLETE Interrupt was configured in

ILS register for INT-Line 0, but INT-Line 0 is disabled in NVIC

especially in the ILE register.

So NO TX-COMPLETE Interrupt must be the correct result in this case.

This problem also occures vice versa:

 

If the TX-COMPLETE Interrupt is configured for INT-Line 1,

0693W00000JMdsbQAD.png 

but FDCAN1 INT-Line 1 was not activated in the NVIC

// HAL_NVIC_EnableIRQ(FDCAN1_IT1_IRQn);

OR

in FDCAN ILE register the INT-Line 1 is not activated,

0693W00000JMduDQAT.png 

then the occured TX-COMPLETE Event will be interrupted on INT-Line 0 !

This is the wrong result, because the TX-COMPLETE Interrupt was configured in

ILS register for INT-Line 1, but INT-Line 1 is disabled in NVIC

especially in the ILE register.

So NO TX-COMPLETE Interrupt must be the correct result in this case.

Best regards

Christian

0 REPLIES 0