- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, Sir,
The Customer uses CySetGpioValue API want to set one GPIO high / Low on Linux platform.
but libusb_control_transfer return error code -9 (LIBUSB_ERROR_PIPE).
How to solve it?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
CySetGpioValue API can only set the value of a GPIO that is configured as an output.
Please refer to a similar thread: https://community.infineon.com/t5/USB-low-full-high-speed/CY7C65211-GPIOs-doesn-t-work/td-p/159819
Regards,
Mallika
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
CySetGpioValue API can only set the value of a GPIO that is configured as an output.
Please refer to a similar thread: https://community.infineon.com/t5/USB-low-full-high-speed/CY7C65211-GPIOs-doesn-t-work/td-p/159819
Regards,
Mallika
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, Mallika
I check with customer, they already configure GPIOs as output by utility before test , but it still can't work.
can you please provide us a linux example code?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please refer to the following KBA: https://community.infineon.com/t5/Knowledge-Base-Articles/USB-Serial-Bridge-Controller-Managing-I-Os...
Kindly attach the screenshot of the configuration utility wherein you are configuring the I/Os.
Regards,
Mallika