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

STM32CubeMx problem creating MDK-ARM V4 Project

Posted on January 30, 2016 at 22:18I have found a problem with the latest version of STM32CubeMX 4.12.0. Each time I generate the sources with an MDK-ARM V4 project it duplicates the source files in the .uvproject file. The attached picture shows th...

Timer issue

Posted on February 08, 2016 at 17:03Hi,I'm having an issue setting up TIM1 for PWM on the STM32F446.In the following code, the PWM works for TIM2 but not for TIM1.Any ideas?Thank you.  RCC->APB1ENR |= (1UL << 0); // TIM2 clock enable  TIM2->PSC   = ...

kalhana by Associate II
  • 1023 Views
  • 4 replies
  • 0 kudos

Fluent frequency modulation

Posted on February 08, 2016 at 09:59 Hello there, I am using STM32F4. I am trying to make an application, where I could be able to modulate the frequency (not pwm) of one channel for example in range of 1k - 20k Hz. The problem i encountered...

Question regarding Bit-Banding

Posted on February 08, 2016 at 09:02Hello. I try to use bit-banding feature in a STM32F303 uC on GPIO registers (exactly to change mode of a pin in MODER register). But as I see, all GPIO registers in that uC are on addresses which starts with 0x48....

matic by Associate III
  • 650 Views
  • 3 replies
  • 0 kudos

problem with interrupts (stm32f103re)

Posted on February 07, 2016 at 09:54Hi I configured 2 EXTI (PA0 & PB1 ) and work perfectly. But when I configure Port B pins output and connect a led to them ( or even a wire!) inerrupts occure! (I pulled up intrnally and externally PA0 & PB1 and in...

Clock setting for stm32f105rc

Posted on February 06, 2016 at 16:12I made a custom board using stm32f105rc with external 8MHz x-tal.I think I would set the system clock with HSE,PLL,72MHz.But each stm32f105 board's SysTick_Handler timing are not same. 10,000 tick is 1 sec. In som...

paul0208 by Associate III
  • 804 Views
  • 2 replies
  • 0 kudos

ASM error when using an array containing struct elements

Posted on February 07, 2016 at 19:55 Hello, I have an array, that should contain structures for the input and output pins as follows: typedef struct inputStruct { uint16_t pin; GPIO_TypeDef *port; }input_t; struct inputStruct inpu...

sven23 by Associate II
  • 1973 Views
  • 9 replies
  • 0 kudos

SPI aberration (STM32F401VC)

Posted on February 07, 2016 at 09:12Hi all,I have an issue with SPI on the STM32F401VC microcontroller.  What seems to be the problem is that the SPI device (SPI1) doesn't seem to drive the completion flags correctly on the hardware.  For example, I...