cancel
Showing results for 
Search instead for 
Did you mean: 

Timer External Clock

jveith
Associate II
Posted on May 07, 2011 at 12:38

Timer External Clock

2 REPLIES 2
mehmet.karakaya
Associate III
Posted on May 17, 2011 at 14:34

dont waste your time trying to count ETR pulses

no matter what I tried I couldnot count ETR pulses

There must be a hardware bug

try counting CH1 pulses instead

jveith
Associate II
Posted on May 17, 2011 at 14:34

> There must be a hardware bug

The reason for not counting was a cold solder junction at the enameled copper wire what does the modification of PCB from T2-CH4 to T3_ETR pin. As soon as there is a signal with edges at the ETR pin, the above posted code increments the counter like expected.

>no matter what I tried I couldnot count ETR pulses

Try the code from above and check your ETR pin for present pulses. If they are missing, there must be a hardware bug...