Hi,
With TMS570, I'm using PCNT (Period/Pulse Count) instruction to measure the low pulse durantion of a N2HET input.
This N2HET input can be low pulse or none pulse.
So I think to test the Zero Flag, but in PCNT instruction of FALL2RISE type, when is the Zero flag activated? On rising edge?
L00 PCNT { hr_lr=HIGH,irq=OFF,type=FALL2RISE,pin=16,period=0,data=0};
L01 BR { event=NZ, cond_addr=L10 } ;
Thanks