cancel
Showing results for 
Search instead for 
Did you mean: 

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

Andrea Canepa
Senior

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

1 ACCEPTED SOLUTION

Accepted Solutions
Andrea Canepa
Senior

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.

View solution in original post

2 REPLIES 2
S.Ma
Principal

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

Andrea Canepa
Senior

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.