Skip to main content
Associate II
May 15, 2025
Question

STM32MP257F-DK Yocto SPI

  • May 15, 2025
  • 1 reply
  • 423 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.

1 reply

Erwan SZYMANSKI
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.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.