Documents

DataSheet of CH341

Categories
Published
of 14
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Related Documents
Share
Description
DataSheet of CH341
Transcript
  The DataSheet of CH341 (the first) 1 USB bus convert chip CH341 English DataSheet Version:2D http://wch.cn http://wch-ic.com 1.   Introduction CH341 is a USB bus convert chip, providing UART, printer port, parallel and synchronous serial with 2-wire or 4-wire through USB bus. In UART mode, CH341 provides alternant rate control signals such as serial transfer enable, serial receive in ready etc. It also supplies common MODEM communication signal in order to expand UART for computer or upgrade common synchronous interface device to USB bus directly. In printer port mode, CH341 supplies standard USB printer port which compounds USB relevant  protocol and Windows operate system used to upgrade ordinary parallel printer to USB bus directly. In parallel mode, CH341 gives out 8-bit parallel in EPP or MEM mode. It can be used to input/output data directly without MCU/DSP. Besides, CH341A also supports some common synchronous serial such as 2-wire (SCL, SDA) and 4-wire (CS, SCK/CLK, MISO/SDI/DIN and MOSI/SDO/DOUT) interface. D+ D- 2.   Features 2.1.Introduction     Full speed USB device interface, conforms to USB Specification Version 2.0, only needs crystal and capacitance external.   Optional: define Vender ID, production ID and list number through external low-cost serial EEPROM.   Supports 5V and 3.3V power source.   Low-cost, directly convert serial peripheral equipment, parallel printer and parallel peripheral equipment.   SOP-28 and SSOP-20 package lead free, compatible with RoHS.   Only compatible with application layer because interfaces are diverted via USB. Computer and other USB host CH341 Convert chip   UART/RS232/RS485/RS422 Parallel printer to USB printer EPP parallel and MEM parallel Common 2-wire and 4-wire synchronous serial  The DataSheet of CH341 (the first) 2 2.2. UART   Simulate standard serial used to upgrade serial peripheral equipment or increase extra serial via USB.   Totally compatible with serial application program of computer Windows operation system.   Hardware full-duplex serial, on-chip transform and receive buffer, supports 50bps~2Mbps communication baud rate.   Supporting five, six, seven or eight data bits, supporting odd, even, blank, token and no check.   Supporting serial transfer and receive enable and serial receive ready etc transfer speed control signal and MODEM liaison signal.   Providing RS232, RS485 and RS422 interface through adding level switch equipment external.   Supporting indirectly access to outside serial EEPROM memory through standard serial communication. 2.3. Printer port   Standard USB printer port used to upgrade parallel printer, conforms to relevant USB specification.   Compatible with Windows operation system, totally compatible with application program under Windows 2000 and XP without drive program.   Supports various standard parallel printers, low-speed and high-speed print mode are optional.   Supports bi-directional communication of IEEE-1284 specification, supports single directional and  bi-directional transfer printer. 2.4. Parallel   Providing two interface mode: EPP and MEM.   EPP mode supplies AS#, DS# and WR# etc signal, similar with EPP V1.7 or EPP V1.9.   MEM mode supplies A0, RD# and WR# etc signal, similar with memory read/write mode. 2.5. Synchronous serial   Adopts FlexWire TM technology, realize various 2-wire to 5-wire synchronous serial via software.   As Host/Master endpoint, supports 2-wire and 4-wire etc common synchronous serial.   2-wire interface supplies SCL and SDA signal wire, supports four kinds of transfer speed. 3.   Package  The DataSheet of CH341 (the first) 3 Package shape   Width of plastic   Pitch of Pin   Instruction of package   Ordering type   SOP-28   7.62mm   300mil   1.27mm   50mil   Small outline package of 28-pin CH341A   SSOP-20   5.30mm   209mil   0.65mm   25mil   Shrink small outline package of 20-pin   CH341T   SSOP-20 5.30mm   209mil   0.65mm   25mil   Shrink small outline package of 20-pin CH341H  Note: CH341T is only used to USB convert to serial interface or USB convert to 2-wire interface, CH341H is only used to USB convert to 4-wire interfaces etc. (such as SPI) 4.   Pins 4.1.General explanation The detail function of CH341 is decided by function configuration after reset. The same pin may have different define under different function. CH341T and CH341H adopts SSOP-20 package, the simple vision of CH341A, the pins with same pin name have the same function of them. The multiply VCC pins parallel connect as VCC and multiply GND  pins parallel connect as GND in CH341T and CH341H. 4.2.Standard public pins Pin No. 341A 341T 341H Pin Name Pin Type Pin Description 28 13,20 20 VCC POWER Positive power input port, requires an 0.1uF power decoupling capacitance 12 11,12 7,18 GND POWER Public ground, ground connection for USB bus 9 6 4 V3 POWER Attachment of VCC input external power while 3.3V;connects of 0.01uF decoupling capacitance outside while 5V 13 9 8 XI IN Input of crystal oscillator, attachment of crystal and crystal oscillator capacitance external 14 10 9 XO OUT Opposite output of crystal oscillator, attachment of crystal and crystal oscillator capacitance outside   10 7 5 UD+ USB signal Directly connects to D+ data wire of USB bus 11 8 6 UD- USB signal Directly connects to D- data wire of USB bus 1 1 1 ACT# OUT After USB device configuration output status, low active 2 No 2 RSTI IN Input of external reset, active with high-level, with  pull-down resistor 24 16 No SCL Drain open Output Output of chip function configuration, with  pull-up resistor, connect with SCL of serial EEPROM configuration chip 23 15 No SDA drain open OUT/IN Input of chip function configuration, with pull-up resistor, connect with SDA of serial EEPROM configuration chip  The DataSheet of CH341 (the first) 4 4.3.Asynchronous serial interface pins Pin No. 341A 341T Pin Name Pin Type Pin Description 5 3 TXD OUT Serial data output 6 4 RXD IN Serial data input, with pull-up resistor 27 19 TEN# IN Serial transfer enable, active with low-level, with pull-up resistor 25 17 RDY# OUT Serial receive is ready, low-level active 26 18 TNOW OUT Indicate serial interface transfer is carrying out, high-level active 4 2 ROV# Tri-state Output Serial receive buffer overflow, low-level active 15 No CTS# IN MODEM liaison input signal, clear transfer, low-level active 16 No DSR# IN MODEM liaison input signal, data equipment is ready, low-level active 17 No RI# IN MODEM liaison input signal, indication with bell, low-level active 18 No DCD# IN MODEM communication input signal, carrier wave detection, low-level active 20 No DTR# Tri-state Output MODEM liaison output signal, data terminal ready, low-level active 21 No RST# Tri-state Output MODEM liaison output signal, request transferring, low-level active 19 No OUT# Tri-state Output Self-define common output signal, low-level active 7 5 INT# IN Self-define interrupt request, rising edge active, with  pull-up resistor 8 No IN3 IN Self-define common input signal, un-connection is recommended 3 No IN7 IN Self-define common input signal, un-connection is recommended 22 14 SLP# Tri-state Output Sleep state output signal, low-level active 4.4.Print interface mode pins 341A Pin No. Pin Name Pin Type Pin Description 22~15 D7~D0 Tri-state Output 8-bit parallel data output, connect to DATA7~DATA0 25 STB# OUT Data strobe output, low-level active, connect to STROBE 4 AFD# OUT Automatically feed output, low-level active, connect to AUTO-FEED

Sri Suktham

Jul 23, 2017
We Need Your Support
Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

Thanks to everyone for your continued support.

No, Thanks