STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Problem in using TIM2 Flag Polling

Posted on March 02, 2013 at 17:22Hello, I want to use Timer2 to generate approx 1secs Pulse without interrupt. I want the code to sit in an endless loop while testing the TIM2 update interrupt flag or TIM2 CCP1 Flag (I plan to use Compare instead of...

Input capture STM32F429 Discovery

Posted on February 21, 2014 at 12:30 Hi, I have a problem with F429 Discovery board. I use PB4 (is a free pin) for input capture This the configuration: void TIM_Config(void) { GPIO_InitTypeDef GPIO_InitStructure; NVIC_Ini...

STM32L1 strange ADC reading

Posted on February 21, 2014 at 10:14Hi, please I need a little help.I'm using a STM32L151RCT6A in a project. We need to distiguish the hardware version of boards, so to use a single pin, we read the voltage on a partitor made of two resistor.It is c...

giuseppe by Associate II
  • 847 Views
  • 7 replies
  • 0 kudos

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
  • 3358 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
  • 541 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 ...

VREFINT_Factory_CONV on STM32L151RCT6

Posted on February 21, 2014 at 10:12Hi, someone can help me?I made a project with STM32L151RBT6, all worked fine.Now I have to change it with C version, because I need more RAM.On it, VREFINT_Factory_CONV at memory location 0x1fff0078 is not program...

giuseppe by Associate II
  • 300 Views
  • 0 replies
  • 0 kudos

STM32 Discovery, RC Receiver, PWM Input

Posted on February 21, 2014 at 08:59 /* Includes ------------------------------------------------------------------*/ #include ''stm32f4xx.h'' #include ''stm32f4xx_syscfg.h'' #include ''stm32f4xx_rcc.h'' #include ''stm32f4xx_gpio.h'' #include ''s...

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...