Hello ! How can I configure nrf_drv_spi with me writing the CS pin to LOW and HIGH whenever I want to address a different peripheral ?
Hello ! How can I configure nrf_drv_spi with me writing the CS pin to LOW and HIGH whenever I want to address a different peripheral ?
You can define the SS pin as not connected
NRF_SPIS_PIN_NOT_CONNECTED
See
infocenter.nordicsemi.com/index.jsp
Then use GPIO in you code to assert the CS pin youself before calling the nrf_drv_spi_transfer and clear it in the completion callback etc.
Can I just use GPIO function to set or clear the CS pin ONCE in the beginning since I have only one SPI slave device connected my MCU?
Can I just use GPIO function to set or clear the CS pin ONCE in the beginning since I have only one SPI slave device connected my MCU?