STM32 MCUs Products

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

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
  • 257 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
  • 269 Views
  • 0 replies
  • 0 kudos

Getting Speaker Tone from DAC Peripheral

Posted on April 25, 2013 at 20:46Hello, I am a first time poster on this forum so please bear with me. I am using CMSIS to get the DAC peripheral to play a simple tune. I am working off an example I found online which I have simplified to play onl...

ynuriz01 by Associate
  • 1067 Views
  • 3 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
  • 594 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
  • 413 Views
  • 2 replies
  • 0 kudos