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.

  • Kishor, 

    If you put a break point here, does it continuously stop at the break point if you keep hitting run? From the description, I am wondering if the MCU is continuously resetting. 

    -Jason 

  • No, it does not stop at this breakpoint .

  • Kindly Resolve the earlier mentioned issues and revert back as soon as possible . 

  • Kindly resolve the above mentioned issues and provide the details and revert as soon as possible.

  • Hello Kishor, 

    Which CANOpen Stack are you using? As Launchxl F28379D natively does not support CANOpen. 

    Regards

  • Hello Kishor, 

    Have you resolved the CAN issue? 

  • I am implementing basic SDO,PDO,NMT functionalities . I am specifying indexes, subindexes and everything related to  Motor Drive in code only hence not using CANOpen stack or any object dictionary . I have to implement CANopen DS402 on motor drive for specific indices. The main concern is card is transmitting CAN data even on receiving acknowledgement from  motor drive and even on removing all interrupts , conditions it transmits data continously and for implemeting CANOpen we need to send various different packets but not continously. Is it a bug or any register condition, interrupt condition  is getting triggered or provide clarification on this 

  • No I have not resolved the CAN issue and I am facing same issue as mentioned earlier. Kindly resolve the above mentioned issues and provide the details and revert as soon as possible.

  • Hi Kishore, 

    What i think the issue is that the Launchxl F28379D works on a traditional CAN BUS transmission trend because as i said, F28379D does not natively support CANOpen techniques. Hence it continuously broadcasts a message like any normal CAN device would work. I think you should go through the CANOpen specifications once and use an external stack with the development board. I dont think we can transmit and receive PDO's and SDO's using CANOpen Strategies. It will work as a normal CAN broadcasting device without CANOpen Stacks. 

    I think TI suggests the SIMMA SOFTWARE stacks for CANOpen, I personally have worked with the stack and it works.  

    I hope this helps.   

    Regards

    Chirag