STM32 MCUs products

Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Interrupt with F3-Discovery

Posted on August 22, 2013 at 21:40Hello guys,Im new to the ST-Family and i have a question about interrupting with a button.I wanted to make the button on the board as a hardware interrupt, which would trigger some LED-Blinking.However doesnt work a...

DMA interrupt handler hit but no IT flags set

Posted on August 13, 2013 at 11:41Hi, I am using DMA1 on an STM32F103 to collect data continuously from ADC1 as it cycles thru a regular conversion group.  Every time the DMA transfer complete interrupt fires I post an event to look at the data and ...

Sample a timer on EXTI interrupt

Posted on August 12, 2013 at 20:35Hi,I want to sample a fast timer (125ns) when an EXTI interrupt occurs, before the interrupt is handled. Later when the interrupt is handled i want to be able to compare the actual value of the same timer and measur...

Is my understanding of NVIC is correct?

Posted on July 31, 2013 at 22:17Hello, I don't know if my understanding of NVIC is correct especially to System Tick Timer. &sharpinclude ''stm32f10x.h'' void NVIC_Configuration(void)  {           uint32_t priorityGroup;                            ...

STM32F205: DMA2 operation with ADC1 problem

Posted on July 29, 2013 at 17:54 Hello, I have a problem to work the DMA2 with ADC1 on STM32F205 chip. Problem is the interrupt routineDMA2_Stream0_IRQHandler is never executed despite of configuration is performed. The flag TCIF0 is howe...

clement2 by Associate
  • 2 replies
  • 0 kudos

STM32F103 I2C interrupt driven method 2

Posted on January 16, 2012 at 22:29I am having issues with interrupt driven I2C using method 2 from the reference manual. I am trying to read from the magnetometer on an lsm303dlh. The least significant bit of the most significant byte seems to be t...

eexlb2 by Associate
  • 3 replies
  • 0 kudos

USART missed rx interrupt

Posted on July 04, 2013 at 14:37Hi,I have an STM3220g-sk/iar demo kit. I try to configure the STM32F2 device to receive data with UART interrupt.I have the following codeint main(){  /* Reset all the ports to default values */  GPIO_DeInit(GPIOA);  ...

Adalgiso by Associate II
  • 0 replies
  • 0 kudos

Usage of PRIMASK vs pending interrupts

Posted on July 02, 2013 at 20:57In a project I have a periodic interrupt (5ms) that misses a beat from time to time (1-2min).I have an os that will globally disable interrupts (set primask to 1) for very short time then re-enable them. I suspect it ...