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

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
  • 3067 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
  • 1335 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
  • 2195 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 ...

Compiled HAL Library Errors

Posted on February 20, 2017 at 02:23Ever since the dawn of HAL, every HAL library I have tried has contained compiler detected errors. My latest frustration source is the STM32L4xx HAL library version 1.6.0. The problems are diverse and include:   ...

Resolved! Source code location

Posted on February 20, 2017 at 21:22We are using STM32F437 and need to implement UDP/IP using lwIP.lwIP manual UM1713 makes at least three references to source code. In section 1.4: \Middlewares\Third_Party\LwIP,in section 4.1.2: \LwIP\LwIP_TCP_Echo...

John Hite by Associate III
  • 617 Views
  • 1 replies
  • 0 kudos

FatFS on QSPI Flash

Posted on June 07, 2016 at 09:04Hello,Is is possible to use FATFS file system on QSPI Flash with STM32F7 series microcontrollers? I couldn't find any example code about it. 

Resolved! RTC Subsecond syncronization

Posted on February 20, 2017 at 20:04I am trying to synchronize the RTC of a NUCLEO-L476RG board to a GPS.  I am using the 1PPS signal from the GPS to generate a timestamp.  I then use the LL_RTC_TIME_Syncronize function to adjust the subsecond count...

mvonahnen by Associate III
  • 862 Views
  • 1 replies
  • 0 kudos

Resolved! STM32F4 - Timer Sync - Trigger Mode does not work

Posted on February 16, 2017 at 15:49Hi,I am having trouble to synchronize the start of two or more timers at the same time. Reading the manual, I figured out that, I have to select one timer as master timer with master configuration 'Enable' ('the c...

smrtkai by Senior
  • 2846 Views
  • 4 replies
  • 1 kudos