How to control GPIO using USB vendor command

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

cross mob
yogac_3765066
Level 1
Level 1
First like given

Hello, everyone.


I'm new to FX3 and I needed to control GPIO ports from Host computer via USB vendor command.

I'm looking into examples but couldn't handle GPIO and USB transmission with computer simultaneously.

Any advice would be greatly appreciated.

0 Likes
1 Solution
SrinathS_16
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

Hello,

For usage of GPIO control, refer to the GpioApp example that comes with the FX3 SDK. For implementation of vendor command, refer to the USBBulkSourceSink example. Combining these two, GPIO can be controlled over the vendor command issued from the host.

Best regards,

Srinath S

View solution in original post

2 Replies
SrinathS_16
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

Hello,

For usage of GPIO control, refer to the GpioApp example that comes with the FX3 SDK. For implementation of vendor command, refer to the USBBulkSourceSink example. Combining these two, GPIO can be controlled over the vendor command issued from the host.

Best regards,

Srinath S

Thank you, SrinathS_16

I'll try again with these examples.

And I'm looking forward to your support would be continued in the future.

PS: I'm not a native speaker. If there is misunderstanding, I am truly sorry.

Sincerely yours, Yondonjamts Ganzorig

0 Likes