RT1170 'MIPI CSI RGB CM7' example change I2C bus & check configuration

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

RT1170 'MIPI CSI RGB CM7' example change I2C bus & check configuration

333 Views
wtsmc
Contributor I

We are using the MIMXRT1176CVM8A with evkmimxrt1170 sdk version 2.12.1 and the 'csi_mipi_rgb_cm7' example project. The chip is on a custom board where I2C5 goes to the CSI header instead of I2C6.

During the busy loop, the "CAMERA_RECEIVER_GetFullBuffer" call returns the enum "kStatus_CSI_NoFullBuffer" every time. I suspected this is due to the I2C6 bus still being used, leading to the camera not configuring, so I updated the pin configuration.

Once I have updated the pin config and "pin_mux.*" files, then replaced relevant #defines in board.h etc; Is there a way to sanity check the initialisation of the camera and CSI drivers? The camera is a PCAM 5C, utilising the OV5640 sensor.

Tags (4)
0 Kudos
1 Reply

308 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi @wtsmc ,

The easy way is to use an oscilloscope to check I2C signal.

 

Regards,

Jing

0 Kudos