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

measuring of execution time

Posted on October 28, 2012 at 20:05Hi everybody. Is it possible to measure execution time of program when I debug the program by using of hardware debugger ST-LINK V/2? I use uVision 4 studio (lite version) by KEIL and discovery board for STM32f0 wi...

Timer Interrupt frequency influenced by WFE

Posted on October 29, 2012 at 02:03Dear readers, the attached program for the STM32F407VGT6 (on the STM32F4 Discovery) should generate an interrupt every 500ms. The ISR toggles GPIO pin D14, which lets the LED (red) connected to it blink with 1Hz. T...

STM32F107RCT6 (LQFP64) - JTAG Help!

Posted on October 27, 2012 at 19:35Hey Guys: Please take it easy on me, I am a rookie STM32 user. I've recently ''adopted'' a new project from my employer due to the old engineer leaving the company abruptly.   I've been tasked with flashing several...

i2c start doesn't do anything on the bus

Posted on October 28, 2012 at 17:18 I am trying to write an i2c driver for my stm32f100 discovery board. To verify that it is setup right, I want to send a start condition and check to see that the SDA line goes low while SCL stays high. I have ...

saccrue by Associate II
  • 416 Views
  • 2 replies
  • 0 kudos

delay function and execution time

Posted on October 25, 2012 at 09:18 Hi, I wanted to create a delay function, and I thought of something classic like this: whlile(n_count){ n_count--; } but how do you know how long it loses precisely my function? I believe that ther...

orn by Associate II
  • 851 Views
  • 3 replies
  • 0 kudos

Problems with PWM

Posted on October 27, 2012 at 20:36Dear STM-Experts, i tried my first PWM with the STM32F4Discovery. It should create a 7 MHz PWM with 50 % duty-cycle. But i can only get a changing 8 bzw 6 Mhz Pwm like shown here: Here is the code (Picked up and th...

0690X0000060526QAA.png

STM32F4Discovery I2C Example

Posted on October 26, 2012 at 14:24Hello everybody!Does anyone can give my working sample of connecting two stm32f4discovery via I2C?I've spent a lot of time, but nothing works.Thank you! #stm32f4discovery-i2c

Problem with clock configuration STM32F205RBT6 RevX silicon

Posted on October 24, 2012 at 17:49I use an external 8.0 Mhz crystal connected to the HSE pins. I use STM32F2xx_Clock_Configuration_V1.1.0.xls utility with HSE_OSC setting to 8.0 MHz and HCLK setting to 120.0 MHz and let generate the file system_stm...

fortunat by Associate II
  • 494 Views
  • 2 replies
  • 0 kudos

STM32F103 PA15 as GPIO

Posted on October 25, 2012 at 21:49Hello, I�m trying to use PA15 pin as an output on STM32F103CB chip, but with no luck. Because this pin is shared for JTAG, I must use remapping, First I enable clocks: RCC->APB2ENR |= RCC_APB2Periph_TIM1 |         ...

r2d2 by Associate II
  • 1453 Views
  • 2 replies
  • 0 kudos