CAN receive problem

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

CAN receive problem

Jump to solution
2,050 Views
thailivenkatesh
Contributor III

Hi,

I am using FLEXCAN_DRV_GetTransferStatus(INST_CANCOM1, RX_MailBox) function when  sent data from microchip canalyser getting STATUS BUSY always  and returning res as status busy.

Below is the attached copy of the function  we are using please support the issue to solve the problem.

thailivenkatesh_0-1651912841749.png

 

Thanks & Regards,

Venkatesh T

0 Kudos
Reply
1 Solution
1,984 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi Venkatesh,

Did you start receive before calling FLEXCAN_DRV_GetTransferStatus?

status_t FLEXCAN_DRV_GetTransferStatus.pngFLEXCAN_DRV_GetTransferStatus.png

C:\NXP\S32DS.3.4\S32DS\software\S32SDK_S32K1XX_RTM_4.0.2\doc\Start_here.html

Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

View solution in original post

2 Replies
1,977 Views
thailivenkatesh
Contributor III

Hi Robin Shen,

I Did not  start receive before calling FLEXCAN_DRV_GetTransferStatus

just calling this function from main

CAN_RevCmdProcess(&u8Command, &u8Data, &u16SubData);

This is BCC Eval driver software .In this send function is working were as Recieve code is not working.

 

Thanks & Regards,

Venkatesh T

 

0 Kudos
Reply
1,985 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi Venkatesh,

Did you start receive before calling FLEXCAN_DRV_GetTransferStatus?

status_t FLEXCAN_DRV_GetTransferStatus.pngFLEXCAN_DRV_GetTransferStatus.png

C:\NXP\S32DS.3.4\S32DS\software\S32SDK_S32K1XX_RTM_4.0.2\doc\Start_here.html

Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------