- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Solved! Go to Solution.
- Tags:
- gpio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
When you set CPIOx to Drive high in serial configuration utility, the GPIOx will output HIGH afer reset.