How can i enable SPI5 on STM32MP157-DK1
Hi,
Im working with STM32MP157A-DK1 board. Im working on the linux side, need to write C/C++ code for saving data into a SD card. I need to use SPI to get data from RF transceiver. I built linux and kernel as in this link:
Then i looked for articles on SPI, these ones especially :
https://wiki.st.com/stm32mpu/wiki/SPI_overview#Kernel_configuration
https://wiki.st.com/stm32mpu/wiki/How_to_use_SPI_from_Linux_userland_with_spidev#pnl-glhvfb87ri
https://wiki.st.com/stm32mpu/wiki/How_to_build_Linux_kernel_user_space_tools
https://wiki.st.com/stm32mpu/wiki/How_to_cross-compile_with_the_Developer_Package
And to be fair these are really good materials but i cant manage to be able to run spidev_test example.
i did rebuilt kernel , modules and tools ( also used make menuconfig and looked at SPI settings to make sure spi is enabled) , On the board i can see spi driver in this directory "/sys/bus/spi//drivers/" but the" devices/" directory is empty and can't see anything,
EDIT:
I did manage to activate SPI device i was editing the wrong .dts file, after editing stm32mp15x-dkxx.dtsi file i was able to see /spi0.0 device.
but i have another question now.
The GPIO pins for the MISO,MOSI and NSS how do i select them for SPI5 ?
