Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
interfaces:cp2102 [2014/12/22 12:39]
darron
interfaces:cp2102 [2020/08/22 06:07] (current)
darron [Linux]
Line 4: Line 4:
 </wrap> </wrap>
  
-This is a high speed USB UART which 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.
  
-== Documentation at Silicon Labs === +=== BAITE module (pictured) ===
-[[http://www.silabs.com/Support%20Documents/TechnicalDocs/CP2102-9.pdf|Data-sheet]]+
  
-=== BAITE Cp2102 module (pictured) === 
 Transmit is labelled RXD and receive as TXD on this module. Transmit is labelled RXD and receive as TXD on this module.
  
-==== Linux ====+=== CJMCU module ==
 + 
 +This module uses a cp2102 device incorrectly wired with 
 +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. 
 + 
 +{{:interfaces:6in1.jpg?400}} 
 + 
 +<code> 
 +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 
 +</code> 
 + 
 +=== Linux ===
  
 == udev /dev/ttyCP2102 == == udev /dev/ttyCP2102 ==
 +
 <code> <code>
-KERNEL=="ttyUSB*",ATTRS{idVendor}=="10c4",ATTRS{idProduct}=="ea60",ATTRS{serial}=="0001",+KERNEL=="ttyUSB*",
-    GROUP="dialout",MODE="0660",RUN+="/bin/ln -sf %k /dev/ttyCP2102"+    ATTRS{idVendor}=="10c4",
 +    ATTRS{idProduct}=="ea60",
 +    ATTRS{serial}=="0001",
 +    GROUP="dialout",
 +    MODE="0660",
 +    RUN+="/bin/ln -sf %k /dev/ttyCP2102"
 </code> </code>
  
 == udev by-id == == udev by-id ==
 +
 <code> <code>
 /dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0 /dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0
 </code> </code>
-udev by-id is not supported by the k8048 Microchip PIC programmer. 
  
-==== k8048 Microchip PIC programmer ====+ 
 +=== Pickle Microchip PIC ICSP ===
  
 == Low Voltage Programming with VPP at 3V3 == == Low Voltage Programming with VPP at 3V3 ==
Line 51: Line 88:
 == Configuration == == Configuration ==
 <code> <code>
-DEVICE=/dev/ttyUSB0+DEVICE=TTY 
 +IFACE=/dev/ttyUSB0
 SLEEP=0 SLEEP=0
 BITRULES=0x001F BITRULES=0x001F
 </code> </code>
 +
 +=== Resources ===
 +[[http://www.silabs.com/Support%20Documents/TechnicalDocs/CP2102-9.pdf|Data-sheet]]
 +