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

Am I understanding the SysTick timer correctly?

Here SysTick_Config(16 000 000) takes one second to count down from 16 000 000 to zero?That is, one tick has a duration of 1/16 000 000==62.5 ns ?0.0000000625(one tick time) *16 000 000 ticks== 1 secondCorrectly?At the end of each count, an interrupt...

MMust.5 by Senior II
  • 10307 Views
  • 8 replies
  • 0 kudos

How change the PWM polarity of CH2N during runtime ?

I have set Timer 8 to PWM Generation CH2 CH2N. Based on the value read by the ADC, I want to change the polarity of both CH2 and CH2N. I have found that using __HAL_TIM_SET_CAPTUREPOLARITY, I could change the polarity of CH2 but the polarity of CH1N ...

0693W00000NqkcWQAR.jpg

What is the best IDE / tool chain for an STM32 rookie?

My background is in hardware, but I have extensive experience writing "bare metal" code (C) for 8-bit MCUs, mostly for AVRs. In the past, I have used AVR Studio (now Microchip Studio), starting with version 4.18 down to present versions. Tool chain...

SHobb.1 by Associate II
  • 7774 Views
  • 27 replies
  • 0 kudos

nucleo-f439zi pwm not working?

I am trying to configure PWMs on the user leds uisng the nucleo-f4329zi board (default preconfigured project) and the visual configuration of the STM32CubeIDE, but for some reason some PWM are not working.My setup for all all PWM (aside from default ...

fvi by Associate
  • 639 Views
  • 1 replies
  • 1 kudos

Resolved! Wrong Reset Values ​​in ports A and B.

STM32F407https://www.st.com/resource/en/reference_manual/dm00031020-stm32f405-415-stm32f407-417-stm32f427-437-and-stm32f429-439-advanced-arm-based-32-bit-mcus-stmicroelectronics.pdfWhy are there incorrect Reset Values ​​in ports A and B?I erased the ...

0693W00000Nqno1QAB.png
MMust.5 by Senior II
  • 1171 Views
  • 5 replies
  • 0 kudos

Resolved! LPTIM1 STM32L476RG (nucleo)??

I am trying to create a 50ms timer using the above reference. The clock is 16MHz, I have a divisor of 16 and have the NVIC enabled (all this is done in cubeMX). I have the following ISR void HAL_LPTIM_AutoReloadMatchCallback(LPTIM_HandleTypeDef *hl...

0693W00000NqjVUQAZ.png
SWenn.1 by Senior III
  • 570 Views
  • 2 replies
  • 0 kudos

Is this just a notice or is it an error?

When I try to run a project in Release I get this message:No source available for "Reset_Handler() at 0x80007c4"What does this mean ?I do not see it in debug, and BTW I did set the mode to Release...

imarz.1 by Associate III
  • 1422 Views
  • 7 replies
  • 0 kudos

F429 I2C bug

Hi, i'm using stm32f429 to develop i2c communication, the mcu cannot generate START signal after running a few minutes but the SDA and SCL all high, I add the CR1 register to watch and find the CR1 cannot be modified after calling the bellowing: ​br...