How to enable console/UART for FRDM-KW36 debugging

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

How to enable console/UART for FRDM-KW36 debugging

1,927 次查看
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. 

标签 (1)
1 回复

1,810 次查看
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