SPI slave support for nRF52-PCA10040 #spi #nrf52-pca10040
moritzgerlich@...
Hello at all, When i try to setup the spi device as slave as shown at the end of the post, the spi device is Not set up as a spi slave in drivers/spi/spi_nrfx_spis.c but as master in drivers/spi/spi_nrfx_spi.c Does someone know, how to correctly set up the spi device as a slave for the nrf-boards? Thank you very much! CONFIG_SPI_NRFX=y
|
|
Carles Cufi
I am not an expert on SPI, but shouldn’t you enable this: https://github.com/zephyrproject-rtos/zephyr/blob/master/drivers/spi/Kconfig#L25
In your .conf: CONFIG_SPI_SLAVE=y
From: users@... <users@...>
On Behalf Of moritzgerlich@...
Sent: 03 September 2018 14:50 To: users@... Subject: [Zephyr-users] SPI slave support for nRF52-PCA10040 #nRF52-PCA10040 #SPI
Hello at all, When i try to setup the spi device as slave as shown at the end of the post, the spi device is Not set up as a spi slave in drivers/spi/spi_nrfx_spis.c but as master in drivers/spi/spi_nrfx_spi.c Does someone know, how to correctly set up the spi device as a slave for the nrf-boards? Thank you very much! CONFIG_SPI_NRFX=y
|
|