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.

Instaspin on Delfino F28334

Other Parts Discussed in Thread: TMS320C28342, INSTASPIN-BLDC, CONTROLSUITE

Hello,

I have spent a few days getting Instaspin to build on an F28334 processor. The compiler reports no errors, but the linker fails with:

file "../C28x_InstaSPIN_BLDC_Lib.lib<InstaSPIN_BLDC.obj>" specifies ISA
revision "C2800", which is not compatible with ISA revision "C28FPU32"
specified in a previous file or on the command line

I think this is because the Instaspin library was built for the fixed point C2800 Instruction Set Architecture. The F28334 (and Piccolo F28069) processors have the C28x+FPU32 floating point architecture. I thought that Instaspin could be made to work with all Piccolo processors, including the F28069, so porting it to the F28334 would not be a problem. 

Can TI provide the Instaspin library compiled for the C28x+FPU32 architecture?

  •  

    Hello,

    I have the same problem than Malcolm, I use only the F28335 processor and get the same linker errors.

    Have TI compiled the InstaSPIN_BLDC for the C28+FPU32 in the meantime. 

     

     

     

  • Malcolm Mackay said:
    I think this is because the Instaspin library was built for the fixed point C2800 Instruction Set Architecture. The F28334 (and Piccolo F28069) processors have the C28x+FPU32 floating point architecture. I thought that Instaspin could be made to work with all Piccolo processors, including the F28069, so porting it to the F28334 would not be a problem. 

    Yes, the instaspin library was built for the 2803x which does not have the floating point unit.  You can use the library on the FPU devices such as 28069, but only if you do not make use of the FPU (i.e. turn off support for FPU32 in your application build options).   In the future we may provide a library built to allow you can make use of the FPU as well.

    -Lori

  • Hello!

    My company is about to plan an upgrade of our current DSP-solution. We think Instaspin sounds very interesting, but we have been looking at TMS320C28342 and as I understand it this DSP is not compatible with Instaspin because of the floating point unit.

    Do you know anything more about this, will there be an updated Instaspin in the future?

  • Robert,

    Are you asking about InstaSPIN-BLDC or InstaSPIN-FOC / InstaSPIN-MOTION?

    InstaSPIN-FOC and InstaSPIN-MOTION are enabled by on-chip software libraries in ROM. These are only being supported on Piccolo class devices for the forseeable future (certainly through '14). 

    InstaSPIN-BLDC is enabled by a library that can be linked into a project.  It has been built for several different architectures, but unfortunately not for the 28x floating point.  As mentioned above, the library built for fixed point Piccolo 28x can run on the floating point devices, but only when the devices run in fixed point mode. We don't have plans to offer this is native 28x floating point library anytime soon. 

    BLDC is typically done on very low cost MCUs, so we focused this on our Piccolo fixed point series.  In the future floating point will be standard even on lowest cost devices so you could see this library eventually natively support floating point.

     

  • Hello Chris,

    I'm a bit new into this project but if I'm not mistaken we are using FOC as we got a BLDC with sinusoidal back-emf. I guess that makes us interested in the Instaspin-FOC?

    Right now we are using one of your older DMC-libraries and thus have no direct control of the motor for low angular speed. We are ramping up the speed and then change to sensorless control. This was what I was hoping to solve if we upgraded to a new DSP. We also have quite high demand of computing power that is why we, most likely, would need something faster than Piccolo, but if what you said is correct the Instaspin-FOC doesn't work at all on Delfino?

    Thanks for the answer!

    Robert

  • InstaSPIN-FOC is only enabled on Piccolo devices, no Delfino.

    "Right now we are using one of your older DMC-libraries and thus have no direct control of the motor for low angular speed. We are ramping up the speed and then change to sensorless control. This was what I was hoping to solve if we upgraded to a new DSP."

    Yes, this is the standard way you start-up with sensorless algorithms.  It's dependent on the motor and sensing circuitry, but our FAST observer locks on in < 1Hz and usually allows closed loop control from <1 Hz - 10 Hz.  Our SMO observer is usualy ~20 Hz before it has enough feedback to allow closed loop control.

    You can look at the eSMO example in controlSUITE under the HVKIT. There is an option to use a high frequency injection library for zero and low speed operation. This may just solve your problem.

     

  • Okay, Chris! This is exactly what I have been looking for. I downloaded controlSUITE and found eSMO Library but it didn't work. Just says "This program cannot display a webpage". I did however manage to find the PDF-file etc using the explorer. Never mention any High Frequency Injection though.

    I think I found the example you where talking about. I guess you mean "High-Voltage Motor Control + PFC Kit 2.1".

    Thanks for the help!

    Robert