Skip to main content
Visitor II
May 15, 2025
Question

STM32MP257F-DK Yocto SPI

  • May 15, 2025
  • 1 reply
  • 422 views

Hi,

I have STM32MP257F-DK and Yocto linux installed to it.
I have tried to get spidev working on SPI6, but no luck so far.
/dev/spidev6.0 won't appear to filesystem.

Has anyone tried this combo and got it working?

Any working SPI configuration would be highly appreciated.

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    May 20, 2025

    Hello @nh7 ,
    What did you do to make spidev work on your system ? 
    spidev would certainly need a device tree modification with a specific compatible to get a new entry in sysfs. 

    Please take a look at the way to process here: https://wiki.st.com/stm32mpu/wiki/How_to_use_SPI_from_Linux_userland_with_spidev

    Kind regards,
    Erwan.