2020041_en-US

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

2020041_en-US

2020041_en-US

How to send and Receive LPUART Using DMA RTD 3.0.0 , S32K312

Hi community, 

My MCU details are as follows: 

  1. MCU: S32K312
  2. SDK: 3.0.0 (PLATFORMSDK_S32K3_S32K312_M7_3.0.0_PATH)
  3. IDE: S32 Design Studio for S32 Platform 3.5

I'm trying to configure the UART DMA for sending and receiving data (messages), I found the example here --> S32K312 UART Transmit & Receive Using DMA. I have changed from LPUART6 to LPUART4 all the other peripheral configurations remain the same (Dma_lp, IntCtrl_lp, MCAL/Rm).  I can successfully send data to the UART terminal, but I have these problems:

1. The UART sends data only once to the UART terminal, how to configure the DMA to send continuously in the loop?

2. The lpUART send seems to work but receiving and sending to the UART terming does not work. how to modify my code so that I can receive and send the same data back to the terminal in loop?  


Here is my code attached.




Re: How to send and Receive LPUART Using DMA RTD 3.0.0 , S32K312

thanks @Julián_AragónM  i will closed this one

Re: How to send and Receive LPUART Using DMA RTD 3.0.0 , S32K312

Hi @Gama_,

I can see you have also entered an internal case for the same issue. I will keep supporting you through the internal case in order to avoid any confusion.

Best regards,
Julián

Tags (1)
No ratings
Version history
Last update:
‎11-21-2025 09:06 PM
Updated by: