Why NHS 3152 can't receive printf from serial

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

Why NHS 3152 can't receive printf from serial

1,167 次查看
Charlot
Contributor I

Recently I am trying to print the dubug message from NHS3152,

Unit_init();

Unit_printf(xxx\r\n);

However, I use serial monitor there is nothing on it, and in MCUXPress, the SWO is not support.

0 项奖励
回复
1 回复

1,145 次查看
Fabian_R
NXP TechSupport
NXP TechSupport

Hello, my name is Fabian.

Thank you for your interest in our products

Please take a look at our documentation from the NHS3100 SDK (release_mra2_12_6_nhs3100) in the following path: docs/firmware/index. You will see the SDK documentation, in the left Panel please go to Modules > Modules > uarttx: Uart Tx-only module.

Which is intended for transmitting byte sequences using UART. There are some functions that are intended to be used as printf like UartTx_Printf()

I hope this information may have been useful.

Best Regards,
Fabian
0 项奖励
回复