Ask questions, find answers, and share insights on STM32 products and their technical features.
Hello guys, I have a problem with my project. I'm development the PS/2 (device, keyboard-like) protocol with my STM32F103C8T6 (Bluepill). When i convert my port to the open collector output, the noise appear in the PS/2 bus. In this moment, the STM32...
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...
Hi,on STM32H7 I want to divide 25600/1000 - I get always result = 25. Why? What I do wrong?double freq; int odr=25600; freq = (double) (odr)/1000;Thank you
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...
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...
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...
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 ...
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...