The following keys are available in CONFIG.INI for configuring CH34x series chips. Note that support for specific keys depends on the chip model.
# General USB Configuration
VendorID # VID (Note: changing this breaks original VCP driver compatibility)
ProductID # PID (Note: changing this breaks original VCP driver compatibility)
Serial_String_Enable # y: enable, n: disable
Product_String_Enable # y: enable, n: disable
Manufacturer_String_Enable # y: enable, n: disable
Serial_String # Length <= 10
Product_String # Length <= 18
Manufacturer_String # Length <= 18
MaxPower(mA) # e.g., 300
PowerMode # Self-Powered or Bus-Powered
Remote_Wakeup_Enable # y: enable, n: disable
# Chip Specific Features
PIN_USE_EEPROM_Enable # y: enable, n: disable (Supports CH9102F, CH9101U/H/R/Y)
CDC_CTSRTS_FlowControl_Enable # y: enable, n: disable (CDC mode hardware flow control)
TurnOff_SuspendMode_Enable # y: enable, n: disable (Supports CH348Q/L, CH344Q, CH9114L/W/F, CH9111)
DTR_MUX_TNOW_SoftSet_Enable # y: enable, n: disable (Supports CH344, CH348, CH9114)
UARTx_TNOW_DTR_SETBITS # bit0~bit7 for UART0~UART7. 1: TNOW, 0: DTR (Requires DTR_MUX_TNOW_SoftSet_Enable=y)
# CH9105 Specific
CH9105_GPIO_Enable # y: enable, n: disable
CH9105_GPIO_Enable_BITS # 16-bit hex value (e.g., 0xFFFF)
# CH9101RY Specific
CH9101RY_MODEM_Enable # y: enable, n: disable
CH9101RY_TXS_MUX_DSR_Enable # y: DSR#, n: TXS (default)
CH9101RY_RXS_MUX_RI_Enable # y: RI#, n: RXS (default)
CH9101RY_TNOW_MUX_DCD_Enable # y: DCD#, n: TNOW (default)
CH9101RY_SLEEP_MUX_DTR_Enable# y: DTR#, n: SLEEP (default)
# CH346 Specific
CH346_Config_Enable # y: enable, n: disable
CH346_Config_Freq # Decimal frequency value
CH346_Config_Mode # 0, 1, or 2
CH346_Config_PLen # Packet size (must be multiple of 512, default 512)
CH346_Config_M0_IO0 # Mode 0 IO0: 0x00:RXD0, 0x01:TX_S, 0x02:ACT, 0x03:GPIO6
CH346_Config_M0_IO1 # Mode 0 IO1: 0x00:TXD0, 0x01:RX_S, 0x02:SUSP, 0x03:GPIO7
CH346_Config_M1_IO0 # Mode 1 IO0: 0x00:DCD0, 0x01:TX_S, 0x02:Invalid, 0x03:GPIO4
CH346_Config_M1_IO1 # Mode 1 IO1: 0x00:DTR0, 0x01:RX_S, 0x02:Invalid, 0x03:GPIO2
CH346_Config_M2_IO0 # Mode 2 IO0: 0x00:DCD1, 0x01:SUSP, 0x02:Invalid, 0x03:GPIO7
CH346_Config_M2_IO1 # Mode 2 IO1: 0x00:DCD0, 0x01:TX_S, 0x02:Invalid, 0x03:GPIO4
CH346_Config_M2_IO2 # Mode 2 IO2: 0x00:DTR0, 0x01:RX_S, 0x02:Invalid, 0x03:GPIO2
CH346_Config_M2_IO3 # Mode 2 IO3: 0x00:DSR0, 0x01:ACT, 0x02:Invalid, 0x03:GPIO3