Hi,
does a code example or app-note exists that describes how to configure the SPI peripheral to use an ISR to transmit data to a SPI slave?
Thank you in advance!
Hi,
does a code example or app-note exists that describes how to configure the SPI peripheral to use an ISR to transmit data to a SPI slave?
Thank you in advance!
I have recently coded it, the easiest way is to inspire yourself from the file found at this path: C:\Nordic Semiconductor\nRF51 SDK_v4.4.0.30888\Nordic\nrf51822\Source\app_common\app_uart.c it uses interrupts for UART communication which is transposable to SPI.
At what frequency do you want to use the SPI?
Unless you plan to run the SPI at a slow rate using an ISR will just slow down the transaction.