cancel
Showing results for 
Search instead for 
Did you mean: 

Stm32mp157 SPI A7 example

cfilipescu
Senior

I am looking for an example using spi6 which is only accessible by A7 core. Explicitly how to enable it in the device tree and a quick example for sending a byte.

1 REPLY 1
Olivier GALLIEN
ST Employee

Hi @cfilipescu​ 

For Device Tree setting I guess following pages might help :

https://wiki.st.com/stm32mpu/wiki/SPI_overview

https://wiki.st.com/stm32mpu/wiki/SPI_device_tree_configuration

For quick test you can use the Linux kernel spidev_test tool, source code can be found under tools/spi in Linux kernel.

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.