User Tools

Site Tools


irq_controller

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
irq_controller [2025/04/14 00:02] arisoturairq_controller [2025/05/16 22:33] (current) arisotura
Line 94: Line 94:
 In practice, some IRQ lines likely stay active only for a very short time, while others will stay active as long as the underlying IRQ conditions are met (ie. from hardware components that have their own IRQ status registers; the IRQ line may stay active until the IRQ status register is cleared). In practice, some IRQ lines likely stay active only for a very short time, while others will stay active as long as the underlying IRQ conditions are met (ie. from hardware components that have their own IRQ status registers; the IRQ line may stay active until the IRQ status register is cleared).
  
-IRQ trigger type seems to detect a rising edge in the IRQ line, but the IRQ controller fails to fully process and signal the IRQ if the line doesn'stay active long enough.+IRQ trigger type seems to fail to register an interrupt when the pulse is too short (ie. doesn'work for VBlank IRQ).
  
 The trigger type might also play a role in whether/how the IRQ line is buffered or treated? Values 0-7 are possible. Different values affect the different bits (8/12/13/14) in the IRQ enable registers. Some values don't work at all. The trigger type might also play a role in whether/how the IRQ line is buffered or treated? Values 0-7 are possible. Different values affect the different bits (8/12/13/14) in the IRQ enable registers. Some values don't work at all.
 +
 +Typically, it seems that 1 is used for IRQ sources that are "self-acknowledging" (ie. VBlank, timers, DMA, ...), and 5 is used for IRQ sources that need explicit acknowledgement (ie. SPI, I2C, audio, ...).
  
  
Line 128: Line 130:
 | 0x01      | 1       | Timer 1 | | 0x01      | 1       | Timer 1 |
 | 0x02      | 1       | SDIO | | 0x02      | 1       | SDIO |
-| 0x03      | 5       ??? +| 0x03      | 5       UART0 
-| 0x04      | 5       ??? +| 0x04      | 5       UART1 
-| 0x05      | 5       UART |+| 0x05      | 5       UART2 |
 | 0x06      | 5       | SPI | | 0x06      | 5       | SPI |
 | 0x07      | 5       | SPI related? | | 0x07      | 5       | SPI related? |
Line 142: Line 144:
 | 0x0F      | 5       | I2C | | 0x0F      | 5       | I2C |
 | 0x10      | 5       | vcapt/camera | | 0x10      | 5       | vcapt/camera |
-| 0x11      | 5       vcapt/camera +| 0x11      | 5       H264 encoder 
-| 0x12      | 5       vout |+| 0x12      | 5       H264 decoder |
 | 0x13      | 5       | ??? | | 0x13      | 5       | ??? |
-| 0x14      | 5       vcapt/camera |+| 0x14      | 5       Camera controller |
 | 0x15      | 1       | VBlank end | | 0x15      | 1       | VBlank end |
 | 0x16      | 1       | VBlank start | | 0x16      | 1       | VBlank start |
irq_controller.1744588925.txt.gz · Last modified: 2025/04/14 00:02 by arisotura

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki