Tool/software: Code Composer Studio
Is there any application examples for DCAN remote ?
I developed a simple CAN project to request a 2 bytes of data from a second ECU when user press the button
Here are my configurations:
Requester (CAN1 Message settings)
Respondent (CAN message settings)
I used canSendRemoteFrame(canREG1, canMESSAGE_BOX2); periodically get the message from respondent when user press a button.
At the requester end I used (under void canMessageNotification(canBASE_t *node, uint32 messageBox)
if(canIsRxMessageArrived(canREG2, canMESSAGE_BOX2))
{
canTransmit(canREG2, canMESSAGE_BOX3, (const uint8 *)&data);
}
When I press the button requester receives a 2 bytes of data first time from respondent. After that no interrupt is fired when user press the button (no data transmission).