| Q |
How does the interrupt arbitration work? |
| A |
The arbitration is done at the rate of the X1 clock and works as follows:
- The IMR allows the interrupt source to enter the arbitration process.
- The interrupt source value is compared with the threshold value. The threshold value can be programmed in the ICR.
- If the source value exceeds the threshold value, the interrupt (IRQN) output will be asserted (low).
- The host either asserts the IACKN or writes at 0x2A to update the CIR value with the interrupt source value.
Here is an example:
The source values are: 0xAD (Receiver B, 5 bytes, without error) and 0x6C (Receiver A, 3 bytes, without error).
If the threshold value in ICR is programmed to 0x40, receiver B interrupts followed by receiver A.
If the threshold value in ICR is programmed to 0x80, receiver B interrupts but receiver A does not (because 0x6C is less than 0x80).
|