Example S32K344 LPUART RX/TX ISR FreeRTOS S32DS36 RTD600

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

Example S32K344 LPUART RX/TX ISR FreeRTOS S32DS36 RTD600

Example S32K344 LPUART RX/TX ISR FreeRTOS S32DS36 RTD600

* ==================================================================================================

Detailed Description:

* This example shows how to implement the UART RX/TX using interrupt/callback under FreeRTOS.

* LPUART6 is set for 115200, 8N1 using interrupt processing. Callback is called for single byte received.

* Reception is advanced until buffer is full or "\n" is received.

* 2 tasks (receive/send) and 1 Queue are created.

* ReceiveTask starts new UART reception, waits for completion and puts received message into Queue.

* SendTask gets the message from Queue, echoes it back and toggle pin (LED_PIN <-> PTA29).

* ==================================================================================================

* Test HW: S32K3x4EVB-T172 Rev B

* MCU: S32K344_172HDQFP

* Compiler: S32DS 3.6.2

* RTD release: S32K3_S32M27x Real-Time Drivers ASR R21-11 Version 6.0.0

* Debugger: On-Board Debugger (J41)

* Target: Internal_FLASH

* Serial: 115200, 8N1

* ==================================================================================================

 

Any support, information, and technology (“Materials”) provided by NXP are provided AS IS, without any warranty express or implied,
and NXP disclaims all direct and indirect liability and damages in connection with the Material to the maximum extent permitted by the applicable law.
NXP accepts no liability for any assistance with applications or product design. Materials may only be used in connection with NXP products.
Any feedback provided to NXP regarding the Materials may be used by NXP without restriction.

Attachments
No ratings
Version history
Last update:
‎07-24-2025 02:23 AM
Updated by: