My LiDAR use UART to communicate, but I’m not pretty sure about how to connect the pin with TX2. Currently I use USB HUB to connect my 3 LiDARs, but when I run my program for few seconds, TX2 will stuck and reboot.
I tried to use J21 pin 8 and 10, where I saw UART on the TX2 developer kit, but when I connect it with my LiDAR, TX2 will stuck ant the NVIDIA logo screen and not boot. And I don’t know how to use other UART port like J17 seems like support UART.
Sorry for being a layman and thanks for your help!
Seems like I can’t upload .dts file here, so here is the link of extracted_proc.dts file : https://drive.google.com/file/d/1JNkuAcbdVtnqOuolzBdeTDmigZlck9Jk/view?usp=sharing
No, I used /dev/ttyS0 to connect with my computer, because that is the only way I know to provide my serial console log. But when I first asked the question (Jul 27), I connect those pin (pin 8, 10) for my LiDAR. I guess it’s because those pins are used for debug by default? But I don’t know how to manage it, and I don’t know are there other pins are used for UART?
Thanks for your help!!!
The file here is I ran your command, and what it showed on terminal. terminal text.txt (78.0 KB)
I tried ran these four commands at terminal, and shut down Jetson TX2, and after it, I plugged in my LiDAR using PIN8 and 10 and tried to boot it, it will still hang at Nvidia logo screen, and still couldn’t enter the Ubuntu login screen.
Furthermore, I want to ask if there are other UART pins for my LiDARs, because I have three, I wondered if there are other pins for it, thanks.
Please use debug UART from J17 for serial console log.
You should be able to use the UART from 40pins-header for your custom use case like LiDAR.
I would suggest you shorting PIN8/PIN10 to verify UART loopback test before connecting it with your module.
Yes, you can also try them.
You have 3110000.serial which should be from M.2 key E port.
[ 0.973009] 3110000.serial: ttyTHS1 at MMIO 0x3110000 (irq = 37, base_baud = 0) is a TEGRA_UART