SPRUIE9D May 2017 – May 2024 DRA74P , DRA75P , DRA76P , DRA77P
This section describes the interrupt events that can trigger the CAL_B_IRQ signal (see also Section 9.2.2.1, CAL Main Integration Attributes). The CAL_B_IRQ is merged at ISS top level IRQ merger.
The CAL does not provide an event to detect Attribute Payload data at low level protocol level. Attribute data can only be sent to memory and therefore software can use the IRQ_WDMA_START / END events detected by the WR_DMA block.
Event | Description |
---|---|
IRQ_WDMA_STARTx x= [0 ... CAL_HL_HWINFO[18:13] WCTX - 1] | Frame start. Triggered by the write DMA when a data word tagged as ATT_HDR_S, ATT_DAT_S, CTRL_HDR_S, PIX_HDR_S or PIX_DAT_FS has been detected by the write DMA. Typically used by SW to detect when shadowed registers can be updated for the next frame. Refer to section Section 9.2.3.10, CAL Write DMA, for more details. |
IRQ_WDMA_ENDx x= [0 ... CAL_HL_HWINFO[18:13] WCTX - 1] | Frame end. Triggered by the write DMA when the FE tag has been received by the cropping stage and the last data of the last line has been sent to memory. Therefore, this event may be triggered after the last data has been written to memory when data has been discarded by the cropping feature. The FE corresponds to a data word tagged as ATT_HDR_E, ATT_DAT_E, CTRL_HDR_E, PIX_HDR_E, PIX_DAT_FE or FE_CODE. Typically used by SW to detect when all data of a header, attribute packet, control packet or pixel frame has been written to memory. This event is triggered when the last OCP transaction has been sent to memory but before the response for this OCP transaction has been received from the target. Therefore, there is a small delay between the moment where the event is triggered and the last data can be read back from the buffer. Typically that delay is compensated by IRQ detection latencies. |
IRQ_WDMA_CIRCx x= [0 ... CAL_HL_HWINFO[18:13] WCTX - 1] | Circular event. Triggered when the number of lines defined by CAL_WR_DMA_OFST_k[23:22] CIRC_MODE has been sent to the OCP master port. |
Event | Description |
---|---|
IRQ_RDMA_END | The RD_DMA has read a complete frame and send all data to the CAL processing pipeline. This event is triggered when data has been sent to the processing pipeline, not when it is fully processed and sent to memory / BYS port / video port. |
IRQ_RDMA_CIRC | Circular event. Triggered when the number of lines defined by CAL_RD_DMA_CTRL2[2:0] CIRC_MODE register bit-field has been received from the OCP master port. |
Event | Description |
---|---|
IRQ_LINE_NUMBER | Line number reached. The line number programmed in CAL_LINE_NUMBER_EVT[29:16] LINE register bit-field) is received on CPORT # CAL_LINE_NUMBER_EVT[4:0] CPORT. |
Event | Description |
---|---|
IRQ_VPORT_EOF | Event triggered when data tagged as PIX_DAT_FE is sent to the video port . Typically used by SW to detect when all data has been sent to the video port. |
Event | Description |
---|---|
IRQ_BYSOUT_EOF | Event triggered when data tagged as PIX_DAT_FE are sent to the BYS output port. Typically used by software to detect when all data has been sent to the BYS output port. |
IRQ_BYSOUT_VBLANK_END | Event triggered when the BYS output port finishes generation of the vertical blanking. |
IRQ_BYSIN_SOF | Event triggered when data tagged as PIX_DAT_FS are received on the BYS input port. Typically used by software to detect when a new frame is received on the BYS input port. |
IRQ_BYSIN_EOF | Event triggered when data tagged as PIX_DAT_FE are received on the BYS input port. Typically used by software to detect when all data has been received on BYS input port. |
IRQ_BYSIN_OVR | Data has been discarded on the BYS input port because it has arrived at a faster rate than what the video port and/or the Write DMA can handle. That issue occurs when the video port pixel clock is lower than the pixel clock from the BYS input port or the WR_DMA buffer is full because of long latencies on OCPO. |
On CAL level the various interrupt events trigger IRQ signals, if they have been enabled using the CAL_HL_IRQENABLE_SET_j register. The status can be read from the CAL_HL_IRQSTATUS_j register. The event-to-register mapping is shown in Figure 9-11. All events are merged into a single CAL_IRQ signal available at CAL boundary.