Datasheet CH9121 (Nanjing Qinheng Microelectronics) - 6

HerstellerNanjing Qinheng Microelectronics
BeschreibungNetwork serial port transparent transmission chip
Seiten / Seite15 / 6 — 5. Function Parameter Descriptions. 5.1 Overview. 5.2 Basic Parameters. …
RevisionV2.5
Dateiformat / GrößePDF / 283 Kb
DokumentenspracheEnglisch

5. Function Parameter Descriptions. 5.1 Overview. 5.2 Basic Parameters. 5.3 Port Parameter

5 Function Parameter Descriptions 5.1 Overview 5.2 Basic Parameters 5.3 Port Parameter

Modelllinie für dieses Datenblatt

Textversion des Dokuments

CH9121 Datasheet https://wch-ic.com
5. Function Parameter Descriptions 5.1 Overview
CH9121 is a network serial port transparent transmission chip, which can realize bidirectional transparent transmission of serial port data and network data, supports TCPCLEINT/SERVER, UDPCLIENT/SERVER4 working modes, and the serial port baud rate supports a range of 300bps~10Mbps. Before use, the network parameters and serial port parameters of the chip need to be configured through the host computer software NetModuleConfig.exe or serial port commands. After the configuration is completed, CH9121 saves the configuration parameters to the internal storage space. After the chip is reset, CH9121 will work according to the saved configuration values.
5.2 Basic Parameters
The basic parameters of CH9121 include: name, MAC address display, automatic IP address setting, manual IP address setting (including CH9121's IP address, subnet mask, default gateway), and serial port negotiation configuration. Table 5-1 Basic parameters Basic parameters Description The name is mainly for the convenience of CH9121 chip management in the local area Name network, and the length does not exceed 20 bytes; MAC address Displays the MAC address of the currently selected chip; There are 2 ways to set network parameters for CH9121: Network (1) DHCP, that is, automatically obtain network parameters from a gateway device with parameter DHCP SERVER function; (2) Manually set the IP address, subnet mask, and default gateway. Serial port The serial port negotiation configuration function can be turned on through the host negotiation computer, and the serial port configuration mode can be entered through the serial port configuration handshake. It is closed by default.
5.3 Port Parameter
The CH9121 port parameters include: Network mode, local port, target IP/domain name, destination port, serial port baud rate/data bit/stop bit/check bit, network cable disconnection processing, RX package length, RX package timeout, and operation when the network is connected. Table 5-2 Port parameter Port parameter Description Network mode, local The network mode (TCPSERVER/CLIENT, UDPSERVER/CLIENT), destination IP port, target address, and local/destination port are the basic parameters for network IP/domain name, communication. The destination IP address can also be accessed via a domain name. destination port The serial port baud rate range is 300bps to 10Mbps. CH9121 has 2 serial port reference clock modes. Users can modify the internal reference clock of the CH9121 serial port through the host computer software or Serial port command code to reduce the serial port communication error. The default mode of the CH9121 serial port reference clock is "Default", which can be adjusted to "Classical" according to needs. For details, refer to Section 6.1.1. V2.5 6 Document Outline 1. Overview 2. Features 3. Pinouts 4. Pin Definitions 5. Function Parameter Descriptions 5.1 Overview 5.2 Basic Parameters 5.3 Port Parameter 5.4 Default Configuration 6. Function Descriptions 6.1 UART 6.1.1 Serial Baud Rate 6.2 Other Hardware 7. Parameters 7.1 Absolute Maximum Value 7.2 Electrical Parameters 7.3 Power Consumption 7.4 AC Electrical Characteristics and Timing 8. Package Information 8.1 TSSOP20 8.2 LQFP64M 9. Applications 9.1 CH9121T Reference Circuit 9.2 CH9121A Reference Circuit