1. Introduction
The CH9101 is a versatile USB bus converter chip designed to facilitate communication between a USB host and various serial interfaces. It efficiently converts USB signals to standard serial port signals, enabling computers to expand their serial port capabilities or allowing existing serial devices and microcontrollers (MCUs) to be easily upgraded for USB bus connectivity. The chip provides standard MODEM signals for comprehensive serial communication.
2. Key Features
- USB Interface: Full-speed USB device interface, fully compatible with USB 2.0 standards.
- UART Emulation: Built-in firmware emulates a standard UART interface, ideal for upgrading existing serial peripherals or adding new UART ports via USB.
- Software Compatibility: Original serial applications are fully compatible with Windows operating systems without requiring any modifications.
- Driver Support: Supports operating systems with built-in CDC drivers (free installation) or multi-functional high-speed VCP vendor drivers.
- UART Performance: Hardware full-duplex UART interface with an integrated independent transmit-receive buffer. Supports communication baud rates ranging from 50bps to 3Mbps.
- Data Format: UART supports 5, 6, 7, or 8 data bits, and various parity options including odd, even, space, mark, and none.
- MODEM Signals: Supports common MODEM interface signals: RTS, DTR, DCD, RI, DSR, and CTS.
- Flow Control: Supports CTS and RTS hardware automatic flow control.
- Half-Duplex Support: Provides sending status (TNOW) for controlling RS485 transmit-receive switching in half-duplex mode.
- RS232 Compatibility: Supports RS232 interface through an external voltage conversion chip.
- Integrated Components: Features integrated power-on reset and an integrated clock, eliminating the need for an external crystal.
- Configurable EEPROM: CH9101U/H/Y/R variants include a built-in EEPROM for configuring parameters such as VID, PID, maximum current value, vendor, and product information strings.
3. Electrical Characteristics
- Power Supply: Supports 5V and 3.3V power supply voltages.
- UART I/O Voltage: The UART interface I/O is powered independently, supporting 5V, 3.3V, 2.5V, and 1.8V power supply voltages.
4. Specifications and Package Information
The CH9101 series is available in various packages, each with specific body sizes and lead pitches. Refer to the table below for detailed package specifications.
Package Types:
- CH9101U: SSOP28 (Shrink Small-Outline Package)
- CH9101H: QFN32X5 (Quad Flat No-Lead Package)
- CH9101Y: QFN16X4 (Quad Flat No-Lead Package)
- CH9101R: QSOP16 (Quarter-sized Outline Package)
- CH9101N: SOP8 (Small Out-Line Package)
5. Setup and Installation
The CH9101 chip acts as a bridge between a USB host (e.g., computer) and a serial interface (UART, RS232, RS485). Proper integration involves connecting the USB data lines (UD+, UD-) and power (VDD5) to the USB host, and the VIO and UART/RS232/RS485 lines to the target device. The VIO pin allows for independent power supply voltage for the UART I/O, supporting various logic levels.
5.1. Block Diagram
5.2. Pinout Information
Understanding the pin assignments is crucial for correct integration. The pinouts vary by package type.
5.3. Driver Installation
For most modern operating systems, the CH9101 may utilize a built-in CDC (Communication Device Class) driver, allowing for "free installation." However, for full functionality or specific operating systems, a multi-functional high-speed VCP (Virtual COM Port) vendor driver might be required. Refer to the official WCH website for the latest driver downloads and installation instructions.
5.4. Application Circuits
Below are typical application circuits demonstrating how to integrate the CH9101 for different serial communication standards.
5.4.1. USB to 9-line TTL UART
5.4.2. USB to 9-line RS232 UART
5.4.3. USB to RS485 UART
6. Operating Instructions
Once the CH9101 chip is correctly integrated into your circuit and the necessary drivers are installed on your computer, it will appear as a virtual COM port. You can then use standard serial communication software to interact with your connected serial device.
- Identify COM Port: After connecting the USB interface, check your computer's Device Manager (Windows) or equivalent system information to identify the assigned COM port number for the CH9101.
- Configure Serial Software: Open your preferred serial terminal program (e.g., PuTTY, Tera Term, Arduino Serial Monitor) and configure it with the correct serial parameters:
- Baud Rate: Set the baud rate to match your target serial device (e.g., 9600, 115200, up to 3Mbps).
- Data Bits: Select 5, 6, 7, or 8 data bits.
- Parity: Choose odd, even, space, mark, or none, as required by your device.
- Stop Bits: Typically 1 stop bit.
- Flow Control: Configure hardware flow control (CTS/RTS) or software flow control (XON/XOFF) if needed, or set to none.
- Communication: Once configured, you can send and receive data through the virtual COM port, communicating with your serial device as if it were connected directly to a physical serial port.
- RS485 Control: When operating in RS485 half-duplex mode, the TNOW signal can be used to control the transmit-receive switch of an external RS485 transceiver, ensuring proper data direction.
7. Maintenance
The CH9101 is a robust integrated circuit designed for reliable operation. Minimal maintenance is required, but adhering to good practices will ensure longevity:
- Proper Handling: Handle the chip and associated circuitry with care to avoid physical damage or electrostatic discharge (ESD).
- Environmental Conditions: Operate the chip within its specified temperature and humidity ranges. Avoid exposure to extreme conditions, moisture, or corrosive substances.
- Power Supply: Ensure stable and clean power supplies (5V/3.3V for the chip, and appropriate VIO for UART I/O) are provided to prevent damage.
- Cleanliness: Keep the circuit board and chip free from dust and debris.
8. Troubleshooting
If you encounter issues while using the CH9101, consider the following troubleshooting steps:
- Device Not Recognized:
- Verify USB cable connection.
- Check if the correct drivers are installed. Reinstall drivers if necessary.
- Try a different USB port on your computer.
- Ensure the CH9101 chip is correctly powered and integrated into the circuit.
- No Communication:
- Confirm the correct COM port is selected in your serial communication software.
- Double-check all serial parameters (baud rate, data bits, parity, stop bits, flow control) match those of your target device.
- Verify the TXD and RXD lines are correctly cross-connected (TX of CH9101 to RX of device, and RX of CH9101 to TX of device).
- Ensure the VIO voltage level matches the logic level of your target serial device.
- Check for any short circuits or open connections in your wiring.
- Intermittent Communication:
- Check for loose connections or poor soldering.
- Ensure adequate power supply stability.
- Reduce the baud rate to see if stability improves, indicating potential signal integrity issues at higher speeds.
9. User Tips
- Datasheet Reference: Always refer to the official datasheet for the most detailed technical specifications and application guidelines, especially for complex integrations.
- ESD Protection: When handling the chip, use anti-static precautions (e.g., ESD wrist strap, anti-static mat) to prevent damage from electrostatic discharge.
- Power Supply Decoupling: For stable operation, especially at higher baud rates, ensure proper decoupling capacitors are placed near the power pins of the CH9101 and any external voltage conversion chips.
- VIO Configuration: Pay close attention to the VIO pin to correctly match the logic levels of your peripheral device. Incorrect VIO voltage can lead to communication errors or damage.
10. Support and Documentation
For the most up-to-date information, detailed technical specifications, and driver downloads, please refer to the official WCH website.
Official Datasheet:
https://www.wch-ic.com/downloads/CH9101DS1_PDF.html
This link provides access to the comprehensive datasheet (CH9101DS1_PDF.html) which includes detailed electrical characteristics, timing diagrams, and further application notes. Source · https://manuals.plus/ae/1005006844239869