Method to minimize the number of IRQ lines from peripherals to one wire
First Claim
1. A master device, comprising:
- a first interface to a single line interrupt request (IRQ) bus to which one or more slave devices are coupled;
a second interface to a control data bus to which the one or more slave devices are also coupled; and
a processing circuit coupled to the first interface and the second interface, the processing circuit adapted to;
group the one or more slave devices into one or more groups, where each group is associated with a different IRQ signal;
monitor the IRQ bus to ascertain when an IRQ signal is asserted by at least one slave device;
when two or more slave devices have asserted the IRQ signal concurrently on a same wire, select for interrupt service a group with which the at least one of the two or more devices is associated based on duration of assertion of the IRQ signal; and
scan the slave devices of the identified group to ascertain an asserting slave device which asserted the IRQ signal on the IRQ bus, wherein each of the slave devices is configured to unilaterally drive the IRQ bus asynchronously with respect to the master device.
1 Assignment
0 Petitions
Accused Products
Abstract
A master device is provided which is coupled to a shared single line interrupt request (IRQ) bus and a control data bus. The master device group slave devices coupled to the shared single line IRQ bus into one or more groups, where each group is associated with a different IRQ signal. The master device then monitors the IRQ bus to ascertain when an IRQ signal is asserted by at least one slave device. The master device then identifies a group to with which the IRQ signal is associated. The slave devices for the identified group are then scanned or queried by the master device to ascertain which slave device asserted the IRQ signal on the IRQ bus. Each group uses a distinguishable IRQ signal to allow the master device to ascertain which group to query or scan.
26 Citations
30 Claims
-
1. A master device, comprising:
-
a first interface to a single line interrupt request (IRQ) bus to which one or more slave devices are coupled; a second interface to a control data bus to which the one or more slave devices are also coupled; and a processing circuit coupled to the first interface and the second interface, the processing circuit adapted to; group the one or more slave devices into one or more groups, where each group is associated with a different IRQ signal; monitor the IRQ bus to ascertain when an IRQ signal is asserted by at least one slave device; when two or more slave devices have asserted the IRQ signal concurrently on a same wire, select for interrupt service a group with which the at least one of the two or more devices is associated based on duration of assertion of the IRQ signal; and scan the slave devices of the identified group to ascertain an asserting slave device which asserted the IRQ signal on the IRQ bus, wherein each of the slave devices is configured to unilaterally drive the IRQ bus asynchronously with respect to the master device. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method operational on a master device, comprising:
-
grouping slave devices coupled to a shared single line interrupt request (IRQ) bus into one or more groups, where each group is associated with a different IRQ signal; monitoring the IRQ bus to ascertain when an IRQ signal is asserted by one or more of the slave devices; when two or more slave devices have asserted the IRQ signal concurrently on a same wire, selecting for interrupt service a group with which the at least one of the two or more devices is associated based on duration of assertion of the IRQ signal; and scanning at least one slave device in the identified group to ascertain an asserting slave device that asserted the IRQ signal on the IRQ bus, wherein each of the slave devices is configured to unilaterally drive the IRQ bus asynchronously with respect to the master device. - View Dependent Claims (9, 10, 11, 12, 13, 14, 15)
-
-
16. A slave device, comprising:
-
a first interface to a single line interrupt request (IRQ) bus to which a master device is coupled, wherein the slave device is configured to unilaterally drive the IRQ bus asynchronously with respect to the master device; a second interface to a control data bus to which the master device is also coupled; and a processing circuit coupled to the first interface and the second interface, the processing circuit adapted to; obtain a group assignment from a master device, wherein the group assignment identifies one group from a plurality of groups, each group being associated with a different IRQ signal; monitor the IRQ bus to ascertain whether an IRQ signal is asserted by another slave device; and assert a first IRQ signal on the IRQ bus when no other IRQ signal is asserted on the IRQ bus. - View Dependent Claims (17, 18, 19, 20, 21, 22)
-
-
23. A method operational on a slave device, comprising:
-
obtaining a group assignment from a master device, wherein the group assignment identifies one group from a plurality of groups, each group being associated with a different interrupt request (IRQ) signal; monitoring a single line IRQ bus to ascertain whether an IRQ signal is asserted by a different slave device; and asserting a first IRQ signal on the IRQ bus when no other IRQ signal is asserted on the IRQ bus, wherein the slave device is configured to unilaterally drive the IRQ bus asynchronously with respect to the master device. - View Dependent Claims (24, 25, 26, 27, 28)
-
-
29. A master device, comprising:
-
a first interface to a single line interrupt request (IRQ) bus to which one or more slave devices are coupled; a second interface to a serial data bus to which the one or more slave devices are also coupled; and a processing circuit coupled to the first interface and the second interface, the processing circuit adapted to; group the one or more slave devices into one or more groups, where each group is associated with a different IRQ signal; monitor the first interface to ascertain when an IRQ signal is asserted by at least one slave device; identify a group with which the IRQ signal is associated; and scan the slave devices of the identified group to ascertain an asserting slave device which asserted the IRQ signal on the IRQ bus, wherein each of the slave devices is configured to unilaterally drive the IRQ bus asynchronously with respect to the master device, wherein each of the one or more slave devices coupled to the serial data bus is configured to assert the IRQ signal on the IRQ bus after confirming that the IRQ bus is idle.
-
-
30. A slave device, comprising:
-
a first interface to a single line interrupt request (IRQ) bus to which a master device is coupled, wherein the slave device is configured to unilaterally drive the IRQ bus asynchronously with respect to the master device; a second interface to a serial data bus to which the master device is also coupled; and a processing circuit coupled to the first interface and the second interface, the processing circuit adapted to; determining a group assignment for the slave device, wherein the group assignment identifies one group from a plurality of groups, each group being associated with a different IRQ signal; confirm that the IRQ bus is idle; and assert a first IRQ signal after confirming that the IRQ bus is idle.
-
Specification