This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

NRF51822 Interrupt Service Routine handling

Hello, I was using wiringPiSPI() to connect via SPI and so i was using wiringPiISR function to create an interupt handler that will do callback to the user suplied function. Now I moved to module with NRF architecture. How can I handle interuptions the way i was doing it on the Raspberry PI? I'm using spi_master.h to connect via SPI. Is there any ready to use ISR handle the way it was made on Raspberry?

Parents
  • I have spi_master.h so I am using your SDK that provide SPI connection. To create my SPI connection i was using the same website as you sent. Yes, master always initiate the data transmission, but slave can make interrupts and I don't know exactly how coordinate the data transmission. Maybe there are funtions that in SDK that would be helpful to me?

Reply
  • I have spi_master.h so I am using your SDK that provide SPI connection. To create my SPI connection i was using the same website as you sent. Yes, master always initiate the data transmission, but slave can make interrupts and I don't know exactly how coordinate the data transmission. Maybe there are funtions that in SDK that would be helpful to me?

Children
No Data
Related