I am using rh850d1m1a. To measure the frequency I am using input pulse interval measurement function.
Read value of the CDR is keep on increamenting on every read, although input pulse is constant. It seems CNT register is not resetting to 0 after valid edge.
May I know what could be the reason for this.
Valid edge is set falling edge.
Hi Jeevan,1.What timer are you using?
2. How are you configuring the timer for pulse interval measurement? Have you followed section "Operating Procedure for TAUxTTINm Input Pulse Interval Measurement Function" from the hardware user manual?
3. Is interrupt INTTAUxnIm interrupt triggered?Best Regards,Vasanth
Hi Vasanthrs
1.What timer are you using?
-> TAUB2. Channel 12 as independent unit(input pulse interval measurement)
-> Yes.
3. Is interrupt INTTAUxnIm interrupt triggered?
->I have disabled the interrupt
HI Jeevan,Can you share how you have configured the peripheral so that I can try to re-create the issue ?Best Regards,
Vasanth