How to receive multiple CAN message

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

How to receive multiple CAN message

4,818 Views
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 Kudos
Reply
4 Replies

4,811 Views
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

 

Tags (1)
0 Kudos
Reply

4,805 Views
RishikeshB
Contributor II

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

0 Kudos
Reply

4,798 Views
PetrS
NXP TechSupport
NXP TechSupport
0 Kudos
Reply

4,808 Views
RishikeshB
Contributor II

I have called function twice still no response,

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

0 Kudos
Reply