Flexray_Ip_GetTransferStatus() Always Returning BUSY

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

Flexray_Ip_GetTransferStatus() Always Returning BUSY

304 次查看
dantaki
Contributor II

Hi there,

I am using the Flexray RTD drivers version 4.0.2 to transmit frames in non-autosar mode on an S32G399A.

However, it seems that Flexray_Ip_Send() in Flexray_Ip.c sets bState->status = FLEXRAY_STATUS_BUSY;, but then we can't see anywhere in the source code where the status gets set back to FLEXRAY_STATUS_SUCCESS, blocking future transmits.

The only place it gets set is in Flexray_Ip_GetTransferStatus() -> Flexray_GetTransmitStatus(), but only if FLEXRAY_AUTOSAR_MODE_USED is true.

Are we missing something?

Thanks for the help in advance.

标签 (1)
标记 (3)
0 项奖励
回复
3 回复数

248 次查看
dantaki
Contributor II

Yes we have tried the examples and they run fine, but in the examples, GetTransferStatus() is called and Autosar is turned on, therefore, GetTransmitStatus() is called and bState->status is reset to FLEXRAY_STATUS_SUCCESS.

And yes we are using the S32G-RDB3 board.

Thanks a lot.

0 项奖励
回复

236 次查看
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Under the RTD, there are 2 types of examples (or should be) which is a non-AUTOSAR example and an AUTOSAR example.

We are seeing that there is a FR example for non-AUTOSAR, are you able to see the behavior you are describing under the non-AUTOSAR example?

Please, let us know.

0 项奖励
回复

285 次查看
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Are you using any of the examples from the RTD? If not, have you tested them and confirm that it is being blocked?

Can you let us know if you are using an NXP reference board?

Please, let us know.

0 项奖励
回复