NanoPI NEO Uarts Showing Garbage
Posted: Fri Mar 09, 2018 9:36 pm
I have NaoPI Neo, just opened it out of the box yesterday and was testing the uarts.
I'm hooked to pins 6 (gnd), 8 (tx) and 10 (rx), running to my PC's pin's 2/3/5 (9-pin serial port).
My serial port is setup as:
# root@NovusOne:~# stty -F /dev/ttyS1
speed 9600 baud; line = 0;
I'm running Putty on my computer, serial port is set to 9600/8/N/1.
On the Nano, I do a simple:
# cat /dev/ttyS1
Which dumps out whatever shows up at the com port. On the Putty, I dump a small text file (I'm lazy). I get garbage.
# cat /dev/ttyS1
5�Wy_�_=9)��Y5�����g5#����囋�_!
��g!9='��}!�;5�=/5�!
%;/5�m_�=9)�����7���s'=1����Wy_�_!9)��Y5�����}9)�����g5#���噋�g!9='��_!
5�Ya9)�g=
5#�9!%��#���y!##-!#��y'!5��#�廡�#��嗋���}5=�!!�%=#
It's consistent at any baud rate with any bit/parity setting. I was unable to get ttyS0 to work at all [no response]. Device Tree file has been untouched. An interesting effect is I get the same pattern of garbage if I continue to repeat the paste operation. So, that tells me it's some kind of configuration.
Anyone have any idea what is going on?! Is my nanopi broke?
Thanks
I'm hooked to pins 6 (gnd), 8 (tx) and 10 (rx), running to my PC's pin's 2/3/5 (9-pin serial port).
My serial port is setup as:
# root@NovusOne:~# stty -F /dev/ttyS1
speed 9600 baud; line = 0;
I'm running Putty on my computer, serial port is set to 9600/8/N/1.
On the Nano, I do a simple:
# cat /dev/ttyS1
Which dumps out whatever shows up at the com port. On the Putty, I dump a small text file (I'm lazy). I get garbage.
# cat /dev/ttyS1
5�Wy_�_=9)��Y5�����g5#����囋�_!
��g!9='��}!�;5�=/5�!
%;/5�m_�=9)�����7���s'=1����Wy_�_!9)��Y5�����}9)�����g5#���噋�g!9='��_!
5�Ya9)�g=
5#�9!%��#���y!##-!#��y'!5��#�廡�#��嗋���}5=�!!�%=#
It's consistent at any baud rate with any bit/parity setting. I was unable to get ttyS0 to work at all [no response]. Device Tree file has been untouched. An interesting effect is I get the same pattern of garbage if I continue to repeat the paste operation. So, that tells me it's some kind of configuration.
Anyone have any idea what is going on?! Is my nanopi broke?
Thanks