Interrupt not getting Triggered on STM32MP1
Hi,
I am working on a custom hardware based on STM32MP1 mpu and also uses some other peripherals too. For our use case, we are using Yocto Linux. I am using the pin PA12 as an input GPIO interrupt, configured to trigger for falling edge. The interrupt works fine and gets triggered whenever the pin level goes low.
I need to use an led also as part of the application which is connected on-board to PD12. I opened the /sys/class/gpio/export and write the pin no. to the file and then set the direction as out in direction file.
But when the GPIO pin is enabled, the interrupt is not triggering. When we disable the GPIO pin and test, the interrupt works fine. The same happens if I enable the same pin no. on any GPIO port, whether it is PB12 or PC12 or PF12. I checked the registers also but everything is fine.
Can anyone help me with this issue. I am really stuck with this problem.
| REGISTER | ADDRESS | VALUE | |
| EXTI_FTSR1 | 0x5000D004 | 0x00001000 | |
| EXTI_RTSR1 | 0x5000D000 | 0x0 | |
| EXTI_EXTICR3 | 0x5000D068 | 0x0 | |
| EXTI_EXTICR4 | 0x5000D06C | 0x0 |
