Hi,
I am using 28027 for my project.
In this I am having the follwoing:
1. 2 FSM Blocks
2. 1 ADC Block, 1 ADC ISR
3. 3 EPWM's in which 2 are free running and 1 is used to trigger the ADC at 25 KHZ.
4. In the ADC ISR I am using two Measurement functions, two control loop blocks after checking the state of FSM for each block.
Sample ISR IS GIVEN BELOW:
ADC_ISR()
{
MEAS1();
MEAS2();
Timer1();
if FSM State1==2
{
call1();
}
Timer2();
if FSM State2==2
{
call2();
}
}
}
Note: the timer1, 2 are just s/w timers , they are not in bulit TI Timers.We want to use only software timers.
Problem: While we are running the code, we are facing the problem that only one call block "Call2"is running, while call1 block is hanging.But when we run the code while disabling the call1/call2 the individual blocks are running good.No issue with this.
Only when we are running 2 blcoks we are facing the issue.
PLease help me.