is there a way to enable “RUDE” real time mode thru a GEL instruction (DSP TMS320F2812) …. I noticed that different versions of code composer offer different instructions that is why I’m not sure which one is right…. Also there is hardly any documentation online for GEL.
I followed an example from F2812.gel file that TI provides with the following code, GEL_Reset(); ST1 = ST1 & 0xFFFD; /* clear DBGM bit in ST1 */
But I keep getting this error ,
GEL_EnableRealtime();
Here is the code,
GEL_Reset(); ST1 = ST1 & 0xFFFD; /* clear DBGM bit in ST1 */ GEL_EnableRealtime(); GEL_Go(InitializeExternalInterface); // initializes timing measurement TimeResult = 0; // executes code 10 times to determine the time delta average for(x = 0; x < Time_Meas_Average ; x++) { GEL_Go(INT13_ISR); TimeRef_1 = CpuTimer0Regs.TIM.all; // captures first timestamp GEL_Go(Foreground_1ms); GEL_Go(INT13_ISR); TimeRef_2 = CpuTimer0Regs.TIM.all; // captures second timestamp TimeResult += (TimeRef_1 - TimeRef_2); // obtains delta from time stamps }