We are trying to run Hall-based FOC PM Motor control at 20kHz rate on TM4C123AE6PM (80MHz). Has anybody achieved this rate? My program modified from SMO FOC Sensorless Example cannot even run at 10kHz. (Runs at about 8kHz rate). Is there any way to expedite the processing throughput so that we can run close to 20kHz rate? Is execution from RAM a way to shorten the cycle time? Is there any other tricks?
Dal Ohm, Drivetech.