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

I have a problem with EXTI. I have connected switch with EXTI pin. When the switch is pressed first time it light up the led. But when I pressed the same switch second time it does not light up the led.

void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin) { if(GPIO_Pin == GPIO_PIN_10) { Switch10 = 1; HAL_GPIO_WritePin(GPIOB, GPIO_PIN_4, GPIO_PIN_SET); } if(GPIO_PIN == GPIO_PIN_11) { ...

cjaya.1 by Associate II
  • 1163 Views
  • 5 replies
  • 0 kudos

I want to program a 0 to 99 counter with 7 segments but I don't know where I wrote wrong in my code.Thank you for your help.

//////////////////refresh pin HAL_GPIO_WritePin(GPIOA,GPIO_PIN_11,GPIO_PIN_SET); HAL_GPIO_WritePin(GPIOA,GPIO_PIN_11,GPIO_PIN_RESET); HAL_Delay(10); HAL_GPIO_WritePin(GPIOA,GPIO_PIN_12,GPIO_PIN_SET); HAL_GPIO_WritePin(GPIOA,GPIO_PIN_12,GPIO_PIN_RESE...

eab.11 by Associate
  • 2053 Views
  • 4 replies
  • 0 kudos

Resolved! STM32F103 work temperation at -55C

Hi, Now we want to use STM32F103 at -55C ambient temperature, MCUdata sheet say that it work at -40C as datasheet, storage temperature is -60C. My question is that,-If MCU is powered up at -55C, what will be different with>=-40C? Such as clock not st...

kent gu by Associate III
  • 1893 Views
  • 3 replies
  • 1 kudos

Stop STM32L IWDG

Using the IWDG within STM32L452 in its window mode.At some point the application needs to freeze the IWDG module functionality, or as a minimum make it work as in non-window mode.Is this possible? If yes, using which function?Note the I couldn't loca...

IP.2 by Associate II
  • 754 Views
  • 1 replies
  • 0 kudos

Resolved! SysTimer period less than 1 ms

Hello, I am moving from TI DSPs to STM32 MCUs.I would like know if it is possible to configure SysTick timer to generate an interrupt with a period less than 1 ms, as I usually do on TI DSP projects.My doubt comes from UM2319, par 6.1.2:"SysTick time...

CTabo.1 by Senior
  • 1761 Views
  • 4 replies
  • 0 kudos

I'm using STM32F100RBT6. The goal is to use TIM3 CH3 to generate a PWM signal with different duty cycle using DMA transfer.

I have configured TIM3 (using CubeIDE) in such a way that it generates an event that is used to transfer measurements on the ADC channels to memory using DMA. This works.But in the same time, I want to transfer to TIM3 CH3 the values in a table. The ...

costi by Associate III
  • 1407 Views
  • 4 replies
  • 0 kudos

Trying to get SPI slave transmit working in interrupt mode

I took SPI interrupt example from STM32CubeF1 repo. I have two Nucleo-F103RB boards. I am using one board as Master and the other as Slave. If I run the example as is then communication is working as expected. That is data from Master is getting sent...

GdubeyJi by Associate
  • 945 Views
  • 0 replies
  • 0 kudos