Why NHS 3152 can't receive printf from serial

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

Why NHS 3152 can't receive printf from serial

773 Views
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 Kudos
Reply
1 Reply

751 Views
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 Kudos
Reply