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.

TMS320F28032: MemCopy Function for ClassB and serial production

Part Number: TMS320F28032
Other Parts Discussed in Thread: CONTROLSUITE

Does the MemCopy function in the HVPM_Sensorless project in controlSuite create any problems in terms of ClassB and series production?

MemCopy(&RamfuncsLoadStart, &RamfuncsLoadEnd, &RamfuncsRunStart);

Is copying the Motor Control interrupt function to RAM a problem?

  • I'm not aware of any problems with it, but in general, the projects in controlSUITE are reference code and not written to be compliant with any standard. If you want to use them in your project, you should still review it yourself and do any additional analysis or testing required by the standard you're following.

    Copying ISRs from flash to RAM is a pretty normal practice. If you're worried about it though, you could add a test in your code to run after the copy to make sure it was successful (like comparing it word by word to the version or flash or calculating a CRC on it).

    Whitney