Forums - uart problem

4 posts / 0 new
Last post
uart problem
jinyuyingwork
Join Date: 30 Jul 20
Posts: 1
Posted: Tue, 2020-11-10 21:23

Hi,everyone

I want to use ls1 uart0 to connect my DJI n3 flight! But when i ls /dev/tty* ,I cannot confirm that the tty device corresponds to uart0 of ls1.for example ttyHS0? Is there a detailed tutorial that allows me to use uart0 of LS1.

thanks.

  • Up0
  • Down0
mistry Moderator
Join Date: 18 Apr 18
Posts: 56
Posted: Thu, 2020-11-12 13:55

Hi Jinyuying,

Thanks for reaching out. 
The pins are not configured to be UART, Is there any way you can try to use a UART to USB cable and connect it to the USB port on the RB5? We are looking into the LS1 configurations and will get back to you as soon as we can. 

Best Regards,
Rajan.

  • Up0
  • Down0
kevin.dai
Join Date: 21 Oct 20
Posts: 137
Posted: Tue, 2020-12-15 13:39

Hi jinyuyingwork

The ls1 uart is:

crw-rw---- 1 root dialout 236, 0 Jan 28 15:58 /dev/ttyHS0. 

You may start loopback test on board, with connection between Tx, and Rx.

sample code link:

https://elinux.org/images/b/b7/Uart-loopback.c

Thanks,

 

  • Up0
  • Down0
kevin.dai
Join Date: 21 Oct 20
Posts: 137
Posted: Fri, 2021-01-15 11:01

Test image is ready, please send message to get test image.

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.