Serial

AM335x can configure up to five uart ports, MYD-AM335X provide one DB9 UART0 port, The J12, J13, J16 are serial interfaces, corresponding ttyO1, ttyO5, ttyO3. this test will short circuit pins 2 and 3, to implement self send and receive. Build and copy the promgram from "/Examples/uart/", make the J12 ‘s RX pinand TX pin short circuit. The uart device node is ttyO1, enter the following command in terminal:

    # ./uart_test -d /dev/ttyO1 -b 115200