MPC5748G example app uart (LINFLEXD_UART_DRV_ReceiveDataBlocking)

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

MPC5748G example app uart (LINFLEXD_UART_DRV_ReceiveDataBlocking)

跳至解决方案
1,283 次查看
kalai
Contributor I

HI,

   i try to run uart  example UART is not working . uart tranmission is working but receiver is not working (LINFLEXD_UART_DRV_ReceiveDataBlocking)

 i need some details 

 

 

 

thanks

kalai

 

 

 

0 项奖励
1 解答
1,244 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

 

I tested both examples and it works, I can receive bytes sent from PC.
Just for uart_pal_mpc5748g example, PC terminal must be set to send endline upon enter as mentioned in example doxygen file.
For linflexd_uart_echo_mpc5748g example I just increase timeout value in ReceiveData Blocking function so I was able to write Hello from terminal in time.

 

BR, Petr

在原帖中查看解决方案

0 项奖励
3 回复数
1,265 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

 

which example and board do you use?
Did you refer to e.g. SDK based example "inflexd_uart_echo_mpc5748g" within S32DS and follow description given in Doxygen inflexd_uart_echo_mpc5748g.dox file?

 

BR, Petr

0 项奖励
1,263 次查看
kalai
Contributor I

HI petrs,

 

   i am using DEVKIT-mpc5748G board.i run example code( linflexd_uart_echo_mpc5748g,uart_pal_mpc5748g) only ,receiver is not working 

 

thanks

kalai

0 项奖励
1,245 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

 

I tested both examples and it works, I can receive bytes sent from PC.
Just for uart_pal_mpc5748g example, PC terminal must be set to send endline upon enter as mentioned in example doxygen file.
For linflexd_uart_echo_mpc5748g example I just increase timeout value in ReceiveData Blocking function so I was able to write Hello from terminal in time.

 

BR, Petr

0 项奖励