Issue with MT9M114 Sensor Configuration on OpenMV H7 R1

Hi everyone,

I am currently working on porting MicroPython code to C for the OpenMV H7 R1, which uses the MT9M114 sensor. I am facing an issue with configuring the sensor via I2C to collect images using DCMI.

Here are the details of the problem:

  1. Setup: I am using the main code[ GitHub - openmv/openmv: OpenMV Camera Module] and have traced the MicroPython implementation to the C level.
  2. Configuration: To collect images from the sensor via DCMI, I need to configure the sensor using I2C.
  3. Issue: The problem arises in the set_frame_size function. After loading the values into the registers, I attempt to set the configuration and monitor the OK bit in the command register (R0x0080) as per AND9572. However, the OK bit is not getting set; it remains cleared.
  4. Status Check: When I check the Result Status Register (sysmgr_cmd_status 0xDC02), it returns 0 [ENOERR – command successful].

Despite the status indicating success, the OK bit in the command register does not get set. I have attached the relevant code as replay for reference.

Could anyone provide insights or suggestions on what might be causing this issue and how to resolve it?

Thank you in advance for your help!

Not sure what you are trying to do as the code for this is already in C…

Hi,
i want to create a new stm32 ide-based project c based to collect the image from the sensor using the same module [OpenMV H7 R1 with MT9M114 sensor] instead of micro python based.

can you please help me out

thanks

Hi, we don’t offer help support for that.