AnsweredAssumed Answered

STMStudio maximum sample rate

Question asked by joee on Jan 8, 2013
Latest reply on Jan 9, 2013 by S C
I have tried a STM Studio, yersteady downloaded. For sample rates less than 100ms are not shown all steps. Is it possible to show steps smaller than 100ms, how and how small they can be? I use an example delivered in a subdierctory 'softTrace' for Keil. I've just add a flag variable. The flag is set in an interrupt, in a main loop it just wait on it an clear it for a next step. After this modification I assume to see all steps. Modifications:

/* in stm32f10x_it.c */
extern volatile uint16_t flag = 0; 
void TIM1_CC_IRQHandler(void)
  // Clear the interrupt
  TIM1->SR &= ~TIM_FLAG_CC1;
  // Do a snapshot into data trace buffer
    flag = 1;
/* in main.c */
extern volatile uint16_t flag; 
int main()
        flag = 0;