felHR85 / UsbSerial

Usb serial controller for Android
MIT License
1.8k stars 585 forks source link

How I can get ch340 virtual com port interface? #234

Closed yy8855343 closed 5 years ago

yy8855343 commented 5 years ago

I am debuggin ch340 driver in android (https://github.com/felHR85/UsbSerial). I need ch340 spec such as this document https://www.silabs.com/documents/public/application-notes/AN571.pdf But AN571.pdf is for cp2102.

How I can get this document for ch340?

felHR85 commented 5 years ago

@WangLiang85 As far as I know there is no such a public document for the Ch340.

eclectice commented 5 years ago

Check this one https://cdn.sparkfun.com/datasheets/Dev/Arduino/Other/CH340DS1.PDF

felHR85 commented 5 years ago

@eclectice That's more of a datasheet about pinouts and schematics. AN571 defines all usb requests available for driver developers.