Hi all , I have connected Arduino Nano to the Jetson Xavier NX USB port.
After some time USB disconnects and reconnects back itself.
Python Code:
import serial
def readserial(comport, baudrate):
ser = serial.Serial(comport, baudrate, timeout=0.1) # 1/timeout is the frequency at which the port is read
while True:
data = ser.readline()
ser.flush()
if data:
print(data)
if name == ‘main’:
readserial(‘/dev/ttyUSB3’, 9600)
Error: ///“raise SerialException(
serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)”///
dmesg gives this: ///" override usb 1-2-port1: disabled by hub (EMI?), re-enabling…"///
is there a way to disable this feature.