This is an old revision of the document!


Silicon Labs cp2102

cp2102.jpg

This is a high speed USB UART and a genuine item should easily attain 460800 baud in Linux or even higher.

BAITE module (pictured)

Transmit is labelled RXD and receive as TXD on this module.

The device appears to be a genuine cp2102.

CJMCU module (not pictured yet)

This module appears to use a fake cp2102 device and rather than the on-chip VREG being 3V3 these boards output 4.3V or 4.4V on their output pins. This module is totally unreliable at 460800 baud.

Linux

udev /dev/ttyCP2102
KERNEL=="ttyUSB*",\
    ATTRS{idVendor}=="10c4",\
    ATTRS{idProduct}=="ea60",\
    ATTRS{serial}=="0001",\
    GROUP="dialout",\
    MODE="0660",\
    RUN+="/bin/ln -sf %k /dev/ttyCP2102"
udev by-id
/dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0

udev by-id is not supported by Pickle Microchip PIC ICSP.

Pickle Microchip PIC ICSP

Low Voltage Programming with VPP at 3V3

Separate data I/O connections (only supported option)

BAITE Cp2102 module               PICMicro
===================               ========

3V3-------------------------------VDD

GND-------------------------------VSS

TX (RXD)--------------------------VPP

RTS-------------------------------PGC

DTR-----------1000R----------+----PGD
                             |
CTS--------------------------+
Configuration
DEVICE=TTY
IFACE=/dev/ttyUSB0
SLEEP=0
BITRULES=0x001F

Resources

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies