www.ti.com
Programming Model
495
SWRU543–January 2019
Submit Documentation Feedback
Copyright © 2019, Texas Instruments Incorporated
Parallel Camera Interface Module
14.4.3 Disable the Picture Acquisition
To end the picture acquisition, set the CC_CTRL.CC_EN to 0 in conjunction with setting
CC_CTRL.CC_FRAME_TRIG to 1, to properly disable the frame acquisition. In that case, the camera core
ends the current frame at the end, or stops immediately if there is no frame ongoing.
14.5 Interrupt Handling
14.5.1 FIFO_OF_IRQ (FIFO Overflow)
1. Set CC_CTRL.CC_EN and CC_CTRL.CC_FRAME_TRIG bits to 0, thus stopping the data flow from
the image sensor.
2. Clear the interrupt by writing 1 to the CC_IRQSTATUS.FIFO_OF_IRQ bit.
3. If the CC_CTRL_DMA.DMA_EN bit is set to 0, the CPU may keep reading the FIFO_DATA register, or
stop reading. If the CC_CTRL_DMA.EN bit is set to 1, the CPU may stop the DMA, or let it run until
there are no more DMA requests.
4. Reset FIFO pointers and internal camera core state machines by writing 1 to the CC_CTRL.CC_RST
bit.
5. Set the CC_CTRL.CC_EN bit to 1, to re-enable the data flow from the image sensor.
If an overflow occurs, the entire data flow path must be reset to restart cleanly.
14.5.2 FIFO_UF_IRQ (FIFO Underflow)
1. Set the CC_CTRL.CC_EN and CC_CTRL.CC_FRAME_TRIG bits to 0, thus stopping the data flow
from the image sensor.
2. Clear the interrupt by writing 1 to the CC_IRQSTATUS.FIFO_UF_IRQ bit.
3. Reset FIFO pointers and internal camera core state machines by writing 1 to the CC_CTRL.CC_RST
bit.
4. Set the CC_CTRL.CC_EN bit to 1, to re-enable the data flow from the image sensor.
If an underflow occurs, the entire data flow path must be reset to restart cleanly.