Flexray_Ip_GetTransferStatus() Always Returning BUSY

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

Flexray_Ip_GetTransferStatus() Always Returning BUSY

145 Views
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.

Labels (1)
Tags (3)
0 Kudos
3 Replies

89 Views
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 Kudos

77 Views
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 Kudos

126 Views
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 Kudos