cancel
Showing results for 
Search instead for 
Did you mean: 

USB Low-Full-High Speed Peripherals

karac_3142546
New Contributor II

Hi,

I cannot get the GPIOs working on my CY7C65211. What I have is:
-a working device configured as I2C + PC side software

-GPIO 11 appearing as "unused" in the Configuration Tool

-GPIO 11 alternatively configured as Driven 0/Driven1/Tristate - no change

-Briefly tried other GPIO ports too

My code line:

     cyret = CySetGpioValue(cyhandle, 11, 1);

always returns CY_ERROR_REQUEST_FAILED. 'cyhandle' is valid, e.g.

CySetI2Config() accepts it.

Is there some GPIO-specific initialisation I need to run?

Should GPIOs be usable when the device is in I2C mode?

Is there any example source code that drive GPIO?

I have thus far only tested on Linux with the latest CyUSB SDK (Feb. 6, 2016), Ubuntu 16.04.

thanks,

kalle

0 Likes
1 Solution
YangyangC_06
Employee

Hi,

When you set CPIOx to Drive high in serial configuration utility, the GPIOx will output HIGH afer reset.

View solution in original post

0 Likes
8 Replies