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.

Hercules Launchpad-> Can't transmit CAN Messages with CAN 2

Other Parts Discussed in Thread: HALCOGEN, LAUNCHXL-TMS57004

Hello,


serious problem here (or not).

Made a project with HalCoGen. I need both DCANs.

I configured them both absolutely indentically.

But i can only send with CAN1 not CAN2.

I call canTransmit(canREG1,1, tx_data); --works fine

canTransmit(canREG2,1, tx_data);  --does not work although it has same configuration in HalCoGen

I stepped through canTrasmit and it stopped here:

    /** - Check for pending message:
    *     - pending message, return 0
    *     - no pending message, start new transmission
    */
    if ((node->TXRQx[regIndex] & bitIndex) != 0U)
    {
        success = 0U;
    }

So there is a pending message ?

What can i do ?

Thanks.