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.
Tool/software: Code Composer Studio
Hi sir,
I am using TMS320F28035,with this controller i am running HVPM_Enhance sensorless example code,now I added SFRA library to this file in Build7 of PI_SPD.
When I applied the SFRA Inject to rc1.setpointvalue the completion time of SFRA sweeping is taking more time.
Again I checked all code and I noticed one thing that is PI_SPD is running at 1millisecond(Here ISR frequency is 10KHZ) .Here my ISR interrupt generation is 100microseconds and that PI_SPD in in if condition that condition will execute every 10 times so i thought like PI_SPD is calling every one millisecond so think this time will taking toomuch.
I need information The FLASH sector eraising this means how to we found like FLASH is erased or not and also how to add FLASH sector to other sector in same page and is any effect to the code.
My doubts is when adding SFRA I observed some valuable points 1)
#define SFRA_ISR_FREQ 200000
#define SFRA_FREQ_START 100
#define SFRA_FREQ_LENGTH 100
//SFRA step Multiply = 10^(1/No of steps per decade(40))
#define SFREQ_STEP_MULTIPLY (float)1.059253
I dont know above things so i want complete explanation of above things with multiple examples.
2)what amount memory it will take in FLASH when assinging globally
3)In SFRA tool a)what is the importance of openloop/plant that means this selection mode gives any results or what
b)start frequency,steps per decade,injection amplitude what they are doing.
please give me the answers with some practical examples.
Thank you,
with regards,
eswar
Have you looked at these videos:
Read the user guide for knowing what those variables are, they are defined as part of the sfra structure and #define is just a way to write to those variables.
Program Memory footprint of the SFRA lib is documented in the UG, read the UG.
Data memory footprint is up to the user, you can choose to do 10 points sweep or a 100 point sweep,
typically people like to keep a constant no of points in the frequency sweep in a decade of frequency. When you write the step with that value the sfra init routine will initialize the arrays for you. Though one can over-ride the values if one wants a different set of frequency points (user defined) by writing to the freqVect array after the init routine call.