Skip to main content
Visitor II
October 7, 2024
Solved

QSPI Initialization Issue on STM32MP135F-DK Board

  • October 7, 2024
  • 1 reply
  • 816 views

Hi all,

We are currently trying to add a QSPI device to the STM32MP135F-DK board. Using STM32CubeMX, we selected PB2, PF8, PF9, and PF10 as the QSPI pins and generated the Device Tree accordingly. We then built the image using openstlinux-6.1-yocto-mickledore-mpu-v24.06.26.

However, the QSPI initialization failed, and we encountered the following messages during boot:

[ 0.623919] stm32mp135-pinctrl soc:pinctrl@50002000: Can't access gpio 88
[ 0.623944] stm32mp135-pinctrl soc:pinctrl@50002000: request() failed for pin 88
[ 0.623953] stm32mp135-pinctrl soc:pinctrl@50002000: pin-88 (58003000.spi) status -13
[ 0.623964] stm32mp135-pinctrl soc:pinctrl@50002000: could not request pin 88 (PF8) from group PF8 on device soc:pinctrl@50002000
[ 0.623974] stm32-qspi 58003000.spi: Error applying setting, reverse things back
Additional information: We are using SD boot. To address the absence of PWR_WKUP caused by the reassignment of PF8, we replaced it with PI3.

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

    The problem has been solved, please refer to https://wiki.st.com/stm32mpu/wiki/How_to_configure_PWR_Wake-up_pins.

    1 reply

    DetroisAuthorAnswer
    Visitor II
    October 9, 2024

    The problem has been solved, please refer to https://wiki.st.com/stm32mpu/wiki/How_to_configure_PWR_Wake-up_pins.