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

STEVAL-ISB042V1 ... code writing... programming adivices.

I got 2 STEVAL-ISB042V1 and i want to create some code for the MCU to use the GPIOs for several functions. But i cant find the correct IDE for my MCU and i m looking for some programming adivices. I hope anybody can give me some help. The Datasheet o...

roku by Associate II
  • 649 Views
  • 0 replies
  • 0 kudos

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
  • 844 Views
  • 1 replies
  • 0 kudos

How can I rewrite peripheral block? My MCU is STM32F103VCT6?

Hi, community!I had a problem, when chip burned out in my device, I bought new. I installed it in the main board and programmed Flash Memory. All passed success, a device works, but there are some bugs. I assume that the peripheral devices are incorr...

DBara.11 by Associate II
  • 1846 Views
  • 4 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
  • 3412 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
  • 1529 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
  • 641 Views
  • 0 replies
  • 0 kudos