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.

PMSM3_4 Motor Controller development

Expert 1800 points

Other Parts Discussed in Thread: SPRC097

Hi,

I am new to F2812 development and would wish to implement the PMSM3_4 motor controller programme using CCS V3.1.  I would wish to know the procedure / flow chart to implement the same and also the info on which software is to be loaded on F2812 (after power ON etc) before PMSM3_4 is executed?.  I have secured an emulator too.

Any application notes/tips that would help me in understanding the process is welcome.

Thx & rdgs

 

  • I am not sure if I fully understand the question. It sounds like you are just looking for what procedure to use when loading and running code on the F2812? There are several tutorials in CCS (Help -> Tutorial) that show how run a program in CCS. We also have several peripheral examples that you can run to get started: http://focus.ti.com/docs/toolsw/folders/print/sprc097.html. Now regarding the PMSM3_4 itself, you can load and debug this as described in the documentation provided with the download: http://focus.ti.com/docs/toolsw/folders/print/sprc179.html

    Hopefully this helps to answer the question. If for some reason I am misunderstanding something please reply back with a clarification.

    Regards,

    Tim Love

  • Thanks Tim for your response.

    I have downloaded the SPRC097 and SPRC179.

    I am not sure about how to go about further.  I would wish to follow the following procedure once the DSP board is powered on.

    1)  Load the needed peripheral header files - RS232, eCAN, Digital Pot and Encoder etc.

    2)  Execute and check it data capture and transfer is functional and as desired.

    3)  Load the PMSM3_4 header files.  Implement it in stages as mentioned in the documentation.

    Do I need to load and execute any code (like drivers etc) before loading the header files as mentioned in step 1?.  I was wondering if I need to set any registers etc?. 

    I have 1MB RAM too (ASRAM) on the board.  Do I need do any settings etc.

    Let me know if my understanding is in right direction and please suggest appropriately. 

    Regards

     

  • Is their anything like a basic code for initializing and operating the TMS320LF2812 MCU device using CCS V3.1?.

    Thx