This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Request sample project for interrupt based SPI

Hi,

I am using an nrf52833-dk for development, and I need to work out interrupt based SPI.
Can you kindly point me to an nCS based sample project for interrupt based SPI with all the configurations prl.conf, .overlay, main.c and the code..?!

Thanks in advance,

Parents Reply
  • Hello Amanda,

    I can see that for the example suggested 

    this sample

    GPIO interrupt is configured based on which SPIM or UART operations are being performed.

    Rather, I was looking at SPI interrupts, now for example,

    1. Do nordic boards provide SPI interrupt enable register, to enable interrupts over SPI TX & SPI RX operations..?

    2. If not, can we write "IRQ_Connect( )" externally to generate an interrupt for events on SPI TX-RX buffers, So that based on that interrupt, i can perform SPI operations like SPI_Transceive( ),..?

    Now, does doing point number 2, make any sense..?
    Since nordic SPI driver is already working on DMA.

    So I want to understand from SPI interrupts perspective. So that I can exploit interrupts for SPI operations, rather than polling on SPI buffers continually.

    Kindly suggest.

    Thanks,

Children
Related