PSOC3 counter difficulty | Cypress Semiconductor
PSOC3 counter difficulty
I use a "Up and Down" counter ( 32 bits ) configured as follows :
-period : 4294967295 (2^32 - 1)
-clock mode : count input and direction
-run mode : continuous
-reload counter on "reset" and on "tc"
Besides my input pin is configured in "resistive pull down" as drive mode, my goal is to count rising edge of a rotary encoder (in order to know the position of a robot), however my problem is when I turn my encoder the counter increment too fast whereas I turn a little bit the encoder. What's the problem ?
PS : I'm French what explain the quality of my English, I joined the project with the post, the name of the counter is "Counter_debug" in the PSOC Creator project!