S32K and printf() implementation

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

S32K and printf() implementation

ソリューションへジャンプ
4,830件の閲覧回数
markusmayer2017
Contributor I

Hi!

I'm currently starting with the S32K microcontroller.

Is there a printf() implementation/example available?

I'm using also the SDK which was delivered together

with the DS. There are two different drivers for

UART available:

  • lpuart
  • flexio_uart

What is the difference between the drivers? For what

purpose they should be used?

1 解決策
4,296件の閲覧回数
stanish
NXP Employee
NXP Employee

Hi Marcus,

here is a SDK example that uses LPUART + printf():

Example S32K_printf_implementation - S32DS 

In case you are interested in printf() over the jtag (semihosting) please check this thread:

printf() through OpenSDA 

LPUART is common UART/LIN module whereas FlexIO module is highly configurable peripheral module which you can configure to behave like UART, I2C, I2S,1-Wire....

I'd recommend you to start with LPUART driver since it is easier to understand how it works.

Hope it helps.

Stan

元の投稿で解決策を見る

3 返答(返信)
4,297件の閲覧回数
stanish
NXP Employee
NXP Employee

Hi Marcus,

here is a SDK example that uses LPUART + printf():

Example S32K_printf_implementation - S32DS 

In case you are interested in printf() over the jtag (semihosting) please check this thread:

printf() through OpenSDA 

LPUART is common UART/LIN module whereas FlexIO module is highly configurable peripheral module which you can configure to behave like UART, I2C, I2S,1-Wire....

I'd recommend you to start with LPUART driver since it is easier to understand how it works.

Hope it helps.

Stan

3,406件の閲覧回数
tzeng015
Contributor II

HI 

Can you help me about the attach file ?

I can't see the EWL ?

0 件の賞賛
返信
4,295件の閲覧回数
markusmayer2017
Contributor I

Thanks for your feedback!

best regards

Markus

0 件の賞賛
返信