CH340 Datasheet – USB to Serial Chip (CH340G)

Part Number: CH340

Function: USB to serial chip

Package: SSOP-20 Type

Manufacturer: WCH ( http://wch.cn/ )

This post explains for the semiconductor CH340.

Image :

ch340-usb-to-serial-chip

Description

CH340 is a USB bus convert chip and it can realize USB convert to serial interface, USB convert to IrDA infrared or USB convert to printer interface. In serial interface mode, CH340 supplies common MODEM liaison signal, used to enlarge asynchronous serial interface of computer or upgrade the common serial device to USBbus directly. More detail about USB convert to printer interface please referring to the second manual CH340DS2. In infrared mode, add infrared transceiver to CH340 can compose USB infrared adapter, realize SIR nfrared communication. The CH340 chip can be used with a variety of programming languages, including C, C++, Python, and others.

 

CH340 Pinout

ch340-datasheet-pinout

 

Features

1. Full speed USB device interface, conforms to USB Specification Version 2.0, only needs crystal and capacitance external.

2. Emulate standard serial interface, used to upgrade the former peripheral device, or add excess serial interface through USB.

3. Totally compatible with serial application program in computer endpoint Windows operation system.

4. Hardware full duplex serial interface, set transceiver buffer, supports communication baud rate varies from 50bps to 2Mbps.

5. Supports common MODEM liaison signal RTS, DTR, DCD, RI, DSR and CTS.

6. Through adding level converter equipment to supply RS232, RS485, RS422 and other interface.

7. Supports IrDA criterion SIR infrared communication, supports baud rate varies from 2400bps to
115200bps.

8. For it is through USB converts to serial interface, only compatible with application layer not totally.

9. Software compatible with CH341, using drive of CH341 directly.

10. Support 5V and 3.3V source voltage.

 

Block Diagram

ch340-block-diagram

 

Function description

CH340 sets up USB pull-up resistor internal, UD+ and UD- must be connected to USB bus.
CH340 set power up reset circuit. RSTI is used to input asynchronous reset signal from outside.

When RSTI is high-level, CH340 chip is reset. When RSTI is low-level, CH340 will continue delay 20mS to reset and then step into normal work state. In order to reset credibly during power up period and weaken the disturber from outside, a 0.47uF capacitance between RSTI and VCC is recommended.

When CH340 chip is working normally, the outside must supply 12MHz clock signal to XI pin.
In generally, clock signal is generated by inverter in CH340 through oscillating of crystal keeping frequency. A crystal of 12MHz between XI and XO, XI and XO connect a high frequency oscillator capacitance to ground respectively can compose the peripheral circuit.

 

Reference Site: https://www.sunrom.com/m/4511

Other data sheets are available within the file: CH340G, CH340R, CH340T

CH340 Datasheet

CH340 pdf


 

 

Related articles across the web

CYT3000B Datasheet PDF – Voltage LED Driver Chip – CYT

Part Number: CYT3000B

Function : High power factor linear constant current high voltage LED driver chip

Package: ESOP-08 Type

Manufacturer: CYT Opto-electronic ( http://www.cyt.com.cn/ )

Image

cyt3000b-led-driver

Description

The CYT3000B is a high power factor linear constant current high voltage LED driver chip, used in LED lighting field. The chip through a unique constant current control patented technology to achieve constant current accuracy of less than ± 5%, the output current can be adjusted by an external resistor Rt, the chip has a high power factor and low harmonic distortion.

The CYT3000 has the output current with temperature automatic adjustment function. When the temperature is too high the system will reduce the output current, in order to achieve the effect of lowering the temperature, the temperature protection point can be set by the external resistance of the pin RTH side.

CYT-3000B with input power automatic adjustment function, when the input voltage is too high, it will reduce the output current, the amplitude of the current reduction set by external resistor RD, in order to ensure that the input power does not vary with the input voltage.

 

Pinout

cyt3000b-datasheet-pinout

Features

1. No transformer and electrolytic capacitors are required

2. Integrated high-voltage start power supply

3. The output current is adjustable up to 80mA

4. Inter-chip current deviation <± 5%

5. Efficiency : > 90%

6. Power factor> 0.95

7. THD : <20%

8. With automatic temperature adjustment function

9. With power automatic adjustment function

10. Chip application system without EMI problems

 

Official Homepage: https://www.cyt.com.cn/

 

CYT3000B Datasheet PDF


 

Related articles across the web