FORCE Computers SYS68K/ISCSI-1 — SYS68K/ISCSI-1 User's Manual (EN)

4.3.3 Control of the VMEbus Interrupt Requests There is a Bus Interrupter Module 68153 (BIM) included in the SYS68K/ISCSI-l. This device is only accessible from the VMEbus (see chapter 6.6). So, the interrupt levels and vectors can only be programmed by VMEbus masters. The ISCSI-l local software has no influence on this. The local software decides if and on which channel an inter rupt request (IRQ) will be emitted. "There are four channels to output an IRQ, while the BIM can distribute them to the seven IRQ level lines of the VMEbus. The interrupt request signal must be released a very short time after it has been acknowledged. No software is fast enough to do that.

Therefore, the IRQ outputs are handled in flip-flops that are asserted by software via a toggle from the flip-flop clock. The state of the four IRQ flip-flops can be read back by the local CPU. This is absolutely necessary, because a second IRQ can only be started to the same channel after the first has been acknowledged. This affords some dynamic software handling by the local CPU. An IRQ asserted can only be cleared by the interrupt acknowledge cycle or by a SYSRESET* from the VMEbus. The four IRQ channels are associated and controlled by pins of the PI/T device as follows:

VMEbus Default Address BIM Channel Control Reg Address Vector Reg Address Toggle by PI/T Readback of IRQ Flip-Flop state via PI/T ~ $A~~~~l $A~~~~9 PA4 1 $A~~~~3 $A~~~~B PAl PAS 2 PA2 PA6 $A~~~~5 $A~~~~D 3 $A~~~~7 $A~~~~F PA3 PA7 The PI/T pins PA~/PA3 have to be programmed to outputs, PA4/PA7 are inputs. Before writing to the Port A data direction register, $FF has to be written to the Port A data register to avoid an unwanted output pulse.