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

STM32F205: Erasing FLASH sector by sector

Posted on February 17, 2014 at 15:12I am using STM32F205 and I have designed my own bootloader. Before FLASH programming, my bootloader always erase whole FLASH from sector 1 to sector 11 (it uses fixed count cycle through sectors without determinin...

Memory alignment of STM32

Posted on February 21, 2014 at 08:45Hi, every one.I create this structure. Then I try to find size of this structure. But it seem wrong.typedef struct {    uint8_t  a;    uint8_t  b;    uint16_t c;    uint16_t d;    uint8_t  e;} test;sizeof (test) =...

suppakit by Associate II
  • 4810 Views
  • 2 replies
  • 0 kudos

Busfault not generated on STM32F2

Posted on February 18, 2014 at 22:18I am running the standard peripheral demo code on an STM3221G evaluation board (for STM32F2 MCU). However when I tried to force a busfault by writing to an invalid address, nothing happened and the program just mo...

llo by Associate
  • 763 Views
  • 3 replies
  • 0 kudos

problem with stm32f4 discovery SPI2

Posted on February 21, 2014 at 01:42hi guys.i want to use my stm32f4 spi2 and i wrote some code and i think it should be true,because i wrote the same code for SPI1 in this board and it works very well,all i want is to send a data through  mosi and ...

Optimizing SPI ISRs for high speed transfers

Posted on February 20, 2014 at 21:18 I'm losing bytes during SPI receive transactions, and I believe it's an optimization problem in my interrupt service routine. I'd love some input from those with more experience in high data rate applications...

Where is the Nucleo community forum?

Posted on February 19, 2014 at 09:49Where is the Nucleo community forum?   Someone needs to add this community as-soon-as-possible, because distributors are selling the NEW Nucleo boards.  http://www.st.com/web/en/catalog/tools/FM116/SC959/SS1532/LN...

sbmeirow by Associate II
  • 670 Views
  • 2 replies
  • 0 kudos

GPIOx_OSPEEDR and GPIO Compensation Cells

Posted on February 19, 2014 at 23:36Hi AllI've been working with STM32F405/07 (STM32FDiscovery & my own designs) for a while now... though I'm certainly no expert:) This is a request for any discussion or useful information generally related to high...

rgodshall by Associate II
  • 2214 Views
  • 4 replies
  • 0 kudos

Write to textfile

Posted on February 19, 2014 at 09:35Hi I'm trying to write some values to a textfile but without success. I work with the IAR Workbench. Bellow the code which I found also in the Arm User Guide:#include <stdio.h> FILE *f; f = fopen (''Test.txt'',''r...

csutter by Associate
  • 643 Views
  • 3 replies
  • 0 kudos

Injected ADC Conversion Time off by 1.2usec

Posted on February 20, 2014 at 16:37I am using TIM1 (PWM Mode) to trigger injected adc conversions in dual mode.  The ADC clock is set to 72 Mhz (PLL Clock).   The ADC sampling is set to 19.5 cycles --> a total conversion time of 19.5 + 12.5 = 32 cy...

richard23 by Associate II
  • 1106 Views
  • 5 replies
  • 0 kudos