Skip to main content
cfilipescu
Senior
September 11, 2019
Question

Stm32mp157 SPI A7 example

  • September 11, 2019
  • 1 reply
  • 996 views

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.

This topic has been closed for replies.

1 reply

Olivier GALLIEN
Technical Moderator
September 25, 2019

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.