This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC3220SF-LAUNCHXL: Parallel Camera Interface Support

Part Number: CC3220SF-LAUNCHXL
Other Parts Discussed in Thread: CC3220SF

Hello,

I am trying to setup the parallel camera interface on the CC3220SF Launchpad through TI's online PinMux tool. However, when I add the camera interface in PinMux, the CC3220SF_LAUNCHXL.c file does not change at all. I am questioning whether this is correct as it seems like the camera interface would need to be setup somehow. I have looked into the CC32XX SDK and have not found any example code for the parallel camera interface. It is not obvious whether the high level API camera init function in ti/drivers/Camera.c will properly work without some setup elsewhere. 

Does anyone have any advice or suggestions for bringing up this chip's parallel camera interface?

Thanks,

Nicholas Kimball

  • Hi Nicholas,

    The PinMux tool is convenient, but we do occasionally see issues with it. You should always verify the pin muxing from the CC3220 data sheet. I suggest starting from existing CC3220SF_LAUNCHXL.c and .h files and adding your configuration by hand.

    The configuration and hardware attributes are described in the TI Drivers SDK documentation for Camera.h and CameraCC32XXDMA.h. There are also code snippets (docs/tidrivers/doxygen/html/index.html).

    Best regards,
    Sarah
  • Just to be clear, we will need to add MAP_PinTypeCamera calls to the CC3220SF_LAUNCHXL.c file to correctly setup the pin mux and then can call Camera_init() in setup code?

  • Hi Nicholas,

    You should use the Camera_Config struct from the Camera.h documentation and the CameraCC32XXDMA_HWAttrs from the CameraCC32XXDMA.h documentation. Also be sure to define your enum in CC3220SF_LAUNCHXL.h. You can take a look at a similar driver like I2S.

    Best regards,
    Sarah