Other Parts Discussed in Thread: SFRA,
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