Quote:
Originally Posted by Matthew Zwinger
In java we are using serial port.port.kusb on a 9600 baudrate...
|
Your code says you're transmitting at 115200. That would definitely give you the kind of short garbled results that you describe.
Quote:
|
When we try testing the tegra serial with an arduino it returns garbage askII characters. eg.(Python)ser.write('hello'.encode('utf-8')). The communication port returns this ░:: and then goes to a newline.
|
Why are you encoding as UTF-8? It does end up being the same actual byte stream for straight ASCII* characters, but anything outside the ASCII range will be sent as multiple bytes that your terminal might not understand.
* American Standard Code for Information Interchange, pronounced "ask-ee"