Hi,
could you provide me an example codes for SPI (serial peripheral communication), SPIM(serial peripheral communication master) and SPIS(serial peripheral communication slave) for nRF5340 SoC.
Thanks & Regards,
Srinivas.
Hi,
could you provide me an example codes for SPI (serial peripheral communication), SPIM(serial peripheral communication master) and SPIS(serial peripheral communication slave) for nRF5340 SoC.
Thanks & Regards,
Srinivas.
You get that error because you did not add the changes mentioned in the second thread I linked.
As per your mentioned , I have added changes . now it's compiled . i have a one doubt why we need to add separately manual isr setup function. is it implemented in the SPI driver?
No, the driver will only enable the interrupt, you need to connect the handler to the interrupt.
Note that there is also a built-in SPI driver in Zephyr that you can use, if you do not want to use the nrfx_spim/spis drivers directly.
Do you have any example codes with built-in SPI driver in Zephyr ? .
please let me know how can we do SPI configuration and pin settings.
See this post.
we have two ports for nRF5340 which port 0 and port 1.
In SPI master code , where port is defined in the code.
we have two ports for nRF5340 which port 0 and port 1.
In SPI master code , where port is defined in the code.