This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
As per 3137 TRM,
"NOTE: For each N2HET pin, only one instruction specifying a high resolution operation
(hr_lr = HIGH) is allowed to execute per loop resolution period. This includes any
instructions where (hr_lr = HIGH) but (en_pin_action = OFF).
The first high resolution instruction that executes and specifies a particular pin locks out
subsequent high resolution instructions from operating on the same pin until the end fo the
current loop resolution period."
What could be the possible error while measuring the Tperiod if we use two instructions with hr_lr = HIGH as shown below. I see it against the TRM recommendation but I have a limitation not to change this code.
;Ton
Test_TON PCNT {hr_lr=HIGH,reqnum=1,request=GENREQ,type=RISE2FALL,pin=TEST_PIN};
;Tperiod
TEST_TP PCNT {hr_lr=HIGH,reqnum=1,request=GENREQ,type=RISE2RISE,pin=TEST_PIN};
Thanks
Hello Jaisanesh,
As mentioned in anther thread, the maximum error is one LRP.