This demo shows how to configure and use the UART low-level IP driver from the Real-Time Drivers (RTD) package on the S32K356 microcontroller using S32 Design Studio. The example demonstrates basic UART communication by continuously transmitting welcome messages through LPUART6, validating UART TX functionality and proper driver initialization.
This example was developed using the FRDM Automotive Bundle for S32K3 + S32M27. To download and install the complete software and tools ecosystem, use the following link:
- Personal Computer
- Type-C USB cable
- FRDM-A-S32K356

- Connect the Type-C USB cable to PC and FRDM-A-S32K356 board for power supply and debugging
-
Open S32 Design Studio IDE, in the Dashboard Panel, choose Import project from Application Code Hub.
-
Find the demo you need by searching for the name directly.
Open the project, click on the GitHub link from this window, S32 Design Studio IDE will automatically retrieve project attributes, then click Next>. -
Select main branch and then click Next>.
-
Select your local path for the repo in Destination->Directory window. The S32 Design Studio IDE will clone the repo into this path, click Next>.
-
Select Import existing Eclipse projects then click Next>.
-
Select the project in this repo (only one project in this repo) then click Finish.
-
In Project Explorer, right-click the project and select Update Code and Build Project. This will generate the configuration (Pins, Clocks, Peripherals), update the source code and build the project using the active configuration (e.g. Debug_FLASH). Make sure the build completes successfully and the *.elf file is generated without errors.
Press Yes in the SDK Component Management pop-up window to continue. -
Go to Debug and select Debug Configurations. There will be a debug configuration for this project:
Configuration Name Description ------------------------------- ----------------------- $(example)_debug_flash_pemicro Debug the FLASH configuration using PEmicro probeSelect the desired debug configuration and click on Debug. Now the perspective will change to the Debug Perspective. Use the controls to control the program flow.
The example validates UART communication by sending welcome messages to a serial terminal. Open a serial terminal on the enumerated COM port (settings: 115200 baud, 8 data bits, no parity, 1 stop bit, no flow control).
The application continuously transmits two welcome messages in a loop, with approximately 1 second between each cycle:
- "Hello, This message is sent via Uart!"
- "Have a nice day!"
The repeated display of these messages in the terminal confirms correct UART configuration and operation.
For general technical questions related to NXP microcontrollers, please use the NXP Community Forum.
Questions regarding the content/correctness of this example can be entered as Issues within this GitHub repository.
Note: For more general technical questions regarding NXP Microcontrollers and the difference in expected functionality, enter your questions on the NXP Community Forum
| Version | Description / Update | Date |
|---|---|---|
| 1.0 | Initial release on Application Code Hub | June 22th 2026 |
| 1.1 | Updated to FRDM Automotive S32K3 + S32M27 (RTD 7.0.1) | August 25th 2026 |





