Hello,
I need an example for using the spi in zephyr and how to change the pins if necessary.
Where can I find it?
Thank you
Hello,
I need an example for using the spi in zephyr and how to change the pins if necessary.
Where can I find it?
Thank you
Hello,
Yes, there are a bunch of examples from Zephyr showing the usage of the SPI interface API.
You could for instance have a look at the SPI drivers of the BM280 sample.
For changing pins you can use a devicetree overlay file.
Regards,
Markus
Hi Markus,
Hi Markus,
thanks for your help, but still i can't understand how to open the SPI2, using the functions you suggest. An example is available that uses these functions.
Thanks in advance.
Fausto
Hi Markus,
Hi Markus,
thanks for your help, but still i can't understand how to open the SPI2, using the functions you suggest. An example is available that uses these functions.
Thanks in advance.
Fausto