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! STM32L4: How to setup CC1IE for TIM2

I copied the code for my timer setup, and the plan was every time the capture compare was equal the CC1IF would set and I toggle the LED in the IRQHandler; however, upon loading in the code it seems the IRQHandler only gets called once to turn the LE...

KBrad.2 by Associate II
  • 1286 Views
  • 3 replies
  • 0 kudos

How to clear all pending interrupts?

I want to clear all pending interrupts in my bootloader before jumping to the user application, otherwise an interrupt will remain pending and therefore other interrupts wouldn't be triggered in the user application.After reading the Cortex-M datashe...

IJoe.1 by Associate II
  • 8352 Views
  • 5 replies
  • 0 kudos

Resolved! Wake up MCU by CANbus interruptions from sleep mode (STM32F1)

I am working on power management and I put MCU in sleep mode (no low-power), but it doesn't wake up when it receives a CAN frame, it stays in sleep mode. I would like any CAN frame to wake up the MCU.To switch to sleep mode I use :HAL_SuspendTick(); ...

MSkor.1 by Associate II
  • 2763 Views
  • 1 replies
  • 0 kudos

STM32 Hotspot, a new GitHub for unofficial projects

ST is unveiling STM32 Hotspot on GitHub, which comprises repositories developed by ST employees for demos or example features that are not part of the official ST GitHub page or the traditional STM32Cube ecosystem on ST.com.Developers now have access...

systick is not working after jump.

below are the codes(0x0801E000U) which is used for jump:#define PROJ1_FLASHADDR 0x08000000U#define PROJ2_FLASHADDR 0x0801E000U __disable_irq(); /* Get the main application start address */ uint32_t jump_address = *(__IO uint32_t *)(PROJ1_FLASHADDR + ...

Hard Fault issue in 2 particular MCU

We are using STM32G0B1CBT MCU in our product. We assembled 10 pieces and out of 10, 2 devices are randomly going in hard fault sometime instantly after reset and sometime even after 1 hour. What would be the cause? What measures should be taken to re...

HAL_UART_RECEIVE_IT not working all the time in HAL

Hi,I'm using the UART functionality in NUCLEO-H745ZI-Q board. I want to transmit with UART polling and receive with interrupt. Every time I am able to transmit the characters on to the putty but sometimes receive interrupt is not working. I'm using H...

Mr. AK by Associate III
  • 755 Views
  • 4 replies
  • 0 kudos