Mon Feb 13, 2017 12:02 am
Just a high -level view (You will find no details here)
This may sound weird but that is extremely difficult on the Pi.
The peripherals are primarily connected to the GPU. Passing an interrupt to the ARM is possible but
not trivial. Also due to re-design the interrupts on the ARM are different between Pi A,B,B+ and Pi2 and Pi3.
(Sending an interrupt to a single core is different then to send one to a multi core system)
First question to answer is for which Pi is this, then look up the specific documentation about how the
ARM cores are integrated in the Pi with the GPU, especially the interrupt section.
(Which is not the greatest document in the world, I know)
Also you must make sure the GPU does NOT get the interrupt
otherwise both will start servicing it. I have no idea how to do the latter.
All software, I know only about hardware.