Reply
Posts: 2
Registered: ‎09-15-2017

CP2103 VCP Driver Unable to Access GPIO

I'm having trouble gaining access to the GPIO outputs while using the VCP driver. My application requires a VCP and access to GPIO. Is this possible? If I use the USB Xpress driver I can see the GPIO but lose the VCP. How can I use both? Thx
Posts: 3,150
Registered: ‎02-07-2002

Re: CP2103 VCP Driver Unable to Access GPIO

I think the gpio is accessible with ioctl() on the vcp.
Posts: 2
Registered: ‎09-15-2017

Re: CP2103 VCP Driver Unable to Access GPIO

Is this documented somewhere? IOCTL method that is.

 

Thanks

Ken

Highlighted
Posts: 2,384
Registered: ‎10-14-2014

Re: CP2103 VCP Driver Unable to Access GPIO

On windows I think you could have a look at the AN978, AN571 and AN721.

 

AN721 covers a tool to customize the CP210x device.

https://www.silabs.com/documents/public/application-notes/AN721.pdf

 

AN571 covers the interface between the host and CP210x device.

https://www.silabs.com/documents/public/application-notes/AN571.pdf

 

AN978 cover how to use runtime library from Silabs.

https://www.silabs.com/documents/public/application-notes/AN978-cp210x-usb-to-uart-api-specification...

 

My views are my own and do not necessarily represent the views of Silicon Labs

WeiguoLu