By using an own Interrupt line for every SPI Channel this INT will signal when the Chip-Register is ready to read (or write). But this Interrupt-SubRoutine so has to do it´s job as fast as possible. Their last line is an Return-from-INT. This enables all other Interrupts again. So maybe you need an little FirstIN-FirstOut-Buffer for every SPI-Channel if you can`t compute the received Data in this Time. The INT Routine has to be shorter to have an Chance to readout the other INT-Routines so they do not overflow from their own received Data.
Should be possible. But the INT Routines are not so easy to understand and develop. But if you get them to work correctly they do it in Background and with highest Priority and disturb nothing.
keep on. Holger
Should be possible. But the INT Routines are not so easy to understand and develop. But if you get them to work correctly they do it in Background and with highest Priority and disturb nothing.
keep on. Holger