I have a device running linux with a ft200xd chip that does i2c to usb. I will call this the target. I am trying to find out what serial settings it currently has so I can configure my host machine.
Does anyone kwon a way to do so?
stty is the usual tool for configuring the Linux tty layer, i.e. settings common to all drivers that expose a tty (serial) device.
For example:
$ sudo stty -a -F /dev/ttyS1
speed 115200 baud;
-parenb -parodd -cmspar cs8
means "115200 bps", "parity disabled", and "character size 8".