STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Cant' reset USB without stopping RTC

Posted on April 29, 2013 at 01:00 Hello here, I'm trying to reset USB peripheral before entering stop mode, on an STM32F But if I do so, the RTC (which runs from LSI) stops .. Any idea why ? Here is the code : ...

Kuikui by Associate III
  • 294 Views
  • 0 replies
  • 0 kudos

ADC data corruptiom

Posted on April 25, 2013 at 10:53The original post was too long to process during our migration. Please click on the attachment to read the original post.

USART Problems

Posted on October 26, 2012 at 10:57 Hi Guys, Been trying to get the USART to work for a couple of days now and is time to get some help... This is my code: GPIO_InitTypeDef GPIO_InitStructure; USART_InitTypeDef USART_InitStru...

How could I use UART IDLE interrupt

Posted on April 28, 2013 at 07:51Hello,        I want to use UART + DMA to receive unknown length packet. So I tried to use IDLE interrupt to monitor the end of the packet. On the other hand, I use a PC tools to send several bytes data and delay a w...

xinjin by Associate II
  • 309 Views
  • 0 replies
  • 0 kudos

using ch1..ch4 channel of TIM5

Posted on April 27, 2013 at 17:44 Hello, I'd like to use 4 channels of TIM5 as independent pulse counter, but CCR1..4 seems to have some non-sense value. Here's the code: void TIM5_Init( void ) { GPIO_InitTypeDef GPIO_InitStru...

bsimone by Associate II
  • 666 Views
  • 4 replies
  • 0 kudos

Problem with SPI and LIS3LV02DQ

Posted on April 26, 2013 at 23:57Hello,I'm astudent of computer engineering, I'm trying to interface a STM32F0_Discoverycard with an LIS3LV02DQ accelerometer using the SPI protocol, but I'm havingtrouble with the initialization of the pins of the ST...

CCR2 won't update

Posted on April 26, 2013 at 22:54 Hello, I'm trying to count pulse on PB7 using timer TIM4 ch2. Everything is ok, but I'd like to reset CCR2 so I can start another measure. I tried with TIM_SetCompare2(TIM4, 0); but CCR2 isn't set to 0 after execu...

bsimone by Associate II
  • 462 Views
  • 2 replies
  • 0 kudos

pwm signal for stepper motor

Posted on April 26, 2013 at 12:53hi,I found a problem to generate a PWM signal like this one: i thought that we can do this with TIM1 by insertion of a DEAD TIME but when i inserted a dead time i obtained a signal lîke this one: can someone help me ...

0690X00000602xzQAA.jpg 0690X00000602y0QAA.jpg
feres by Associate II
  • 526 Views
  • 3 replies
  • 0 kudos

F405 DMA1 configuration IMPOSSIBLE

Posted on April 26, 2013 at 17:00Hello to all of you ST lovers,I got a problem : working with ChibiOS (which includes the stm32 libs) I'm trying to enable some DMA actions (to capture a timer value, as it happens). Yet whatever I do in the DMA1 Stre...

Timer triggered DMA transfer

Posted on April 26, 2013 at 10:34Hello,I'm working with a STM32F407 controller board. Right now, I want to trigger a DMA transfer with one of the internal timers (TIM1). The DMA transfer should read one gpio port and put it into the memory. The time...

andreas23 by Associate II
  • 1218 Views
  • 3 replies
  • 0 kudos