How to enable console/UART for FRDM-KW36 debugging

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

How to enable console/UART for FRDM-KW36 debugging

1,155 Views
sihanchen
Contributor III

HI All, 

      I am working on FRDM-KW36 development board and use (frdmkw36_wireless_examples_bluetooth_w_uart_freerots) SDK to build code through MCUXpresso IDE. 

I need debug console/UART to track source code and log the debug messages. 

so can anyone to tell me how to enable console/UART for debugging or provide some teaching materials to me.

Many thanks. 

Labels (1)
1 Reply

1,038 Views
Sebastian_Del_Rio
NXP Employee
NXP Employee

Hi Sihan, I hope you're doing well!

 

There's two methods for enabling the Debug UART in the MCUXpresso IDE:

  1. It can be enabled when importing the project by choosing the following option in the example selection window:
    pastedImage_2.png
  2. After the example project is imported, the debug UART can be enabled by selecting this option in the Quick Start Panel on the MCUXpresso IDE:
    pastedImage_3.png

Regardless of which method is followed to enable the debug UART, the pins used for it (FC0_RXD is GPIOA17 and FC0_TXD is GPIOA16) are mapped to the Debug USB port, which allows the user to connect to the debug UART with the same USB cable used to debug the project.

 

Please let me know if you need any more information.

 

Best regards,

Sebastian