This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

SPI Master Example Fix

Hello,

i built a SPI Master example based on this:SPI Master example

The example is a bit outdated and needed some rework and fix to work. I don't know if i am missing something, but SES complains and refuse to open the example because of some lack of coherence between overlay files and dts configurations. To make it work i had to modify the file:

..\nRF\ncs\zephyr\dts\bindings\spi\nordic,nrf-spim.yaml

In particular, this is how my yaml file is now:

With this modification and some minor changes to code and prj.conffile, adding a jumper wire between pin 11 and 12, the loopback example works with actual SDK. I can share the full project if needed.

Frax