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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
881件の閲覧回数
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 件の賞賛
返信
1 解決策
867件の閲覧回数
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 件の賞賛
返信
1 返信
868件の閲覧回数
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 件の賞賛
返信