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.

TMS320F2812: document for current , and position measurement for TMS320F2812

Part Number: TMS320F2812


Can any one suggest me a documents for the current measurement  and QEP  for TMS320F2812 please.

HOW TO SET THE ADC CHANNELS AS WELL

ILEG2DCBUSMEAS ilg2_vdc1 = ILEG2DCBUSMEAS_DEFAULTS;

QEP qep1 = QEP_DEFAULTS;

  • Sudhansu,

    I am not clear what you are asking. Please head over to the F2812 Product webpage. The Datasheet and User's Guides for the device, including the QEP, are located there under the Technical Documents tab.

    The peripheral examples are located here: www.ti.com/.../sprc097 Have you downloaded them and run through the ADC examples?

    The two lines of code are not particularly helpful without context. Can you share if this is custom code written by you or if it is from a TI-provided example?

    Any additional information that you can give to provide context to your question should help us get you up and running more quickly.

    Regards,
    Mark
  • pmsm3_1_281x.zip

    The output ports after modification of the controller in our university to use it for 2 BLDC motors 

    #define LED6 GpioDataRegs.GPADAT.bit.GPIOA15 // added by sudhansu
    #define LED7 GpioDataRegs.GPADAT.bit.GPIOA14 // added by sudhansu
    #define LED8 GpioDataRegs.GPADAT.bit.GPIOA13 // added by sudhansu
    //#define LED4 GpioDataRegs.GPBDAT.bit.GPIOB10 // added by sudhansu
    #define M2_E GpioDataRegs.GPBDAT.bit.GPIOB11 // added by sudhansu
    #define M1_E GpioDataRegs.GPBDAT.bit.GPIOB12 // added by sudhansu
    #define X_1 GpioDataRegs.GPBDAT.bit.GPIOB13 // added by sudhansu
    #define X_2 GpioDataRegs.GPBDAT.bit.GPIOB14 // added by sudhansu
    Please check the project  PMSM3_1A.C and    F281X_EN.C

    I am able to run the Build level one. 

    THE PROBLEM IN EVERY STUDENT LIFE HERE IS NO ONE FROM TI EXPLAINS THE PROGRAM , HOW TO CONFIGURE THE ADC AND NO DOCS AVAILABLE EXCEPT THE LAB FROM WIKI WHICH I DOWNLOADED. AT LEAST IF SOME ONE CREATES A VIDEO TUTORIAL ON THE 15 LAB EXPERIMENTS WE WOULD HAVE BEEN IN A STABLE POSITION
    WHAT i AM TRYING TO DO IS 
    https://www.youtube.com/watch?v=gxlYRZRz988 "https://www.youtube.com/watch?v=A-Ji2VdQEKY 

    I am looking at position control of the BLDC , but I have used sprc129 and also sprc179 both are similar but one extral PID is added for postn control.

  • Sudhansu,

    I am sorry that you are facing some issues getting up and running. We provide these examples as a way to get started with using our devices in the applications. Any modifications needed for your specific implementation will need to come from you.

    Are you still struggling with configuring the ADC? Please use the adc examples in the previously linked toolkit. Using those in conjunction with the ADC Users Guide (www.ti.com/.../spru060d.pdf) will help you understand the ADC. If you have additional specific questions about the ADC or any other module on the device, don't hesitate to make a post. We will gladly help you.

    Please let me know if you have any more questions.
    Mark