CAN receive problem

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

CAN receive problem

跳至解决方案
2,414 次查看
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 项奖励
回复
1 解答
2,348 次查看
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.
-------------------------------------------------------------------------------

在原帖中查看解决方案

2 回复数
2,341 次查看
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 项奖励
回复
2,349 次查看
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.
-------------------------------------------------------------------------------