About Complex GPIO configuration

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable
        Hi, I am configuring GPIF interface as slave fifo, in this case, which GPIOs can be configured as Complex GPIOs.   
0 Likes
4 Replies
Anonymous
Not applicable

 Hi,

   

The API CyU3PDeviceGpioOverride() can be used to override the GPIO's which are not used by GPIF II state machine and use them as Complex GPIO.

   

Regards,

   

Harikrishnan

0 Likes
Anonymous
Not applicable

Thanks for your reply.

   

In main function, I have used "gpioComplexEn" variable to configure complex GPIOs. Still should I use CyU3PDeviceGpioOverride() API?

   

Thanks,

   

Subbarao.

   

   

 

   
0 Likes
Anonymous
Not applicable

Subbarao,

   

If you look at the FX3 datasheet under the section "Pin Description", based on which configuration the device is in, each pin has its own functionality("Description" column). Those pins which remains as GPIO needs to be configured using gpioComplexEn , the other pins which has a different functionality needs to be overridden.

   

Regards,

   

Harikrishnan

0 Likes
Anonymous
Not applicable

Hi HariKrishnan,

   

I tried to confgiure some of the GPIF control signals and data signals which are not being used, as complex GPIO s, then the device is not booting.

   

What coudl be hte issue?

   

Thanks,

   

Subbarao.

0 Likes