Changing GPIO between input and output on CY7C65211

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

cross mob
Anonymous
Not applicable

The SDK for the CY7C65211 doesn't seem to outline how to change the GPIO pins between inputs and outputs.  Does anyone know how this is done? 

0 Likes
2 Replies
Anonymous
Not applicable

Hi,

   

Changing the GPIO mode from input to output has to be done using "USB serial configuration utility". You can refer to the Knowledge Base article available in the link: 

   

http://www.cypress.com/knowledge-base-article/gpio-modes-supported-usb-serial-kba90068?source=search... 

   

 

   

Haneesh

0 Likes
Anonymous
Not applicable

Is the API for doing this not released?  Using the configuration utility doesn't make sense because switching GPIO modes is necessary for getting reliable values for GPIO inputs. I would rather not capture the data being sent by the "USB serial configuration utility" and reverse engineer it to read from a GPIO.