Set up debug UART

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

Set up debug UART

1,682 Views
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 Kudos
4 Replies

1,623 Views
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 Kudos

1,630 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello ,

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

 

BR

Alice

0 Kudos

1,666 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello,

Which chip? Part number?

 

BR

Alice

0 Kudos

1,649 Views
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 Kudos