I am currently trying to use the CC3200's camera interface to read data from an OV7670 camera. I've been using the camera_application example project as a reference. I've been able to configure the camera to output in QQVGA format, and have observed with a logic analyzer that the camera's VSYNC, HSYNC, and PCLK are being output properly. I've configured the camera interface as follows:
static void CamControllerInit() { MAP_PRCMPeripheralClkEnable(PRCM_CAMERA, PRCM_RUN_MODE_CLK); MAP_PRCMPeripheralReset(PRCM_CAMERA); PRCMCameraFreqSet(2, 1); MAP_CameraReset(CAMERA_BASE); MAP_CameraParamsConfig(CAMERA_BASE, CAM_HS_POL_HI, CAM_VS_POL_LO, CAM_NOBT_SYNCHRO|CAM_PCLK_FALL_EDGE|CAM_IF_SYNCHRO); MAP_CameraXClkConfig(CAMERA_BASE, 120000000,24000000); MAP_CameraIntRegister(CAMERA_BASE, CameraIntHandler); MAP_CameraThresholdSet(CAMERA_BASE, 8); MAP_CameraIntEnable(CAMERA_BASE, CAM_INT_FE); MAP_CameraDMAEnable(CAMERA_BASE); }
However, the camera interface's frame end and dma interrupts do not seem to be triggering. I've set a breakpoint in the CameraIntHandler function, but this point is never reached.
Would anyone have any ideas on how to fix this?