Hi, I'm trying to implement a specific communication protocol using the SPI on a nRF51822. The SPI on nordic side will act as slave. When CSN line goes low, I will also need to do other processing (setup other GPIO pins to indicate specific states).
Is there a way to setup CSN line to also trigger an event by using GPIOTE? According to the documentation, when the pin is controlled by GPIOTE, other operations on that pin will have no effect.
If the pin cannot be used like that, is there a way for the SPIS to not use CSN line? Act like it's the only slave on the SPI and get data on each CLK edge (ignoring the CSN line)?
Thank you