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:
What is the difference between the drivers? For what
purpose they should be used?
Solved! Go to Solution.
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:
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
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:
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
Thanks for your feedback!
best regards
Markus