Skip to main content
Visitor II
June 15, 2021
Solved

question about STM32MP157C-DK2

  • June 15, 2021
  • 2 replies
  • 1146 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

    PatrickFAnswer
    Technical Moderator
    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.

    Technical Moderator
    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'