AnsweredAssumed Answered

Question of EDMA and LPUART receive

Question asked by yu wu on Nov 23, 2018
Latest reply on Nov 25, 2018 by yu wu

Hi,

I have a project of EDMA and LPUART  ,used S32K SDK. These are the codes snippet .

 

for(;;){

   PRINTF(welcomeMsg);    //LPUART send 

   readfromconsole(buffer);  //LPUART receive 

   PRINTF((char *)buffer);   // LPUART send 

   clearBuff(buffer,255);      // clear the buffer
}

These codes "readfromconsole(buffer);" only can execute at the first loop , so I just can input words form the PC CommUart assistant  only one time.

I can not resolve the problem.The whole project  is attached.

Forward your help ,thanks!

Attachments

Outcomes