Hello @NoahXu,
Since there won't be any edge detected, it has to be implemented in SW.
The state of the TIM pins can be read.
For example, in the TIM overflow interrupt.
If two pin reads HIGH in two interrupts, there is 100% duty cycle at least for one TIM period.
Regards,
Daniel
Hello @NoahXu,
Since there won't be any edge detected, it has to be implemented in SW.
The state of the TIM pins can be read.
For example, in the TIM overflow interrupt.
If two pin reads HIGH in two interrupts, there is 100% duty cycle at least for one TIM period.
Regards,
Daniel