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.

TMS570LS1224: How to check Transmit stopped.

Part Number: TMS570LS1224
Other Parts Discussed in Thread: HALCOGEN,

After fix the Transiver problem, I meet new strange problem with TMS570LS1224 Launchpad. with Halcogen, only config one transmit message box.

then at the main function, I alway send the message with canTransmit. but after successful transmit several times(sometimes 6 successful send out, sometimes 15 and so on), it can not send out.

    canInit();
    /* transmit on can1 */
    while(1)
    {
        int n = 0;
        for(n=0;n<10000;n++)
        {

        }
        canTransmit(canREG1, canMESSAGE_BOX1, tx_data);
    }
I step in canTransmit function, find program will return 0 at the follow. I want to know how to analyze the issue and find the root cause.
    /** - Check for pending message:
    *     - pending message, return 0
    *     - no pending message, start new transmission
    */
    if ((node->TXRQx[regIndex] & bitIndex) != 0U)
    {
        success = 0U;
    }
best regards
Fred