CY7C65211 - LIBUSB_ERROR_PIPE

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

cross mob
Ivan_Lee
Level 5
Level 5
Distributor - Zenitron(GC)
100 replies posted 5 likes given 100 sign-ins

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?

 

 

0 Likes
1 Solution
MallikaK_22
Moderator
Moderator
Moderator
50 likes received 750 replies posted 250 solutions authored

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

View solution in original post

0 Likes
3 Replies
MallikaK_22
Moderator
Moderator
Moderator
50 likes received 750 replies posted 250 solutions authored

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

0 Likes
Ivan_Lee
Level 5
Level 5
Distributor - Zenitron(GC)
100 replies posted 5 likes given 100 sign-ins

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?

 

 

0 Likes
MallikaK_22
Moderator
Moderator
Moderator
50 likes received 750 replies posted 250 solutions authored

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

0 Likes