How to read push button long press and short press using timer and counter ?
Hi, I am new to this STM32 development. I am using STM32F051R8Tx board and STM32CubeIDE. I want to read the push button for long press and short press how to do this?
Ask questions, find answers, and share insights on STM32 products and their technical features.
Hi, I am new to this STM32 development. I am using STM32F051R8Tx board and STM32CubeIDE. I want to read the push button for long press and short press how to do this?
Hello community,I am trying to write time critical code which involves an STM32f412ZG Nucleo 144 board and a RPi communicating over SPI protocol. I have an IMU sensor communicating to STM32 board via I2C interface. I have 3 tasks, which function as ...
I am working on STM32H7 (Cortex-M7) and using IWDG for monitoring. I am wondering if there is a way to record Cortex-M7 CPU registers (General Purpose (Rx), SP, LR and PC) when IWDG runs out. Either before or after the reset.I understand the RCC regi...
Hi,I am working on interfacing IS25LP128 128Mbit QSPI Flash with STM32H743 Nucleo board. I am running into problem with how the QSPI controller is driving the NCS line. The flash requires that the chip select remains low between command and data read...
Hi,I am trying to implement CAN interface in STM32F072RBT6System clock speed - 8MHzBaud rate for CAN - 500KbpsPrescalar - 1CAN peripheral clock speed - 8 MHzso TQ - 16I have set the Time quanta seg1 - 9 Time quanta seg2 - 6 ...
Hello,So I have a project which uses STOP mode with RTC+EINT pins for wakeup. However I have a situation where I want one of the interrupts to not wake up the device- just set a flag and return to STOP mode. I know there is HAL_PWR_EnableSleepOnExit(...
Hello,On my custom-designed PCB, I use STM32F767 ADC for acquisitIon analog signal input in DMA mode. My method is collecting data that running the code in Keil IDE debug mode and then export the converted digital values in a .txt file with a .ini fu...
I am able to open an example project and debug that without issues. I have tried regenerating my project, generating a new project, and even reinstalling the tool and generating a new project, but I still get the same error on debugging. I can still ...
hello,I am using stm32l0 in low power modeconfigure RTC to wakeup from stop mode each 10 sec , I use LPTIM to generate PWMmy problem is that I noticed the led is starting to blink for every 10 sec +- after a while what seems to be the problem? ( I ...
Hello there. For some time now, STM32F0 and STM32F1 series many MCUs have been experiencing stock problems. STM32F030, STM32F042, STM32F072 and STM32F103 series many mcu have stock problems. It seems that there is no stock at suppliers like Digikey,...