Flexray_Ip_GetTransferStatus() Always Returning BUSY

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Flexray_Ip_GetTransferStatus() Always Returning BUSY

181件の閲覧回数
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 返答(返信)

125件の閲覧回数
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 件の賞賛
返信

113件の閲覧回数
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 件の賞賛
返信

162件の閲覧回数
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 件の賞賛
返信