AR9344 dual UART enabled under Linux

Source: Internet
Author: User

AR9344 support two uart, the usual debugging serial port is UART0, the driver is using 8250, today because the project needs to enable UART1, the configuration process needs to pay attention to several points

1.9344 Gpio Port is multiplexed, can flexibly configure most of the supported features, need to find two Gpio, configured as UART1_TD and UART1_RD function (if using hardware flow control, need to find two Gpio configured as CTS and RTS)

2. The driver can use AR93XX_UART.C, if not using the hardware CTS and RTS function, need to be configured in the driver to disable hardware flow control, the first debugging is RX receive normal but TX data always send failed, finally in the drive to discover that hardware flow control is enabled

3. Interrupt number is ATH79_MISC_IRQ (6), send and receive are based on interrupt mode

AR9344 dual UART enabled under Linux

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.