What is the TIM13 channel pin output state in PWM mode when Counter=0 ?
Hello,my goal here to understand the TIM channel output behavior in different situations between generating one-pulse. Ultimately I need to make sure that I have a predictable output "0" level output at all times if not generating pulse.
I am using STM32H743 MCU TIM13 timer in PWM mode 2, one-pulse operation. After POR TIM13 is initialized and CCR channel is enabled, yet the counter is not enabled yet (CR1->CEN = 0) , assume that CCR register has value greater than 0 and output polarity is positive (outputs 1 when pulse is generated). What is the expected state at the output pin supposed to be as result of this?
For proper understanding of TIM, how the answer changes if the channel PWM mode changed to mode 1 instead of mode 2?
Also related, after the counter is enabled and software trigger generated one pulse event, then I disable the counter (CR1->CEN = 0 again), from then on what is expected to be the state of the output pin? "Output" at 0 ? At any PWM mode?
I asked this question from 3 leading AI sites and all of them gave contradictory answers based on the same user manual. Some AI were a complete mess. After I pointed to the contradictions, then only one of AI provided seemingly logical answer, but I want to verify here ... I think humans are still "more advanced" in their understanding of their made product documentation .:grinning_face:
Please help
