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.

TMS320F28379D: LAUNCHXL-F28379D

Part Number: TMS320F28379D
Other Parts Discussed in Thread: LAUNCHXL-F28379D

Tool/software:

Hi,

I am using LAUNCHXL-F28379D for CAN communication .

I have used the example code - can_ex2_loopback_interrupts in which i have  bypassed all the interrupts by commenting them and configuring CAN_setupMessageObject with CAN_MSG_OBJ_NO_FLAGS so that no interrupts are enabled.

I tried to send CANOpen SDO packet without using interrupts and probed CAN_H and CAN_L. I observed that the SDO packet is transmitted only after coming out of main function and also it is transmitted continuously although no while loop or infinite for loop is inside main function and no interrupts are being called and same behavior in other example codes also.
I provided delay so that motor drive could acknowledge the sent CAN Open SDO packet and was able to write index of motor drive using SDO.
I want to send packets one by one as I have to implement full CAN Open protocol and also why packets are sent only after coming out of main loop , why not immediately after function call.
Please provide clarification on these, is it a bug or why this behavior is observed  .

Code screenshots are attached below for the reference .

Thanks.