Here is my HET code snippet. My Target platform : champion series
FCT: CNT {data=0, reg = R, max= 0x1FFFFFF };
TRG1: ECMP { en_pin_action=ON, reg= R, pin=10, action=SET, data= 20 };
TRG1_R: ECMP { en_pin_action=ON, reg= R, pin=10, action=CLEAR, data= 23 };
Currently I am running with issue, where TRG1 executes and set the pin high when R reaches to 20, but when reg = R reaches to 23, it doesn't reset the same pin. I am using HR_data field as well, which is continuously updating, but TRG1 & TRG_R will never trigger in same LR loop cycle (verified in HET IDE)
I did try to setting up hr_lr = high, even though didn't work.
Any suggestion why this is not working, both instruction set /clear the same pin different LR loop.