Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore trust in the CH340 USB-Serial Interface chip #269

Closed
TG9541 opened this issue Sep 12, 2019 · 0 comments
Closed

Restore trust in the CH340 USB-Serial Interface chip #269

TG9541 opened this issue Sep 12, 2019 · 0 comments
Assignees

Comments

@TG9541
Copy link
Owner

TG9541 commented Sep 12, 2019

Using the STM8 eForth 2-wire-interface with a CH340 based USB-Serial interface adapter never worked in a reliable way: some adapters worked, but most adapters never worked reliably (or at all). I suspected either the impedance of the device's TxD, or the low-level threshold of RxD to be too high.

CH340G_dongle

While reverse-hacking a CH340G based RS485 adapter I found the simple reason for the malfunction: the designers of the most common CH340 based serial interface adapter inserted a 1k5 resistor in the TxD line (see picture). After removing that resistor (e.g. by soldering a bit of wire on top) the adapter works just as well as any other TTL-serial interface. I guess I should have removed the shrink-wrap earlier.

Thus, the CH340 has nothing to do with the malfunction, and a quite some doc locations in Wiki and elsewhere need to be updated.

@TG9541 TG9541 self-assigned this Sep 12, 2019
@TG9541 TG9541 changed the title Restore trust in CH340 USB-Serial Interface adapter Restore trust in the CH340 USB-Serial Interface chip Sep 12, 2019
@TG9541 TG9541 closed this as completed Oct 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant