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.
reference to SPNA178 – April 2015: Monitoring PWM Using N2HET
In the PWM monitoring N2HET program,
Both
L02 PCNT { hr_lr=HIGH,type=RISE2FALL,pin=PULSE_MONITOR_PIN_NUM};
and
L04 MCMP {
next=L00,hr_lr=LOW,cond_addr=L05,pin=0,order=REG_GE_DATA,reg=R,data=SKIP_EDGES,hr_data=0};
Can MCMP also uses hr_lr = HIGH when MCMP(pin) is different from PCNT(pin) ? To my understanding, in one loop, only one HR instruction in HR mode for each N2HET PIN can be used, so multiple HR Instructions with different PINs are allowed ?
Is this correct ?
Hi Hongbo,
We started working on your issue and we will provide an update soon.
--
Thanks & regards,
Jagadish.
Hi Hongbo,
Apologies for the delay.
Can MCMP also uses hr_lr = HIGH when MCMP(pin) is different from PCNT(pin) ? To my understanding, in one loop, only one HR instruction in HR mode for each N2HET PIN can be used, so multiple HR Instructions with different PINs are allowed ?
Yes, your understanding is correct.
You can use multiple HR instructions for different PIN's.
--
Thanks & regards,
Jagadish.