2015-11-26 8:56 AM
Hi,
I'm experiencing a very bad behavior of HRTIM.if output set register is set on Period and output reset register is reset on CMP1.if CMP1 = 0x20, the PWM output is a narrow pulse as expected. but if the CMP1 < 0x20 the output go to active state. The duty cycle goes to near zero to 100%. This is very bad!the section 10.3.6 of the RM0364 states that:if the set and reset events are generated within same HRTIM clock period, the reset event has the highest priority and the set event is ignored. But what is happening is the opposite of it.Someone else noticed this issue before or I'm missing something?2025-04-16 1:44 PM
Here are the waveforms for CMP=32 and CMP=31, realize that when lowering the count from 32 to 31 expecting to further narrow the 14ns pulse the huge non linearity caused by some pulse intervals being completely filled