Chapt 5. Android 12 TV system instructions
5.15.2. 26pin UART test method
1) UART5 is enabled by default in Android, and the corresponding device node is /dev/ttyAS5
apollo-p2:/ # ls /dev/ttyAS5
/dev/ttyAS5
2) First open the wiringOP APP on the desktop

Img
5.62
3) Then click the UART_TEST button to open the UART test interface

Img
5.63
4) The serial port test interface of wiringOP is shown in the figure below

Img
5.64
5) Then select the /dev/ttyAS5 node in the selection box

Img
5.65
6) Enter the baud rate you want to set in the edit box, and then click the OPEN button to open the /dev/ttyAS5 node.
After the opening is successful, the OPEN button becomes unselectable, and the CLOSE button and SEND button become selectable.

Img
5.66
7) Then use Dupont wire to short the rx and tx pins of uart5
Tx pin uart5: Corresponding to pin 8 of 26pin
Rx pin uart5: Corresponding to pin 10 of 26pin
8) Then you can enter a character in the send edit box below, click the SEND button to start sending

Img
5.67
9) If everything is normal, the received string will be displayed in the receiving box

Img
5.68