You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nuttx.apache.org by "Lee, Lup Yuen" <lu...@appkaki.com> on 2022/03/22 07:14:16 UTC

Re: nuttx imxrt board serial use for help

Sorry I haven't tried 3 serial ports. I have tested 2 serial ports on
BL602: https://lupyuen.github.io/articles/ikea

Lup

On Tue, Mar 22, 2022 at 3:04 PM prelude <wg...@163.com> wrote:

> A board of our own imxrt1052, refer to
> nuttx/boars/arms/imxrt/imxrt1050-evk, and plan to use these serial ports
>
> /* LPUART1 */
> #define GPIO_LPUART1_RX (GPIO_LPUART1_RX_1|IOMUX_UART_DEFAULT) /*
> GPIO_AD_B0_13 */
> #define GPIO_LPUART1_TX (GPIO_LPUART1_TX_1|IOMUX_UART_DEFAULT) /*
> GPIO_AD_B0_12 */
>
> /* LPUART2 */
> #define GPIO_LPUART2_RX (GPIO_LPUART2_RX_1|IOMUX_UART_DEFAULT) /*
> GPIO_AD_B1_03 */
> #define GPIO_LPUART2_TX (GPIO_LPUART2_TX_1|IOMUX_UART_DEFAULT) /*
> GPIO_AD_B1_02 */
>
> /* LPUART3 */
> #define GPIO_LPUART3_RX (GPIO_LPUART3_RX_1|IOMUX_UART_DEFAULT) /*
> GPIO_AD_B1_07 */
> #define GPIO_LPUART3_TX (GPIO_LPUART3_TX_1|IOMUX_UART_DEFAULT) /*
> GPIO_AD_B1_06 */
>
> /* LPUART4 */
> #define GPIO_LPUART4_RX (GPIO_LPUART4_RX_1|IOMUX_UART_DEFAULT) /*
> GPIO_SD_B1_01 */
> #define GPIO_LPUART4_TX (GPIO_LPUART4_TX_1|IOMUX_UART_DEFAULT) /*
> GPIO_SD_B1_00 */
>
> /* LPUART8 */
> #define GPIO_LPUART8_RX (GPIO_LPUART8_RX_1|IOMUX_UART_DEFAULT) /*
> GPIO_AD_B1_11 */
> #define GPIO_LPUART8_TX (GPIO_LPUART8_TX_1|IOMUX_UART_DEFAULT) /*
> GPIO_AD_B1_10 */
>
> UART1 is used as the console, but in the process of using it, it is found
> that if three or more serial ports are selected in the menconfig
> configuration, the console cannot be opened. If two serial ports are
> selected, the console will be opened normally. Have you encountered it?
>