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

DMA request from external input signal

Posted on April 16, 2013 at 12:40I have an input 8 bits parallel bus, with a CLK signal connected to GPIOs. The frequency is 1MHz. I need to configure an automatic DMA transfert from the 8 bits GPIO to a memory buffer (dual buffer mode would be grea...

USART RX - HOW IT WORKS ?

Posted on April 19, 2013 at 16:43 Hello, I'm quite a newbie with USART RX, I read a lot of code examples but I don't exactly understand how it works. I want to receive MIDI data from a musical instrument. MIDI is a protocol using USART c...

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

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
  • 814 Views
  • 4 replies
  • 0 kudos

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
  • 550 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
  • 636 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
  • 1406 Views
  • 3 replies
  • 0 kudos

Uart (rs232) communication problem

Posted on April 25, 2013 at 01:30 Hi all, i am trying to establish UART communication between µc and PC. this is my code: /* Includes ------------------------------------------------------------------*/ #include ''stm32f10x.h'' #includ...