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. Also on sending various other functions such as NMT handle and PDO configuring packets are transmitted multiple times which cause issue in CANOpen implementation .
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 and due to this there is issue in CANOpen implementation and why transmission is happening in contimous infinite loop even after receiving Acknowledgement from the motor drive .
Please provide clarification on these, is it a bug or why this behavior is observed . I am providing just the basic code .
Kindly make it a highest priority and I have posted earlier also.
Code screenshots are attached below for the reference .

