Posted on May 17, 2011 at 14:01 Denis, The simplest Timer on the chip is the SysTick. See the information on it in the ARM Cortex-M3 programming manual rather than the specific reference manual for the chip that you're using. My setup code for...
Posted on May 17, 2011 at 14:01Joseph, Stuart, and John, I was able to get this WFE swap working this morning. It seems to be a fine answer, and is decidedly more elegant than what I had forced on Wednesday evening. Best regards, Ron
Posted on May 17, 2011 at 14:01In this app the EXTI interrupts are measuring the frequency of two external lines. Those frequencies are critical to the app, so I can't disable them. I can't effectively ignore them during a window either. regards,...
Posted on May 17, 2011 at 14:01So you got me thinking about the possibility of playing with interrupt enabling/disabling. I tried this: void WaitForCycleTime(void) { while(stBaseTimer.bCycleTimeFlag == FALSE) { __enable_interrupt(); ...
Posted on May 17, 2011 at 14:01OK, I fixed it, though if anyone has a better idea how to do this, please let me know. void WaitForCycleTime(void) { while(stBaseTimer.bCycleTimeFlag == FALSE) { if((SysTick->VAL > 500) && (SysTick->VAL < ...