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.