cancel
Showing results for 
Search instead for 
Did you mean: 

How to enable SPI-5 in STM32MP1xxx-DK

HVerm.3
Associate

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

1 REPLY 1
Olivier GALLIEN
ST Employee

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.