1 Reply Latest reply on May 18, 2020 5:20 AM by YashwantK_46

    Slave FIFO interface with 32 bits GPIO configuration



      We are working at slave FIFO interface with 32 bits. With this setup of configuration, we would like to use GPIO[50,51,52,57] and GPIO[45] as GPIO – input and output function.

      These GPIO at slave FIFO configuration are assign to I2S interface, can we change it to GPIO in and out ports?


      Do we need special code for it? 

      I assume we need to perform the structure change from the GUI, do we need special code to run polling and generating output signals on those pins ?



        • 1. Re: Slave FIFO interface with 32 bits GPIO configuration

          Hello Oded,


          You can use them as GPIO's but you will need to override them first using the CyU3PDeviceGpioOverride() API and then configuring it according to your application.


          You can refer to the firmware example provided in the SDK path: C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\firmware\serialif_examples\cyfxgpioapp


          The above example has the GPIO override and then configuring it as a simple GPIO.