Part Number: LAUNCHXL-F28379D
Other Parts Discussed in Thread: SYSCONFIG, C2000WARE
Hello,
I want to configure a CAN object with SysConfig. It has to automatically transmitt a message when the CAN module receives the RTR message 0x500 (1280)
This is what it seems to work (I looked at the thread https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/549625/can-remote-frame-with-f2837xd-peripheral-driver-library to find the solution)

As you can see:
- I chose the Flag "use filtering based on the direction of the transfer"
- I did not choose the Flag "use filtering based on the message ID"
In this Exemple, an other node (Vector Canalyzer) on the CAN Bus is sending an RTR frame each 750ms. I can see that my C2000 answers as expected:

But I still have many questions. Can somebody answer to these ?
1) On SysConfig, why is the field "Message Identifier Mask " available, although I did not choose the Flag "use filtering based on the message ID" ?
(I tried to chang its value and noting changed)
2) If I suppress "use filtering based on the message ID", I don t understand the result: the C2000 sends a RTR frame, with an other message ID (0x301)

Can you explain that ? how is it possible that the C2000 sends a such frame, with the auto transmitt message object option ?
3) How can I load the right data into the message to automatically send ?
I tried to use the Interface registers, using CAN_writeDataReg then CAN_transferMessage, but it did not work.

4) I can manage the TX interrupt for the message object 3 (the one which is configured as "Remote frame receive remote, with auto-transmit message object"), but is it normal not to be able to manage Receive interrupts ?
Thank you to any one will help me.
Vincent


