Using CP2102 USB to TTL converter

Using CP2102 USB to TTL converter

 

Serial Communication based on UART is the basic communication used in embedded controllers. Serial data output is used to communicate with other devices or basically output debug data to PC. Controllers have single or multiple UART interfaces and interfacing them to a computer or laptop requires intermediate device. As the laptops have USB, we have to convert the UART data which have TTL logic to the USB to capture data over USB on laptop. For this USB to TTL conversion is used. CP2102 is the USB to TTL converter from Silicon Labs. Converter has Type A connector on one side and 5 right angle berg pins on one side. The above image shows the USB to TTL converter module. The pin out is shown in the below module.



  • CP2102 is USB2.0 compliant and supports up to 12 Mbps (Full-Speed)
  • Data Rate between 300 bps to 1 Mbps
  • CP2012 supports Self-powered: 3.0 to 3.6 V (Explained in below video)
  • CP2012 supports USB bus-powered: 4.0 to 5.25 V (Explained in below video)
  • CP2102 has on-chip regulator which generates 3.3V from the USB VBUS 5V input
System diagram from the CP2102 datasheet gives an idea of the pin interfacing of CP2012


The below image shows the USB bus powered configuration where VBUS and REGIN are given supply from USB connector and internal voltage regulator is generating 3.3V.



The usage of USB to TTL converter module connection to laptop and voltages read are explained in the below video.

   

Post a Comment

0 Comments