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

Cannot flash chip after sectors erasing

Hello, I want to flash my program in STM32 chip after sectors erasing. I cannot upload my soft and I need help from you.I tried to upload my ST-link V2 debbuger but since it seems to not work fine. Any idea ?Thanks in advance.

TAKSO by Associate
  • 380 Views
  • 1 replies
  • 0 kudos

Resolved! HAL_PCD_ConnectCallback() is not called on USB connection

Hi,I'm trying to capture a USB connection / disconnection event in STM32F722RE. The interrupt HAL_PCD_IRQHandler() is called when I connect / disconnect the device to the PC, but the flags USB_OTG_GINTSTS_SRQINT and USB_OTG_GINTSTS_OTGINT are never s...

AlaaM by Associate III
  • 2207 Views
  • 4 replies
  • 1 kudos

Counter input capture

I'm trying to set up a counter to capture the period of an input signal. I'm getting lost in the different CCMR bits. If it possible to do the following:wait for a raising edge on an input.on the raising edge, start counteron the next raising edgerec...

AKrup by Associate II
  • 724 Views
  • 2 replies
  • 0 kudos

Hi, I want to do phase shifting using complementary output at Timer1 using CH1 and CH1N. I believe it can be done using CCR2 register.

MX_TIM1_Init(); /* USER CODE BEGIN 2 */ RCC->APB2ENR |= RCC_APB2ENR_TIM1EN; // Enable timer1 //RCC->APB1ENR |= RCC_APB1ENR_TIM3EN; TIM1->CCMR1 |= 0x0000E8E8; // CH1 & CH2 Output Compare(CC1S), Preload(OC1PE), PWM1 Enable(OC1M)* TIM1->CCMR2 |= 0x00000...

Suraj1 by Associate
  • 389 Views
  • 0 replies
  • 0 kudos