Resolved! Why a program stucks(even systick timer interrrupt is not coming ) while waiting for an GPIO input
I am using STM32L072RB MCU is in while loop of main function. with Timer6(for Blinking and LED every 2sec) and systick timer is running.Now i call function : adc_spi_chip().I am waiting for PA2 pin to become low but i found that waiting for it using ...