Skip to main content
HVerm.3
Associate
September 22, 2022
Question

How to enable SPI-5 in STM32MP1xxx-DK

  • September 22, 2022
  • 1 reply
  • 782 views

Hello All,

We have the STM32MP1xxx-DK. and we had build the image for this board using the steps mentioned on ST wiki to generate the distribution image.

We had build st-image-core as its size is less then Weston image.

We want not to enable the SPI-5 so that we can done some testing on SPI.

Can you please guide us where we need to do changes to enable the spi.

We are new in Linux.

Thanks

This topic has been closed for replies.

1 reply

Olivier GALLIEN
Technical Moderator
October 10, 2022

Hi @HVerm.3​,

You have to enable the SPI-5 instance in DeviceTree board level. (likely using CubeMX)

Please check-out following links :

STM32 MPU device tree - stm32mpu

SPI internal peripheral - stm32mpu

SPI device tree configuration - stm32mpu

Hope it help,

Olivier

Olivier GALLIEN 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.