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
  • 420 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
  • 858 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
  • 499 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
  • 1465 Views
  • 2 replies
  • 0 kudos

changing irq handler

Posted on October 25, 2012 at 16:17What is the best way to change the irqhandler to be used. I have a number of situations where the operations need to change depending on what the board is doing. Don't want to have a load of ifs or switches inside ...

gurnett2 by Associate II
  • 1030 Views
  • 4 replies
  • 0 kudos

low power STM32L speculation

Posted on October 25, 2012 at 16:25Hi. Erased state of flash memory in STM32L low-power devices is 0 instead of more common 1. What is the reason for this? If I will program unused flash portion to all FFh, will this impact current consumption in an...

jgoril2 by Associate II
  • 466 Views
  • 1 replies
  • 0 kudos

SPI1 DMA channel/stream

Posted on October 25, 2012 at 14:38Where do I find out what DMA channel/stream i need to use for SPI1 TX.not sure which st document has this information in it?(stm32f4)Thanks :)

russdx by Associate II
  • 352 Views
  • 2 replies
  • 0 kudos