STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

MYOKO.1 by Associate
  • 490 Views
  • 1 replies
  • 0 kudos

Switching relay causes hardFault on MCU

I am switching 5V relay with BJT using MCU(STM32G030) pin. When clock speed is 64MHz(max speed) and 1ms timer update interrupt is enabled, not every time I switched relay but sometimes MCU goes into hardFault handler. But if I disable timer update in...

SSone.1 by Associate III
  • 1995 Views
  • 6 replies
  • 0 kudos

HardFault debugging on STM32G491RE

Hello everyone,I've added a complex Simulink-generated function to my code which previously used Freertos to read some sensors with I2C in DMA mode and sending messages over CAN.Unfortunately I'm getting an Hard fault as soon as this function is call...

0693W00000JORuFQAX.png