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

STM32F4 Flash overwrite

Posted on May 21, 2014 at 19:53Hey, I am using STM32F405 as the controller in my project. We have hundreds parameters needed to be saved in the Flash memory and this parameters will be modified one by one during the running. The problem is the flash...

kqian by Associate II
  • 868 Views
  • 2 replies
  • 0 kudos

Buffer selection - lowest power modes

Posted on May 23, 2014 at 13:20I am using STM32F205RBT6 & have to make it battery operated . So lowest power consumption is desired.What should be setting for:1. Prefetch buffer :   I have turned off2. Instruction cache :   I have turned off3. Data ...

I2C problems - ADDR bit is not set

Posted on May 24, 2014 at 11:45Hi everyone, I'm trying to implement I2C1 on stm32f4-discovery to let the kit contact with a light-to-digital sensor TSL2581CS ..In the following code, the <b>I2C_CheckEvent(I2Cx, I2C_EVENT_MASTER_TRANSMITTER_MODE_SELE...

Why always to stop clock for read by SPI interface ?

Posted on May 19, 2014 at 01:48uint8_t P_LIS302_Read1Adr(uint8_t adr) { uint8_t ret_wert=0; uint8_t spi_wert; // Chip Select to Lo P_LIS302_CS( Bit_RESET);// read an address spi_wert=(adr&0x3F); spi_wert|=0x80; // 0b1000 0000 or // Send address...

gusonela by Associate II
  • 928 Views
  • 5 replies
  • 0 kudos

Frequency Meansure

Posted on May 15, 2014 at 17:06 Hi,  I am using uvision4 with stm32f1xx to meansure frequency counting the time of the falling edge pulse. I need a high precision to meansure frequency from 0Hz to 240Hz. The first thing that I do was to set the pre...

felipe by Associate II
  • 3059 Views
  • 20 replies
  • 0 kudos

dma issue when writing to TIM1->BDTR

Posted on May 23, 2014 at 20:15 whenever i perform the dma transfer, I always get a transfer error on the write to TIM1->BDTR. If I write to a different peripheral register, such as TIM3->ARR, it succeeds. Any thoughts? TIM_TimeBaseIni...

mhage by Associate II
  • 622 Views
  • 2 replies
  • 0 kudos

STM32F2xx FSMC address bus assignment

Posted on May 23, 2014 at 16:07One thing I have not been able to find in the datasheet: if the FSMC is being used to access 16-bit memory, what does A0 do? I'm a bit confused about this. If BCR.MWID is 00 => 8-bit data width, you have to address ind...

fpeelo by Associate II
  • 806 Views
  • 2 replies
  • 0 kudos

Backslashes in F429DISCO BSP

Posted on May 05, 2014 at 22:36Hello Everybody, in the process of compiling some of the Examples for the STM32F429DISCO on a linux machine I noticed that Include paths are specified using backslashes instead of slashes. Obviously, backslashes only w...

lukas2399 by Associate II
  • 1164 Views
  • 7 replies
  • 0 kudos

[STM32F30x.h] Bit mask error for RCC_AHBRSTR_XXXX

Posted on May 22, 2014 at 04:27hi, I found there is a problem with the bit mask for the RCC AHBRSTR Register in the stm32f30x.h.   * @file    stm32f30x.h   * @author  MCD Application Team   * @version V1.0.0   * @date    04-September-2012 #define ...

hohee by Associate
  • 730 Views
  • 4 replies
  • 0 kudos

Sneding STM205RBT6 in sleep mode

Posted on May 21, 2014 at 14:09Is below is right way to send STM32F205RBT6 in sleep mode:I have to do some task, then send MCU in sleep mode for 1 sec & then again execute those tasks.main(){ while(1) { // do some task configure_timer_1_sec();   //c...