STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

how to pull down ADC pin?

hi,i am facing problem with ADC, when nothing is connected on ADC pin it still shows count. i thought may be the pin is in float condition. i pulled it down but still its showing counts. cant find the problem. 

CJami by Associate III
  • 3195 Views
  • 6 replies
  • 0 kudos
MYOKO.1 by Associate
  • 513 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
  • 2071 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