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

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
  • 393 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
  • 819 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

SPI1 initialization on STM32F405RG

Posted on October 27, 2012 at 16:52Hi all,I try too setup an SPI1 com with my STM32F405RG. The datashhet of the component says :SPI Operational Features 1. Data is delivered MSB first and LSB last 2. Data is latched on the rising edge of SCLK 3. Dat...

neoirto by Associate II
  • 324 Views
  • 0 replies
  • 0 kudos

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
  • 490 Views
  • 2 replies
  • 0 kudos

STM32L-Discovery Demo Project for Keil

Posted on October 25, 2012 at 23:16The demo project for the STM32L-Discovery download only has a project for IAR EWARM, this is the default project loaded on the new boards. That wasn't very useful for me so I ported it to Keilhttps://docs.google.co...

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
  • 1424 Views
  • 2 replies
  • 0 kudos