Ask questions, find answers, and share insights on STM32 products and their technical features.
Hi I am the new for stm32 I use perih. library for stm32f0. Could you show using register not hal libraryMy code is like belowvoid TIM1_BRK_UP_TRG_COM_IRQHandler(){ if(TIM_GetITStatus(TIM1,TIM_IT_Trigger) != RESET){ if((TIM1->CR1 &TIM_CR1_URS )== RE...
I want to clear all pending interrupts in my bootloader before jumping to the user application, otherwise an interrupt will remain pending and therefore other interrupts wouldn't be triggered in the user application.After reading the Cortex-M datashe...
I am working on power management and I put MCU in sleep mode (no low-power), but it doesn't wake up when it receives a CAN frame, it stays in sleep mode. I would like any CAN frame to wake up the MCU.To switch to sleep mode I use :HAL_SuspendTick(); ...
ST is unveiling STM32 Hotspot on GitHub, which comprises repositories developed by ST employees for demos or example features that are not part of the official ST GitHub page or the traditional STM32Cube ecosystem on ST.com.Developers now have access...
below are the codes(0x0801E000U) which is used for jump:#define PROJ1_FLASHADDR 0x08000000U#define PROJ2_FLASHADDR 0x0801E000U __disable_irq(); /* Get the main application start address */ uint32_t jump_address = *(__IO uint32_t *)(PROJ1_FLASHADDR + ...
We are using STM32G0B1CBT MCU in our product. We assembled 10 pieces and out of 10, 2 devices are randomly going in hard fault sometime instantly after reset and sometime even after 1 hour. What would be the cause? What measures should be taken to re...
Hi,I'm using the UART functionality in NUCLEO-H745ZI-Q board. I want to transmit with UART polling and receive with interrupt. Every time I am able to transmit the characters on to the putty but sometimes receive interrupt is not working. I'm using H...
I am using stm32f030 Tim1
I have connected an external clock to TIM1 and I want to count the values where the counter register is overflow with interrupt. My code is like this, but it doesn't work. TIM_ICInitStructure.TIM_Channel = TIM_Channel_2; TIM_ICInitStructure.TIM_ICP...