Using USB-UART CP210x and CH341-based converters on STM32MPUs boards
Please help me add support for USB-UART converters of the CP210x and CH341 series on the STM32MP157F-DK2 board. I expect to see ttyUSBx, but no new devices appear after connection. I am using the Distribution Package, and in the kernel configuration, I have activated the following settings:
# USB port drivers
#
CONFIG_USB_SERIAL=y
# CONFIG_USB_SERIAL_CONSOLE is not set
CONFIG_USB_SERIAL_GENERIC=y
CONFIG_USB_SERIAL_SIMPLE=m
# CONFIG_USB_SERIAL_AIRCABLE is not set
# CONFIG_USB_SERIAL_ARK3116 is not set
# CONFIG_USB_SERIAL_BELKIN is not set
CONFIG_USB_SERIAL_CH341=m
# CONFIG_USB_SERIAL_WHITEHEAT is not set
# CONFIG_USB_SERIAL_DIGI_ACCELEPORT is not set
CONFIG_USB_SERIAL_CP210X=m
But when connecting a CP210x- or CH340-based converter to any of the four USB-A ports on the board, I only get the following in dmesg:
[1619.270102] usb 1-1.3: new full-speed USB device number 4 using ehci-platform
At the same time, I can see my adapter when running lsusb:
Bus 001 Device 004: ID 10c4:ea60 Silicon Labs CP210x UART Bridge
Bus 001 Device 002: ID 0424:2514 Microchip Technology, Inc. (formerly SMSC) USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
The functionality of the converters has been tested on my PC. I am using one of the latest versions of the MPU Ecosystem v5 based on kernel 5.15.67. I have verified my settings in the built system using /proc/config.gz
I would greatly appreciate any assistance in resolving this issue.
Best regards!
