I’m trying to communicate with a GRBL CNC Control Board via the GPIO Pins.
I managed to establish communication on a Jetson Xavier NX, via the
/dev/ttyTHS0 port, after disabling nvgetty:
$ systemctl stop nvgetty $ systemctl disable nvgetty $ udevadm trigger $ sudo reboot now
Unfortunately, I’m unable to re-create the same setup on the Jetson Nano.
On the Nano, after disabling
nvgetty, I am able to connect to the CNC-Board via the
/dev/ttyTHS1 port. However, the data that comes thru is scrambled, for example:
⸮⸮⸮K⸮⸮⸮⸮⸮u5)⸮ Grbl 1⸮⸮⸮⸮K⸮⸮⸮⸮⸮u5)⸮
I tired different baud-rates (the board works very well with the Xavier and a Raspberry pi on 115200 baud, as GRBL 1.1 is set to work over this baud rate)
I also noticed the Nano has
serial-getty@ttyGS0.service - Serial Getty on ttyGS0
Which I’m unable to fully disable (it restarts after a reboot).
Could it be interfering with the communication on ttyTHS1?
What else could be the cause for the serial data scrambling?