cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Can-Bus

truf9
Associate II
Posted on April 19, 2007 at 15:28

Problem with Can-Bus

1 REPLY 1
truf9
Associate II
Posted on May 17, 2011 at 09:41

Hello,

if an RX-interrupt of a receiving canmessage interrupts the CAN_Sendmessage function in the main programm, it occurs that the sending message isn't on the bus.

I send the message with CAN_SendMessage from ST-Library. When do I detect that the data are sure in the message ram and are transmitted.

The next question is: Why takes the function CAN_SendMessage in the ST-Library Message-Object 0 (CAN->sMsgObj[0]) and CAN_ReceiveMessage Message-Object 1. I thought the message object 0 or 1 can handle both???

Best regards

Thomas