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.

Image capturing using OV7670 camera module and CC1352 board

Other Parts Discussed in Thread: CC1352R, SYSCONFIG

Hello, I am trying to get image from the OV7670 camera module with CC1352R1 board. To get the pixel data, I need to give at least 8MHz clock signal as the XCLK. How can ı generate this? Are there any resource for the image capturing using this camera? I am trying to convert Arduino code from here: circuitdigest.com/.../how-to-use-ov7670-camera-module-with-arduino

  • TI does not provide any code for this camera. 

    what we can help you with is to help answering questions related to the peripherals you would need on the CC1352R to communicate with the device.

    What peripheral are you going to use to communicate with the camera?

    SPI, I2C, UART, something else?

    Siri

  • The board and the camera communicate with I2C and pixel data is taken with the parallel data interface. The UART protocol is used to transfer images to the pc.

  • Are there any specific pins for I2C protocol on the CC1352 board, for SDA and SCL lines, can I use them arbitrarily as GPIO pins?

  • You can set up which pins you want to use for the I2C (and UART) freely in sysConfig. Pins can either be configured to act as GPIOs, or be connected to a peripheral, like I2C

    If you look at the I2Ctemp example in the SDK, it assumes that you have a BP-BASSENSORSMKII BoosterPack connected to your LP.

    In that case, the I2C signals is routed out on DIO5 and DIO4, which will be the pins that are connected to the sensor board:

    You can change "Use HW" to None, and then select the pins you want to connect to your sensor. When usng a LP you need to select between pins not connected to any other peripherals on the LP:

     

    How to use the I2C driver, is documented here:

    I2C.h File Reference (ti.com)

    Siri