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.

  • Resolved

TMS320F280049C: C2000 Motor SDK, Run FOC from CLA example ?

Prodigy 250 points

Replies: 5

Views: 222

Part Number: TMS320F280049C

Hi,

I've got the c2000ware-motorcontrol-sdk labs running.

I've got some heavy comms and display tasks running and was hoping to try out running the FOC from the CLA. 

Is there a working example I can use? 

Cheers,

Alan

  • Not yet for instaSPIN-FOC on F280049C, but has some generic CLA examples in C2000Ware, you might have a look at these examples as a reference. 

  • In reply to Yanming Luo:

    Would that be something that I could get under preview?

  • In reply to Alan Grimmer:

    As mentioned above, there is no instaSPIN-FOC example code for CLA in motor control SDK.

  • In reply to Yanming Luo:

    Is there not some internal code written to test out the cla and instaspin? 

    It's a lot of potential work to make it run from the CLA and I wouldn't want to do something you have already done.

    I notice that there are lots of CLA versions of the functions. It's just a case of picking the right correct ones?

    When I quickly try it out I cannot include the typedef "USER_Params" from the cla code. it says 

    "fatal error #35: #error directive: "Header file <stdlib.h> not supported by CLA compiler"

    That's using cla_EST_run(); 

  • In reply to Alan Grimmer:

    Not yet till now. All code must be included in .cla or .h files and copied to LSx RAM for execution if the code will be called by CLA. 

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.