STM32 MCUs products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

GPIO interrupt triggered incorrectly

I am using micro switches in my system with the GPIO EXTI. I would like to detect only the press of the switch, but the interrupt was triggered on both press and release of the switch. The interrupts were even triggered twice on each press and releas...

hchienti_0-1714113986504.png
hchienti by Associate II
  • 95 Views
  • 6 replies
  • 0 kudos

GPIO read correct data

Hi there ! I start a project with STM32G031k8. This board i'm gonna make is  a RS485 slave on the pin 4-5-6-7 of GPIOA i put a dipswitch with pullup resistor , and i read in this way: uint16_t Add = ( 0x00F0 & GPIOA->IDR)>> 4 ;  right now my add is 5...

SGian.1 by Senior
  • 39 Views
  • 2 replies
  • 0 kudos

Resolved! Debouncing

Can anyone help me with debounce code in C for Rising and falling edge interrupt??

sne_123 by Associate III
  • 5572 Views
  • 20 replies
  • 0 kudos

Resolved! STM32L452 LSE & PC13 Errata

Hi We use an STM32L452 with an external LSE (32.786 kHz) oscillator. We would like to use PC13 as a GPIO input with interrupt. In the errata sheet for the STM32L452 (ES0388 Rev9) I find the following entry:“2.2.12 PC13 signal transitions disturb LSED...

MMeie.3 by Associate II
  • 1130 Views
  • 10 replies
  • 0 kudos

How to wake up STM32G070 on EXTI from stop1 mode?

I set up EXTI so I get interupt on the correct pin GPIO B.6. But I cannot get it to wake up from stop1 mode. I call WFI and RTC wakes upp the processor regularly but EXTI will not. Reading the reference manuel it says any interupt should wake the pro...

rickard2 by Associate III
  • 1937 Views
  • 7 replies
  • 0 kudos

stm32h747i-disco writegpio no funtion

i want to add some work on food_recognize.c in fp_AI_VISION ,I want to use CN9 analog to control some leds but it doesn't work in first place. I can't control those pins with writegipo.so far i only see A0 always on and A1-A5 always off. On the same ...

wjian.2 by Associate II
  • 643 Views
  • 9 replies
  • 0 kudos

EXTI0 double interrupt on one edge

I developed a 62.5kbit synchronous self-clocked (similar to SDLC) communication firmware for STM32F412, to be interfaced with an old device via RS485.It works in "bitbanging" using a 16us interrupt timer (TIM11) to sample the bits and EXTI0 (PB0) int...

Guidoted by Associate III
  • 414 Views
  • 8 replies
  • 5 kudos