Skip to main content
zqizh.1
Associate III
June 15, 2021
Solved

question about STM32MP157C-DK2

  • June 15, 2021
  • 2 replies
  • 1177 views

Hi,

My test kit is STM32MP157C-DK2 and kenerl version is 5.10.10.

I tried to monitor falling edge event on PD.1, with command "gpiomon --falling-edge gpiochip3 1".

It is faile and and the log in the attachment.

Then I disable "hdmi-transmitter@39" in "stm32mp15xx-dkx.dtsi" and comiple it again and replace file in the OS, Then executing command "gpiomon --falling-edge gpiochip3 1" will work correctly.

Please advise why PIN PG.1 interrupt configuration will affect PIN PD.1 interrupt configuration.

Thanks,

QiZhang

This topic has been closed for replies.
Best answer by PatrickF

Hi,

this is due to EXTI constrain on muxing from pins,

See https://wiki.st.com/stm32mpu/wiki/EXTI_internal_peripheral

"Up to 16 GPIO pins can be configured as external interrupts: for each index between 0 and 15, one EXTI can be selected among all banks (EXTI<index> = GPIO<one_bank><index>)."

or Reference Manual

0693W00000Bb6prQAB.pngRegards.

2 replies

PatrickF
PatrickFBest answer
ST Employee
June 16, 2021

Hi,

this is due to EXTI constrain on muxing from pins,

See https://wiki.st.com/stm32mpu/wiki/EXTI_internal_peripheral

"Up to 16 GPIO pins can be configured as external interrupts: for each index between 0 and 15, one EXTI can be selected among all banks (EXTI<index> = GPIO<one_bank><index>)."

or Reference Manual

0693W00000Bb6prQAB.pngRegards.

In order to give better visibility on the answered topics, please click on 'Best Answer' on the reply which solved your issue or answered your question.Tip of the day: Try Sidekick STM32 AI agent
PatrickF
ST Employee
June 16, 2021

In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'

In order to give better visibility on the answered topics, please click on 'Best Answer' on the reply which solved your issue or answered your question.Tip of the day: Try Sidekick STM32 AI agent