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

Is there a way to reset SPI RxFifo?

Posted on November 21, 2013 at 15:25Hi, I would like to ask if there is a way to clear the FRLVL and RXNE bits in SPIx->SR in order to ignore everything that has been received before. I have some routines that only send data and other that will als...

mmensch by Associate II
  • 558 Views
  • 3 replies
  • 0 kudos

hard fault handler

Posted on August 04, 2013 at 01:47hi,i am working on stm32f407. i am experiencing hard fault handler. start:{}timer();while(!one_second_timer){ /*my code*/}goto start;and the code for timer is void timer(void){ uint16_t PrescalerValue = 0; TIM_Cmd(T...

bilal by Associate II
  • 672 Views
  • 3 replies
  • 0 kudos

STM32F205 __disable_irq() undefined symbol Keil ARM

Posted on November 20, 2013 at 08:43Hi. I want to disable all interrupts in my STM32F205  and I use macro __disable_irq() in core_cmFunc.h. I verified that this instructions works fine, but in ARM Keil IDE, if I select ''Go to definition of __disab...

giovanni by Associate
  • 1496 Views
  • 3 replies
  • 0 kudos

Bug in USB library v4.0.0 usb_prop.c

Posted on November 21, 2013 at 01:28 I've come across an issue in usb_prop.c in the STM32 USB library examples. The _GetStringDescriptor function checks for the index of the Descriptor string, but allows an index of up to 4. There are actually o...

STM32F429I-DISCO export restrictions?

Posted on October 09, 2013 at 21:26HiI am based in South Africa and got a STM32F4 Discovery a while back, and now I tried to order a STM32F429I-DISCO, but Farnell gets back to me with:Farnell will not accept our order for 2355377 / STM32F429I.This i...

xacc by Associate II
  • 2033 Views
  • 10 replies
  • 0 kudos

STM32 firmware stack for ST7540

Posted on May 22, 2013 at 21:53Hello,I'm starting to develop firmware to interface the ST7540 powerline communication modem. I have read http://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/DM00063638.pdf but I couldn...

daan by Associate II
  • 924 Views
  • 4 replies
  • 0 kudos

Quadrature encoders roll over management

Posted on November 19, 2013 at 02:25Hi,I am currently developping a firmware programmed into a STM32F407VG microcontroller.The firmware has the following tasks:- Reading motor positions (5 axes: 3 with quadratures/indexes and 2 with steps/directions...

demond by Associate
  • 1262 Views
  • 8 replies
  • 0 kudos

STM32F407 as i2c slave

Posted on February 25, 2013 at 09:23Hi, does someone have experience with unable to clear STOPF bit, what causes continually jumps into i2c IRQ?I am trying to do it this way: I2C_ClearFlag(I2C1,I2C_FLAG_STOPF);,but it does not work.The reference man...

Init a simple timer, get his counter value, reset it

Posted on November 19, 2013 at 13:08 Hello, I want to initialize a timer which will serve to count the time between two actions. For example, counting the time between two button press. So the timer have to count in a loop. Each ti...