- Set the CC_CTRL.CC_EN and CC_CTRL.CC_FRAME_TRIG bits to 0, thus stopping the data flow from the image sensor.
- Clear the interrupt by writing 1 to the CC_IRQSTATUS.FIFO_UF_IRQ bit.
- Reset FIFO pointers and internal camera core state machines by writing 1 to the CC_CTRL.CC_RST bit.
- 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.