How to use UART3 on AOSP?


Could someone explain how i can use uart 3 in AOSP. Through /dev/ttyAMA3 maybe ? I just want to use it to send messages from c code to a USB serial adapter.

Found it you can directly write to /dev/ttyAMA3 with echo and read with cat. Or from c code use write and read function. Uart3 runs on 9600.

Yes but usually you have to configure your serial link with aligned baudrate, flow control, etc… you can find more information in linux termios man page or at