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.

TMS320F28069M: Negation of InstaSPIN ROM PwmData generated by SVGEN

Part Number: TMS320F28069M
Other Parts Discussed in Thread: MOTORWARE

Hello Everyone,

I have been looking in detail at some of the InstaSPIN labs in Motorware, specifically to understand the differences between the ROM and RAM versions of the controller implementations. Although these should nominally be the same, I notice that in Lab 2a (ROM version) it is necessary to invert the PWM values after the call to CTRL_run(), but in Lab 2b (RAM version) it is not. There seems to be no explanation of this in either the labs or user guide related to InstaSPIN. Is it a bug? If so, is there any reference to it in any other TI literature?

Thanks,

John.

  • Which version of motorWare are you using? If you are using the same motorWare version that could be the same for SVGEN. 

  • I'm using Motorware_1_01_00_18. This issue applies to two different InstaSPIN labs from the same Motorware package, so it seems more to do with a difference between the ROM and RAM (user) implementations, although of course the version in ROM could be different to the version in the Motorware package that I am using. My main question, if you can help, is why is there seemingly no reference in any literature to this need to invert the PWM output from a call to CTRL_run() when CTRL_run() is in ROM, but not in RAM? Thanks!

  • Only F2806x has CTRL_run() in ROM that is a previous version. You can take a look at the lab user's guide about the changes in different versions.

    instaspin_labs.pdf at C:\ti\motorware\motorware_1_01_00_18\docs\labs

    You may just refer to the RAM/Flash verison withou using the CTRL_run() out of ROM. Otherwise, you have to refer to the example lab for CTRL_run() in ROM.