1 Reply Latest reply on Apr 2, 2019 9:25 PM by SrinathS_16

    FX3: get values of GPIFII counters

    josw_3010621

      Hi,

      is it possible to read the actual counter values of DATA_COUNT, ADDR_COUNT and CTRL_COUNT registers?

       

      Thanks in advance.

       

      Joe

        • 1. Re: FX3: get values of GPIFII counters
          SrinathS_16

          Hello Joe,

           

          - The current value of the counter cannot be obtained in the firmware. Instead, an event can be generated when the counter limit value is being hit.

          - The counter values can be initialized in the firmware using the CyU3PGpifInitDataCounter(), CyU3PGpifInitAddrCounter() and CyU3PGpifInitCtrlCounter() APIs. These APIs perform the same functions as the counter initialization in the state machine.

           

          Best regards,

          Srinath S