Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
interfaces:ch340g [2017/01/11 22:57] – [RS485] darron | interfaces:ch340g [2021/08/11 11:08] (current) – [Resources] darron | ||
---|---|---|---|
Line 1: | Line 1: | ||
==== Nanjing QinHeng Electronics CH340 ==== | ==== Nanjing QinHeng Electronics CH340 ==== | ||
<wrap right> | <wrap right> | ||
- | {{: | + | {{: |
+ | \\ \\ | ||
+ | {{: | ||
</ | </ | ||
Line 54: | Line 56: | ||
/ | / | ||
</ | </ | ||
- | udev by-id is not supported by Pickle Microchip PIC ICSP. | + | |
=== Pickle Microchip PIC ICSP === | === Pickle Microchip PIC ICSP === | ||
Line 70: | Line 72: | ||
The .pickle configuration for the CH340 is this. | The .pickle configuration for the CH340 is this. | ||
< | < | ||
- | DEVICE=/ | + | DEVICE=TTY |
+ | IFACE=/ | ||
SLEEP=600 | SLEEP=600 | ||
BITRULES=0x001F | BITRULES=0x001F | ||
Line 86: | Line 89: | ||
Cheap RS485 adapters exist using both this chip and a fake version of this chip. | Cheap RS485 adapters exist using both this chip and a fake version of this chip. | ||
- | The real chip is a CH340G with 16 pins and the fake chip has 24 pins in an unmarked package. The top 20 pins of the fake match those of a genuine CH340R or CH340T device which is only available | + | The real chip is a CH340G with 16 pins and the fake chip has 24 pins in an unmarked package. The top 20 pins of the fake match those of a genuine CH340R or CH340T device which is only available |
The RS485 I/O stage varies slightly between the real and fake adapters and is constructed like this for the CH340G device. | The RS485 I/O stage varies slightly between the real and fake adapters and is constructed like this for the CH340G device. | ||
Line 95: | Line 98: | ||
[[http:// | [[http:// | ||
+ | |||
+ | [[http:// |