2020-08-10 09:18 AM
From the block diagram of TIM15 I think it should be possible to configure both channels to input capture using the outputs of the analog comparator as input signals, activate the XOR block and select the resulting tim_ti1f_ed/TIM1_ED signal as the source signal for the slave mode controller.
I am able to configure both channels to use the comparator output as input and set it to external clock mode 1.
But CubeMX doesn't let me select TI1_ED as the trigger source:
Is that a bug in Cube or did I misread the reference manual?
In other words: to be able to select TI1_ED (or also T1FP1) as a trigger source, CubeMX falsely requires a a pin to be configured as TIM15_CH1. It doesn't seem to know that the input can be a completely internal signal.
2020-10-08 03:54 AM
Hi @MOemu.1 ,
Even with some delay, I am coming back to this thread because I consider that what you report is relevant and requires review.
Our STM32CubeMX team is now aware of this and will take care to implement required corrections.
-Amel
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.
2020-10-12 07:46 AM
Thanks for the reply, I'm looking forward!
2023-01-29 12:19 PM
2 years of watching without results.
I will add that in the case of TIM15 you cannot set the OPM.