I have configured LPUART7 as intial debug console, i am not getting the console on terminal

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

I have configured LPUART7 as intial debug console, i am not getting the console on terminal

Jump to solution
605 Views
naresh2
Contributor I

Hi,

i am using  SDK_2_10_0_EVK-MIMXRT1060, IAR IDE 8.40.1

In the default SDK LPUART1 is configured for debug console but in my proto board i dont have LPUART1 so i have configured the LPUART7, i am not getting the console on terminal.

my processor is MIMXRT1062.

#define UART7_TX_IOMUXC IOMUXC_GPIO_SD_B1_08_LPUART7_TX
#define UART7_RX_IOMUXC IOMUXC_GPIO_SD_B1_09_LPUART7_RX
#define UART7_SW_IOMUXC IOMUXC_GPIO_SD_B1_06_GPIO3_IO06
#define UART7_SW_GPIO GPIO3
#define UART7_SW_GPIO_PIN 6U

 

//for Prototype Board using LPUART7


IOMUXC_SetPinMux(
UART7_232_TX_IOMUXC, /* GPIO_B0_08 is configured as LPUART7_TX */
0U); /* Software Input On Field: Input Path is determined by functionality */
IOMUXC_SetPinMux(
UART7_232_RX_IOMUXC, /* GPIO_B0_09 is configured as LPUART7_RX */
0U); /* Software Input On Field: Input Path is determined by functionality */
IOMUXC_SetPinConfig(
UART7_232_TX_IOMUXC, /* GPIO_B0_08 PAD functional properties : */
0x10B0u);
IOMUXC_SetPinConfig(
UART7_232_RX_IOMUXC, /* GPIO_B0_09 PAD functional properties : */
0x10B0u);
IOMUXC_SetPinMux(
UART7_232_SW_IOMUXC,
0U);
IOMUXC_SetPinConfig(
UART7_232_SW_IOMUXC,
0xB0A9u);

please can you how to configure or any low level modification required please let me know.

Any input it would be grateful

 

Regards,

Naresh.

0 Kudos
1 Solution
591 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @naresh2 ,

   Do you use the SDK hello_world project?

  If yes, please also check the following area, do you modify it or not.

kerryzhou_0-1656292835018.png

Then, it is the pinmux.c should configure the UART8 pins.

BTW, I highly suggest you use the new SDK SDK_2_11_1_EVK-MIMXRT1060 instead of the old one, you can download it from this link:

https://mcuxpresso.nxp.com/

Best Regards,

kerry

 

View solution in original post

0 Kudos
1 Reply
592 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @naresh2 ,

   Do you use the SDK hello_world project?

  If yes, please also check the following area, do you modify it or not.

kerryzhou_0-1656292835018.png

Then, it is the pinmux.c should configure the UART8 pins.

BTW, I highly suggest you use the new SDK SDK_2_11_1_EVK-MIMXRT1060 instead of the old one, you can download it from this link:

https://mcuxpresso.nxp.com/

Best Regards,

kerry

 

0 Kudos