STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

MCU running too slow?

Posted on May 20, 2013 at 08:44 So I've been noticing recently that my stm32f4 discovery board is running under 168 MHz. Or at least I think. I'm trying to get this loop uint32_t i = 0; for (;i<76799;i++) { GPIOD->ODR = 0x4100; GPIOD->ODR...

SDIO DMA using DMA as Flow Controller

Posted on May 22, 2013 at 12:20I am using an STM32F4 to monitor port conditions and stream this data to an SD card.  My current architecture uses DMA2 stream 1 in double buffer mode to sample the GPIOE IDR registers at 5 MHz.  Once a buffer is full ...

lorenzb by Associate
  • 322 Views
  • 0 replies
  • 0 kudos

stm32f207 code protection

Posted on May 05, 2013 at 00:45Hi again.I have made great strides in our system this past week (our first use of the stm32) and we have had great interest in this latest (stm32 based) product from potential customers and therefore we would like to s...

adrian by Associate III
  • 848 Views
  • 2 replies
  • 0 kudos

Timer overflow when in PWM mode?

Posted on May 20, 2013 at 09:18Hello,I'm running my code on STM32F103 chip, I've set up a PWM output from timer1 with period of 200 ms, pulse width 5 ms, it's working and can be seen with a scope on GPIOA_8. The thing is, that I want to do something...

Syncing USART/DMA RX

Posted on May 20, 2013 at 22:38I am using a STM32F407 and have set it up for using USART with DMA. I have some problems with the RX part. What is the best way to sync the enabling of the RX DMA with the remote transmitter? If I enable it in the midd...

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

f4-discovery, fpu not working in timer interrupt?

Posted on May 21, 2013 at 16:55Hi, I'm testing the f4 and the fpu. I have a small fpu test like this:volatile float a=0;volatile float b=.1;int c;for(;;)    {      GPIOD->ODR^=0x8000;      for (c=0;c<100;c++)        a=a+b;    }So by looking at PD15 ...

HardFault_Handler exception...

Posted on May 16, 2013 at 13:53Hello,I'm using the STM32F4 on the discovery evaluation board.I wrote a simple function that calculates the mean of a vector. When the code is starting to make the summation it goes to HardFault_Handler...Here is the m...

0690X00000604sxQAA.png
yoav by Associate II
  • 1833 Views
  • 10 replies
  • 0 kudos

STM32F2xx OTP issue

Posted on April 02, 2013 at 16:47I need to put some data permanent in the OTP. But I phase a few problem durring debbug. 1. When try to program it on power up like in the FLASH I get the error can't program address 0x1FFF7800 as it is not a part of ...

Barbie by Associate II
  • 2946 Views
  • 14 replies
  • 0 kudos