The SPISlave class doesn't seem to have an .attach method that will allow me to hook in an interrupt routine.
I have found code snippets that allow me to set up the NVIC and create SPI_IRQHandler() but I can't convince myself that the SPISlave class will generate interrupts. I haven't found any way to get down to the hardware registers and set up the SPI gadget directly. I really don't need the class if I can get down far enough.
Any suggestions on how I can get down to the hardware? I don't need much, just receive the incoming stream byte by byte and generate interrupts. This stream is placed in a rather large queue, processed as required and, finally, sent out over TCP. I have the TCP client working.
Richard
The SPISlave class doesn't seem to have an .attach method that will allow me to hook in an interrupt routine.
I have found code snippets that allow me to set up the NVIC and create SPI_IRQHandler() but I can't convince myself that the SPISlave class will generate interrupts. I haven't found any way to get down to the hardware registers and set up the SPI gadget directly. I really don't need the class if I can get down far enough.
Any suggestions on how I can get down to the hardware? I don't need much, just receive the incoming stream byte by byte and generate interrupts. This stream is placed in a rather large queue, processed as required and, finally, sent out over TCP. I have the TCP client working.
Richard