cancel
Showing results for 
Search instead for 
Did you mean: 

USB Superspeed Peripherals

odda_4703951
New Contributor

Hi,

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 ?

Oded.D

0 Likes
1 Solution
YashwantK_46
Moderator
Moderator

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.

Regards,
Yashwant

View solution in original post

0 Likes
1 Reply
YashwantK_46
Moderator
Moderator

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.

Regards,
Yashwant

View solution in original post

0 Likes