Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

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.

PWM GENERATION PROGRAM IN ASSEMBLY LANGUAGE FRAMEWORK TO DRIVE SENSORED BLDC MOTOR

PLZ HELP....URGENTLY NEEDED..!!!!!!!!
Complete program including header files,build options,cmd files,library files, interrupt files and all additional files to be created in CCS 3.1 for generating pwm signal using F2812 DSP processor in asm framework.It uses 6 step commutation and has feedback through adc to change duty cycle.BLDC motor is a sensored (hall sensor) motor. Duty cycle is varied according to the interrupt.

  • I haven't seen a BLDC drive code in assembly .. may be TI team will have something for you but  I am interested to know the reason for assembly code requirement.. with 2812 you will have more than enough MIPS/memory to implement all type of BLDC system code in "C"  which can be down loaded from TI site. I am sure you have your reasons to ask for assembly .... but please check out the "C" version as well.

  • plz help us urgently............
    we are having problems with the memory mapping of f2812 dsp processor...the memory address values from 7400h to 8000h are not being loaded..
    FOR EXAMPLE: the memory address for   t1con is 7401 WHICH IS NOT BEING LOADED INTO THE PROCESSOR..plz give us the necessary codes library files,cmdfiles,header files,include etc.inorder to write an assembly language program for pwm generation using dsp f2812 processor...as soon as possible....

  • Hi Aneesh,

    Did you have a look into the datasheet of the processor yet? The memory region you mentioned is a protected area reserved for perihperal frame 2, so there is really nothing you can write into it...

    Good luck

    Andreas

  • We are having problem that the eva registers in the F2812 processor are not getting loaded with the values which we gave in the program.

    FOR EXAMPLE:

    MOV @T1CON,#9046h

    after executing this instruction we checked the memory mapping and T1CON is not taking the value and the memory space allocated for the register is 0 itself.In the DEASSEMBLY in place of the above instruction it is written as MOV @1,#9046h.in the memory map the value is loaded in the 0x000001.

    we dont know how to correct it and if it is a error in the cmd file.PLEASE HELP US URGENTLY...



    PLZ HELP....URGENTLY NEEDED..!!!!!!!!
    Complete program including header files,build options,cmd files,library files, interrupt files and all additional files to be created in CCS 3.1 for generating pwm signal using F2812 DSP processor in asm framework.It uses 6 step commutation and has feedback through adc to change duty cycle.BLDC motor is a sensored (hall sensor) motor. Duty cycle is varied according to the interrupt.
    PLZ MAIL ME THE PROGRAM BCOZ THIS IS OUR MAIN PROJECT AND OUR SLOT TIME PERIOD IS GETTING OVER THIS MONTH..MY EMAIL ID IS jr_anand@yahoo.com,san24dhu@gmail.com.

  • First: Stop multiposting the same question, it only annoys the forum members, you will not get any quicker response, thank you!!

    aneesh gopi said:
    MOV @T1CON,#9046h

    after executing this instruction we checked the memory mapping and T1CON is not taking the value and the memory space allocated for the register is 0 itself.In the DEASSEMBLY in place of the above instruction it is written as MOV @1,#9046h.in the memory map the value is loaded in the 0x000001.

    You mentioned before, that T1CON is on address 7401h, which is actually wrong. T1CON is on address 7404h. Are you sure you write to the correct adress? Did you load the correct datapage before writing T1CON?

    aneesh gopi said:
    PLZ HELP....URGENTLY NEEDED..!!!!!!!!
    Complete program including header files,build options,cmd files,library files, interrupt files and all additional files to be created in CCS 3.1 for generating pwm signal using F2812 DSP processor in asm framework.It uses 6 step commutation and has feedback through adc to change duty cycle.BLDC motor is a sensored (hall sensor) motor. Duty cycle is varied according to the interrupt.
    PLZ MAIL ME THE PROGRAM BCOZ THIS IS OUR MAIN PROJECT AND OUR SLOT TIME PERIOD IS GETTING OVER THIS MONTH..MY EMAIL ID IS jr_anand@yahoo.com,san24dhu@gmail.com.

    I am not sure if anyone will do this complete work for you unless TI has something in their libraries.... so keep up coding ...

  • Your best solution is to follow

    http://focus.ti.com/docs/toolsw/folders/print/sprc175.html

    Sorry, no assembly code done for motor control on 28x processors.

    Dare I ask why?

  • dear aneesh gopi,

    i also currently working on this BLDC n i really really dont understand too the BLDC programming do manage get the coding please give me the coding to have a look cause my deadline also come crushing and yet i dont understand the concept of it... i just understand the basic ideas on the movement of BLDC motor... dear aneesh gopi i really hope that u can help me... PLEASE N REALLY PLEASE will appreciate your help.... if u manage to obtain the coding please mail to my email address at angelgalaxylife@yahoo.com. And aneesh gopi i am really sorry to trouble u for this

  • There is code for BLDC trap/sine sensored/sensorless for F2812, F2808, F28035, and some versions for F28335 http://www.ti.com/c2000dmc

    But they are all in C. Not sure why the need for assembly....