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

CubeMx code generation hangs

Posted on February 18, 2017 at 08:30I am using 100 pin, STM32L4 mcu. After i updated to cubemx 4.19.0 a few days before, it takes more time to generate code for larger projects (more peripherals), which goes upto approx. 3 to 4 minutes. For smaller ...

STMF0x + CANbx + HSI48?

Posted on February 21, 2017 at 01:01Hi, My using the STM32F072 with CANBus. I was going to use the HSI48 throughout however I discovered an issue.  According to the Bosch CAN specification...'A maximum oscillator tolerance of 1.58% is given and ther...

Resolved! CubeMX Freertos C++

Posted on February 09, 2017 at 17:23Hi, I am trying to use the code generated by Cube including freertos for an STM32F2xx device. I uses the latest tool (cube 4.19 and Firmware package 1.14). After generating the code i changed  the compiler setting...

Adalgiso by Associate II
  • 925 Views
  • 3 replies
  • 0 kudos

Resolved! STM32 Time base Interrupt

Posted on February 16, 2017 at 11:39Hi,I need Help regarding time base.I found one of the example and tried to modify that for STM32 F4 Discovery board.I want to count number of external pulses by using TIM4 in 1.13 ms. So the time base is configure...

waheed901 by Associate II
  • 3325 Views
  • 14 replies
  • 0 kudos

timers IC

Posted on January 24, 2017 at 17:38Why timer IC mode doent work?I've configured everything thround Cube, enabled interups and cant get it to work. Some channels just doent work.__IO uint64_t impData=0;__IO uint32_t icnt=0;...main part __HAL_RCC_TIM2...

es131245 by Associate II
  • 1460 Views
  • 9 replies
  • 0 kudos

Resolved! Timer 2 capture mode for period measurement - STM32F407

Posted on February 16, 2017 at 20:44// Configure timer 2    RCC_APB1ENR.TIM2EN = 1;    TIM2_CR1.CEN = 0;    TIM2_CR2.TI1S = 0;    TIM2_PSC = ENCODER_TIM_PSC;    TIM2_ARR = ENCODER_TIM_RELOAD;    TIM2_CR1 |= 0x10;// Configure input capture    TIM2_CC...

Timer in TIM_OCMODE_ACTIVE is always HIGH

Posted on February 15, 2017 at 15:07Hi,I want to generate a square wave using Timer mode TIM_OCMODE_ACTIVE. I have generated the code using STM32CubeMX and I am using a STM32F429I Discovery Board.The output pin is always 'HIGH'. For TIM_OCMODE_INACT...

smrtkai by Senior
  • 2417 Views
  • 4 replies
  • 0 kudos

USART2 Init STM32F101

Posted on February 20, 2017 at 22:39Hello all,I'm trying to configure USART on a STM32F101RB micrcontroller with Atollic True Studio.the uC clock is configured as external clock (8Mhz) divided by 2 and pll'ed by 9 to a total 36Mhz.I'm using the HAL ...