5 Replies Latest reply on Nov 15, 2017 1:15 PM by AfdhalAtiffTan

    Extending TCPWM in Quadrature Decoder Mode

    AfdhalAtiffTan

      Hi all,

       

      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.

       

      Any tips?

       

      Thank you.