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

STM32U585 - Wakeup reason detection when exiting shutdown

Hi, Im trying to get WUP reason after the MCU exited the shutdown. I'm using pushbutton connected to PC5 pin to wake up the MCU. I cannot get the WUP flag to behave correctly. Sometimes it is present, sometimes not. This feature is part of bigger pro...

DHečk.1 by Associate
  • 1409 Views
  • 4 replies
  • 0 kudos

I am trying to simply turn PA0 HI on an STM32F030F4P6 using Cube IDE. No matter what I do, if I try to write to any GPIO registers (including using the auto generated Inits), I get a Hard Fault. Nothing solves it :(

I am trying to simply turn PA0 HI on an STM32F030F4P6 using Cube IDE.No matter what I do, if I try to write to any GPIO registers (including using the auto generated Inits), I get a Hard Fault. Nothing solves it :( Tried debugging it, no matter what...

BBrow.2 by Associate III
  • 3210 Views
  • 18 replies
  • 0 kudos

STM32G0x1 Alternate Functions Clarification

I am designing a board and would like to use the 32 bit timer (TIM2) in encoder mode. Per the block diagram in RM0444:the inputs to the encoder interface are T1FP1 and TI2FP2, which originate from TIM2_CH1 and TIM2_CH2 (highlighted in yellow). It a...

0693W00000QKVEwQAP.jpg 0693W00000QKVF6QAP.jpg
SHobb.1 by Associate III
  • 3125 Views
  • 7 replies
  • 0 kudos

How to stop and then re-start one-shot timer?

I am working on the STM32L4S9AII6 MCU. I have timer 6 configured in 1 shot count up mode. Interrupt is enabled. How do I stop a one-shot timer that is already running? I've tried a bunch of things but no matter what I do I can't get the timer to work...

0693W00000WLMEFQA5.png 0693W00000WLMFwQAP.png 0693W00000WLMGQQA5.png 0693W00000WLMGfQAP.png
MFolk.1 by Senior
  • 8333 Views
  • 2 replies
  • 0 kudos

X-NUCLEO-IDB05A2 not working, stuck on SPI_Reset on STM32F746ZG

Hi all, hope all is well. I've been trying to learn the STM32 by creating a project for myself, and I am stuck on the bluetooth portion of things. I have watched videos, read documentation, etc, and I just don't know where I'm going wrong. I've been ...

TC2 by Associate II
  • 2521 Views
  • 6 replies
  • 0 kudos

spi5 will not do less then 8 multiplier.

I set up my spi5 as follows hspi5.Init.Mode = SPI_MODE_MASTER; hspi5.Init.Direction = SPI_DIRECTION_2LINES; hspi5.Init.DataSize = SPI_DATASIZE_8BIT; hspi5.Init.CLKPolarity = SPI_POLARITY_LOW; hspi5.Init.CLKPhase = SPI_PHASE_2EDGE; hspi5.Ini...

ulao by Associate III
  • 1129 Views
  • 9 replies
  • 0 kudos

I am using STM32L443 processor. When the processor is locked, I reset the processor with NRST with external wdg. The processor is not reset although WDG is working properly.

I checked WDG. The system is working properly. If there is no reset, it resets when I disable the WDG signal. In case of deadlock, I pull to GND myself, but it still does not reset. The only solution is to cut off all energy.

OŞeno.1 by Associate II
  • 1497 Views
  • 5 replies
  • 0 kudos