The camera core module must be set by using the following programming model:
- Configure the interrupt generation as required, using the CC_IRQSTATUS and CC_IRQENABLE registers (most common are overflow and underflow interrupts).
- CC_CTRL_DMA.FIFO_THRESHOLD must be set to a specific value (depending on the DMA module), and CC_CTRL_DMA.DMA_EN must be set to 1 for normal use of the module.
- Configure the CC_CTRL_XCLK.
- Enable the picture acquisition using the CC_CTRL. TI recommends setting CC_FRAME_TRIG and NOBT_SYNCHRO to 1 when CC_EN is set to 1, to start the acquisition. If software only acquires one frame acquisition, use the CC_ONE_SHOT register bit (in this case, the module is automatically disabled at the end of the frame).