CAN receive problem

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
2,342件の閲覧回数
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,276件の閲覧回数
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,269件の閲覧回数
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,277件の閲覧回数
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.
-------------------------------------------------------------------------------