Set up debug UART

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Set up debug UART

1,776 次查看
jreh
Contributor I

Brand new to NXP and their tools, sorry.  Using the Xpresso GUI can set up gpios and FlexComm7 as an UART, hopefully for the PRINTF function.  This is for a custom product board and the h/w designer chose the pins. The pin configuration is good.  When I open Utilities/DebugConsole and set the UART Conf/Peripheral to Flexcomm7 they both, (Flexcomm7 and DebugConsole), go red, with errors.

For the Flexcomm Interface USART-CMSIS the peripheral box, Flexcomm7, is red.

For the Debug Console the peripheral box, Flexcomm7, is red along with Clock source freq.

Any help would be appreciated.

jreh_0-1646112250679.png

 

jreh_1-1646112334148.png

 

0 项奖励
4 回复数

1,717 次查看
Petr_H
NXP Employee
NXP Employee

Hi, 

The DebugConsole component does not use the FlexComm component, it initializes (and allocates) the FlexCom peripheral on it's own. That's probably why you see the problem there. The problems details are shown in the tooltips and in the problems view. 

I suggest to use the following steps:

- Remove the FlexComm component that uses the FlexCom7 (using context menu 'Remove' in the Components view) and keep only the DebugConsole

- In the DebugConsole, in the Serial port configuration, ensure you have selected the FlexComm7

- If there is disabled clock, use the context menu (right click the green bulb icon) and select 'Enable FXCOM7 clock' to simply enable the clock:

Petr_H_0-1646259824029.png

Please let us know if you'd need more help.

Regards

Petr Hradsky

Config Tools Team

 

0 项奖励

1,724 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello ,

I see you create private case, I will reply you on that place.

 

BR

Alice

0 项奖励

1,760 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello,

Which chip? Part number?

 

BR

Alice

0 项奖励

1,743 次查看
jreh
Contributor I

Yep, sorry.

 

Part#  LPC55S69

com.nxp.mcuxpresso.tools.bin.win32_11.5.0.202112161150

com.nxp.mcuxpresso.tools.win32_11.5.0.202107051138

com.nxp.mcuxpresso.tools.wizards_11.5.0.202107051138

Product: MCUXpresso IDE
Version: MCUXpresso IDE v11.5.0 [Build 7232] [2022-01-11]
Operating system: Windows 10

Thanks

0 项奖励