Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
interfaces:cp2102 [2017/03/16 01:10] – [BAITE Cp2102 module (pictured)] darron | interfaces:cp2102 [2020/08/22 06:07] (current) – [Linux] darron | ||
---|---|---|---|
Line 6: | Line 6: | ||
This is a high speed USB UART and a genuine item should easily attain 460800 baud in Linux or even higher. | This is a high speed USB UART and a genuine item should easily attain 460800 baud in Linux or even higher. | ||
- | === BAITE Cp2102 | + | === BAITE module (pictured) === |
Transmit is labelled RXD and receive as TXD on this module. | Transmit is labelled RXD and receive as TXD on this module. | ||
- | The device appears to be a genuine | + | === CJMCU module === |
+ | |||
+ | This module uses a cp2102 | ||
+ | 4v4 on their output pins instead of 3v3. This module is totally | ||
+ | unreliable at 460800 baud. | ||
+ | |||
+ | A source on the web explains that the RESET pin is incorrectly | ||
+ | pulled high to VUSB. | ||
+ | |||
+ | === 6 in 1 USB to TTL RS232 USB TTL to RS485 === | ||
+ | |||
+ | There is lot going on here and none has been tested. A diagram exists | ||
+ | explaining the switches. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | < | ||
+ | Mode Pin Function | ||
+ | TTL Level Interface TXD TTL Transmit | ||
+ | TTL Level Interface RXD TTL Receive | ||
+ | TTL Level Interface GND TTL ground | ||
+ | 232 Level Interface 232-TX 232 Transmit | ||
+ | 232 Level Interface 232-RX 232 Receive | ||
+ | 232 Level Interface GND 232 Ground | ||
+ | 485 Level Interface A 485A+ | ||
+ | 485 Level Interface B 485B- | ||
+ | +5V Voltage Output +5V +5V Voltage Output | ||
+ | 3.3 Voltage Output 3V3 3.3V Voltage Output | ||
+ | DTR Output DTR Special Function | ||
+ | RTS Output RTS Special Function | ||
+ | </ | ||
=== Linux === | === Linux === | ||
== udev / | == udev / | ||
+ | |||
< | < | ||
KERNEL==" | KERNEL==" | ||
Line 24: | Line 57: | ||
== udev by-id == | == udev by-id == | ||
+ | |||
< | < | ||
/ | / | ||
</ | </ | ||
- | udev by-id is not supported by Pickle Microchip PIC ICSP. | + | |
=== Pickle Microchip PIC ICSP === | === Pickle Microchip PIC ICSP === | ||
Line 54: | Line 88: | ||
== Configuration == | == Configuration == | ||
< | < | ||
- | DEVICE=/ | + | DEVICE=TTY |
+ | IFACE=/ | ||
SLEEP=0 | SLEEP=0 | ||
BITRULES=0x001F | BITRULES=0x001F |