STM32 MCUs products

Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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 ...

NVIC and invalid SCB->ICSR register with DMA2

Posted on March 14, 2013 at 20:55Environment is an STM32F205VF on a custom board, but the problem has also appeared on a STM3240G eval board with an STM32F407I.  Compiler is GCC 4.6.2 at optimize level O0 for debugging. My application has extensive ...

USART interrupt problem

Posted on May 13, 2013 at 11:10Hi guys, i've a problem with USART communication using interrupts.Using only USART device, the communication works correctly.When i try to using the usart device with some other timers interrupt routines with timers ab...

pietro2 by Associate II
  • 3 replies
  • 0 kudos

STM32F4 Interrupts: Clearing and related questions.

Posted on April 26, 2013 at 11:49Hi Just some general questions on interrupts:I assume that external interrupts need to be be cleared. There are some forum threads that are suggesting that this is done ''automatically'' and it does not need to be co...

bl by Associate II
  • 2 replies
  • 0 kudos

Issue with timer interrupt routines

Posted on April 14, 2013 at 12:25Hello all, I've run into the following problem with the program execution. On the STM32f4 Discovery board I've configured two timers with the IRQ routines for measuring two external PWM signals. This works excellentl...

jamsoft by Associate II
  • 7 replies
  • 0 kudos