Hello!
I want to connect Arduino with Usb-to-Serial chip CH340 to my Jetson TX2 with Jetpack 3.2.1. I built and installed the cdc-acm and ch341 drivers, as described on the Jetsonhacks website. On the USB 3.0 connector everything worked perfectly. I can read data from /dev/ttyACM0 using minicom. My “dmesg --follow” command outputs
[ 612.012794] usb 1-2: new full-speed USB device number 2 using xhci-tegra
[ 612.156241] usb 1-2: feature bit otg_vbus_off set
[ 612.161190] usb 1-2: New USB device found, idVendor=2341, idProduct=0042
[ 612.168359] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=220
[ 612.176408] usb 1-2: Manufacturer: Arduino (www.arduino.cc)
[ 612.182496] usb 1-2: SerialNumber: 55732323930351717172
[ 612.190562] usb 1-2: ep 0x82 - rounding interval to 1024 microframes, ep desc says 2040 microframes
[ 612.201587] xhci-tegra 3530000.xhci: tegra_xhci_mbox_work mailbox command 6
[ 612.210616] cdc_acm 1-2:1.0: ttyACM0: USB ACM device
[ 613.436887] xhci-tegra 3530000.xhci: tegra_xhci_mbox_work mailbox command 5
[ 613.445148] xhci-tegra 3530000.xhci: tegra_xhci_mbox_work ignore firmware MBOX_CMD_DEC_SSPI_CLOCK request
But when I connect to micro AB USB connector, I do not see any data in minicom and minicom hangs for a while. My “dmesg --follow” command outputs
[ 1568.550504] usb 1-1: new full-speed USB device number 3 using xhci-tegra
[ 1568.691755] usb 1-1: feature bit otg_vbus_off set
[ 1568.696743] usb 1-1: New USB device found, idVendor=2341, idProduct=0042
[ 1568.704384] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=220
[ 1568.712216] usb 1-1: Manufacturer: Arduino (www.arduino.cc)
[ 1568.718161] usb 1-1: SerialNumber: 55732323930351717172
[ 1568.726679] usb 1-1: ep 0x82 - rounding interval to 1024 microframes, ep desc says 2040 microframes
[ 1568.736289] xhci-tegra 3530000.xhci: tegra_xhci_mbox_work mailbox command 6
[ 1568.744509] cdc_acm 1-1:1.0: ttyACM0: USB ACM device
[ 1569.973909] xhci-tegra 3530000.xhci: tegra_xhci_mbox_work mailbox command 5
[ 1569.981115] xhci-tegra 3530000.xhci: tegra_xhci_mbox_work ignore firmware MBOX_CMD_DEC_SSPI_CLOCK request
[ 1615.970286] cdc_acm 1-1:1.0: failed to set dtr/rts
I checked my micro-USB cable with other usb-to-serial converters. The cable is OK. I can read the data through micro AB USB connector from PL2303 chip (as /dev/ttyUSB0). My “dmesg --follow” command outputs
[ 2095.099115] usb 1-1: new full-speed USB device number 4 using xhci-tegra
[ 2095.233978] usb 1-1: New USB device found, idVendor=067b, idProduct=2303
[ 2095.240875] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2095.248192] usb 1-1: Product: USB-Serial Controller
[ 2095.253233] usb 1-1: Manufacturer: Prolific Technology Inc.
[ 2095.260570] xhci-tegra 3530000.xhci: tegra_xhci_mbox_work mailbox command 6
[ 2095.269553] pl2303 1-1:1.0: pl2303 converter detected
[ 2095.277607] usb 1-1: pl2303 converter now attached to ttyUSB0
[ 2096.526573] xhci-tegra 3530000.xhci: tegra_xhci_mbox_work mailbox command 5
[ 2096.533878] xhci-tegra 3530000.xhci: tegra_xhci_mbox_work ignore firmware MBOX_CMD_DEC_SSPI_CLOCK request
I can read the data through micro AB USB connector from CH341 chip (as /dev/ttyUSB0). My “dmesg --follow” command outputs
[ 3526.925947] usb 1-1: new full-speed USB device number 5 using xhci-tegra
[ 3527.065175] usb 1-1: New USB device found, idVendor=1a86, idProduct=7523
[ 3527.072148] usb 1-1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 3527.086268] usb 1-1: Product: USB2.0-Serial
[ 3527.094279] xhci-tegra 3530000.xhci: tegra_xhci_mbox_work mailbox command 6
[ 3528.259731] usbcore: registered new interface driver ch341
[ 3528.265629] usbserial: USB Serial support registered for ch341-uart
[ 3528.272358] ch341 1-1:1.0: ch341-uart converter detected
[ 3528.281125] usb 1-1: ch341-uart converter now attached to ttyUSB0
[ 3528.353139] xhci-tegra 3530000.xhci: tegra_xhci_mbox_work mailbox command 5
[ 3528.360902] xhci-tegra 3530000.xhci: tegra_xhci_mbox_work ignore firmware MBOX_CMD_DEC_SSPI_CLOCK request
Help me please configure the micro AB USB port connection with my Arduino.
Sergey.