I am working on CY8CKIT-043. I needed at least 32-bit for a quadrature decoder in my project, however, TCPWM only offers16-bit of counter width.
I wanted to extend the 16-bit to 32-bit, but, the only interrupt source available are "terminal_count" and "compare".
I believe I will need at least an overflow and underflow flag for me to get this to work.
I know I can't use non-TCPWM QuadDec because it consumes all of the UDBs.
Solved! Go to Solution.
Whoa, thank you!
I was actually trying to get around it by using this schematic to set a direction-flag in my TC interrupt:
Found here (by RÖB): Encoders Spin Us Right Round | Hackaday
I will try the software version later.
Thank you for both of the links, they are super helpful!
You give me a hard time for selecting the best answer.