Skip to main content
Andrea Canepa
Senior
February 7, 2019
Solved

STM32CubeMX 5.0.1: TIM15 missing "Combined channels = XOR ON" setting

  • February 7, 2019
  • 2 replies
  • 1642 views

MCU: STM32F303RETx

Firmware: STM32Cube FW_F3 V1.10.0

In TIM15 -> Mode -> Combined Channels it is not possible to select XOR input on TI1:

0690X000006DRcSQAW.jpg

In the reference manual (RM0316) at page 685 you can see the XOR input:

0690X000006DRcmQAG.jpg

And at page 720, the register TIM15_CR2[TI1S] description:0690X000006DRd7QAG.jpg

So I suppose that there really is the possibility of activating the XOR input for TI1 of TIM15, but the possibility of doing it in STM32CubeMX is missing. Maybe a BUG?

Regards

Andrea

This topic has been closed for replies.
Best answer by Andrea Canepa

Sorry, I'm really stupid! I did not realize that there is a flag to be activated to enable the XOR function:

0690X000006DSGXQA4.jpg

I thought that the XOR setting for TIM15 was identical to those of the other timer, but I was wrong.

Andrea.

2 replies

S.Ma
Principal
February 7, 2019

Hack down the HW register settings and see if it works!

Andrea Canepa
Andrea CanepaAuthorBest answer
Senior
February 8, 2019

Sorry, I'm really stupid! I did not realize that there is a flag to be activated to enable the XOR function:

0690X000006DSGXQA4.jpg

I thought that the XOR setting for TIM15 was identical to those of the other timer, but I was wrong.

Andrea.