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.

DM365 LSP 2.10 MT9P031

Hi,

I try to use leopard DM365 board with LI5M03 MT9P031 sensor board with LSP 2.10 driver, with capt_prev_rsz_on_the_fly application.

I don't understand the V4L2 STD timing setup in the kernel. For example, let's see 1280x1024 SXGA.

/* V4L2_STD_MT9P031_SXGA_30FPS */
{1296, 1035, 850, 30, 1022, 0x00, 0x00, 64, 0x8000, 0, 0, 0, 0x1F82, 0x10, 2, 2 },

It means 96Mhz, 850 VB, 30 HB, 1022 SW, so far so good. But how the width and height is calculated? According to MT9 datasheet, for 1280x1024 the registers

must be 1279, 1023 (which is not working). Did I miss something in the VFPE or Micron datasheet?

The image with this setup has problems, black column and row in the upper and left side. (This is a bayer image from sensor converted to .jpeg on PC for size)

So, myquestion is how the sensor with and height setup is calculated, or what can be the problem with the demo apps?

 

Thanks

Best Regards,

Andras