How to receive multiple CAN message

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

How to receive multiple CAN message

5,638 次查看
RishikeshB
Contributor II

Hi 

I am working on CAN on S32K148, i am receiving one time but I want to receive the same message multiple time how can we do it??

I have attached code along with received message screen shot.

 

0 项奖励
回复
4 回复数

5,631 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

in your code you called FLEXCAN_DRV_Send just once, so it is correct CAN tool received it just once too.
Call FLEXCAN_DRV_Send repeatedly to send message again. If using non-blocking function you should use FLEXCAN_DRV_GetTransferStatus to know if previous transfer was finished and Send/Receive can be called again.

BR, Petr

 

标记 (1)
0 项奖励
回复

5,625 次查看
RishikeshB
Contributor II

Hello I tried but did not receive the message multiple time can you please check 

0 项奖励
回复

5,618 次查看
PetrS
NXP TechSupport
NXP TechSupport
0 项奖励
回复

5,628 次查看
RishikeshB
Contributor II

I have called function twice still no response,

can you please if possible add configuration from your end in code

0 项奖励
回复