Why NHS 3152 can't receive printf from serial

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Why NHS 3152 can't receive printf from serial

1,150件の閲覧回数
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,128件の閲覧回数
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 件の賞賛
返信