Hi, @avinashstarkenn,
The mentioned model (s32k3xx_uart_async_s32ct) is indeed a loopback example, showcasing an application that is sending back, via UART, the input from the keyboard.
If you would like to implement a more complex scenario, I suggest you take a look at the following examples delivered in the toolbox:
- s32k3xx_uart_leds_ebt / s32k3xx_uart_leds_s32ct from the demos folder, which illustrates how to combine UART and DIO functionalities to control the LEDs on the board using UART. Based on the keyboard input pressed (R, G, B, or SPACE), the corresponding LED will be toggled and a specific message will be sent via UART. Additionally, you could activate or deactivate all the LEDs on the board by pressing USER_SW0 or USER_SW1, and a specific text will be displayed via UART.
- s32k3xx_icu_signal_edge_detect_ebt from the icu folder, which uses UART to display the signal edges of a generated signal, and the activation condition changes. Based on the switch pressed, it will be displayed via UART specific messages.
I hope the above examples could be a starting point for your application.
Best regards,
Dragos