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.

Porting 2xPM Dual Axis Control Example from C2000 to Concerto.



I downloaded TI 'Beta code' of the 2XPM sensorless example code.  I changed the includes and all other paths to fit my patricular environment but the project still fails on build.  I suspect I still have some include incorrect.  Here's a few of the errors that show up.  There are more but I believe they all stem from and overlooked include.

I also encounter the following error in the LVMA-main.c code which may also be related to my initial problem.

#if (DSP2803x_DEVICE_H==1)||(F28M35x_DEVICE_H==1)

Multiple markers at this line
    - Expression
     syntax error

When I highlight DSP2803x_DEVICE_H, right click and select Open declaration, I get Selected text cannot Be Mapped to a Symbol Name and when I do the same for F28M35x_DEVICE_H, it brings up the file F28M35x_DEVICE_H.  This leads me to believe the problem resides with DSP2803x_DEVICE_H, yet in 2xPM_Sensorless_Settings.H line  : 

#elif (F28M35x_DEVICE_H == 1) has the very same error only only the reference that appeared in error.

Multiple markers at this line
    - expected an
     expression

"../SolarExplorer-DPL-ISR.asm", ERROR!   at line 89: [E0003] Invalid immediate
                                                             value
            ADDF32    R2H,R2H,R4H                        ;    R2H = e(n-2)*B2+e(n-1)*B1+e(n)*B0+u(n-2)*A2+u(n-1)*A1

"../SolarExplorer-DPL-ISR.asm", ERROR!   at line 89: [E0003] Invalid immediate
                                                             value
            ADDF32    R2H,R2H,R4H                        ;    R2H = e(n-2)*B2+e(n-1)*B1+e(n)*B0+u(n-2)*A2+u(n-1)*A1

"../SolarExplorer-DPL-ISR.asm", ERROR!   at line 89: [E0002] Invalid instruction
                                                             for specified
                                                             floating point
                                                             accelerator
            ADDF32    R2H,R2H,R4H                        ;    R2H = e(n-2)*B2+e(n-1)*B1+e(n)*B0+u(n-2)*A2+u(n-1)*A1

"../SolarExplorer-DPL-ISR.asm", ERROR!   at line 89: [E0004] Illegal operand
                                                             combination
            ADDF32    R2H,R2H,R4H                        ;    R2H = e(n-2)*B2+e(n-1)*B1+e(n)*B0+u(n-2)*A2+u(n-1)*A1

"../SolarExplorer-DPL-ISR.asm", ERROR!   at line 89: [E0003] Syntax error -
                                                             Operand 1
            MOV32    R1H,*XAR3++                        ;    R1H    = Maximum Value

"../SolarExplorer-DPL-ISR.asm", ERROR!   at line 89: [E0002] Invalid instruction
                                                             for specified
                                                             floating point
                                                             accelerator
            MOV32    R1H,*XAR3++                        ;    R1H    = Maximum Value

"../SolarExplorer-DPL-ISR.asm", ERROR!   at line 89: [E0004] Illegal operand
                                                             combination
            MOV32    R1H,*XAR3++                        ;    R1H    = Maximum Value

"../SolarExplorer-DPL-ISR.asm", ERROR!   at line 89: [E0003] Syntax error -
                                                             Operand 1
            MINF32  R2H,R0H

"../SolarExplorer-DPL-ISR.asm", ERROR!   at line 89: [E0003] Invalid immediate
                                                             value
            MINF32  R2H,R0H

"../SolarExplorer-DPL-ISR.asm", ERROR!   at line 89: [E0002] Invalid instruction
                                                             for specified
                                                             floating point
                                                             accelerator
            MINF32  R2H,R0H

I am grasping at straws here folks.  If anyone has any ideas or guidance here I could really use the insight.  I would add that if my tests are favorable it could result in hundreds if not thousands of Concerto components being used in my customer's technology.  Please see: www.AMTI.biz to gain an understanding of the application if interested.  Thanks in advance for your guidance.