How to use printf() to print string to Console and UART in S32 Design Studio for S32 Platform

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

How to use printf() to print string to Console and UART in S32 Design Studio for S32 Platform

1,130 Views
Hrohn
Contributor II

How to use printf() to print string to Console and UART in S32 Design Studio for S32 Platform?

newlib? ewl? Who can give me a example? Thanks!

0 Kudos
Reply
4 Replies

1,114 Views
Senlent
NXP TechSupport
NXP TechSupport
0 Kudos
Reply

1,110 Views
Hrohn
Contributor II

Hi@Senlent

Thanks for your reply. But I want to redirect printf to lpuart1 and use UartAssist to communicate with MCU. How can I do? My MCU is S32K146 and the IDE is S32 DS for Platform and the SDK is S32K1XX SDK RTM v4.0.3.

0 Kudos
Reply

1,100 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@Hrohn

You can find the demo below from your IDE, hopefully this is what you are looking for.

Senlent_0-1698300275553.png

 

0 Kudos
Reply

1,095 Views
Hrohn
Contributor II

Hi@Senlent

It is not what I need. But thank you any way.

0 Kudos
Reply