This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28388D: About the FSI_RX_EVT_FRAME_DONE flag when receiving a ping-frame in FSI.

Part Number: TMS320F28388D


Hi all.

I am writing a ping frame receiver program using FSI.
When receiving the ping frame, the PING_FRAME flag and PING_TAG value could be confirmed correctly, but the FRAME_DONE flag could not be confirmed.
When I tried sending and receiving other frame types, I was able to confirm the FRAME_DONE flag.
Is ping frame reception an exception?

Best regards,

Masahiro

  • Hi Masahiro,

    Is ping frame reception an exception?

    A ping frame should not be an exception per the documentation. Any successfully received frame should set the bit how it reads now. If this is not the case for Ping frames then the documentation will need to be updated.

    Is it possible you're writing to the corresponding RX_EVT_CLR register bit before reading the RX_EVT_STS.FRAME_DONE flag? I will plan to test this and get back to you.

    Best,

    Kevin

  • Hi Masahiro,

    I performed a test on F28004x (same FSI type as F2838x) and confirmed that both FRAME_DONE and PING_FRAME flags do get set when receiving an FSI Ping Frame. See below:

    Best,

    Kevin

  • Hi Kevin,

    Thank you for your cooperation in the survey.
    As a result, I was confusing PING_TAG and FRAME_TAG, so I was able to receive correctly(At this time, FRAME_DONE was cleared, so the flag ON was not recognized.), but the frame was discarded due to a TAG mismatch.
    I look forward to working with you.

    Best regards,

    Masahiro