AnsweredAssumed Answered

IMX6Quad usbserial driver

Question asked by Joe Stewart on Oct 12, 2018
Latest reply on Oct 15, 2018 by igorpadykov

I have a i.MX 6Quad Sabre-SD. I am trying to connect to another micro controller via the usbserial driver. I ran the following:
1. modprobe usbserial vendor=0x067b product=0x2303 - got message saying that the generic converter is attached to ttyUSB0
2. Created python script
         import serial
         import serial
         ser = serial.Serial('/dev/ttyUSB0', 115200, timeout=0)
         while True:
            ser.write('f0'.encode() - returns 2
I have a mircousb to usb connected on one side to the usb otg on the board. The other side is connected to a Trendnet TU-S9 usb to serial converter. I have a scope hooked to pin 3 (transmit) and pin 5 (ground) of the TU-S9. When I run the above script, I see a constant -6 volts on pin 3.
I am confused as to why the driver does not appear to be working. Any help on this would be greatly appreciated.