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...
Ask questions, find answers, and share insights on STM32 products and their technical features.
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...
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...
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...
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 ...
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...
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...
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...
Posted on April 26, 2013 at 11:49Hi Just some general questions on interrupts:I assume that external interrupts need to be be cleared. There are some forum threads that are suggesting that this is done ''automatically'' and it does not need to be co...
Posted on April 24, 2013 at 21:18Hi, want to generate a 24MHZ 50%DC PWM, I have follow this example ,but I can't get more than 500Khz, please help me. void TIM_Config(void) { /* -----------------------------------------------------------------------...
Posted on April 24, 2013 at 23:43Hi,i'm novice in programming with stm32f4 and i want to know how to generate an interrupt after pressing user button what's i know is that i should use EXITx_irqHandler but how to configure the button to be related t...