AnsweredAssumed Answered

register value ov5640_read_reg(0x5587,&value) is zero

Question asked by Ganesh Biradar on Jan 14, 2016
Latest reply on Jan 18, 2016 by jimmychan

Hi Guys,


I have first set the value in ioctl_s_ctrl --> V4L2_CID_BRIGHTNESS --> ov5640_write_reg(0x5587,0x40) --> 100millisecond delay -->  ov5640_read_reg(0x5587,&value) --> value = 64.


then i'm trying to read bright value from contrast register in ioctl_g_ctrl --> V4L2_CID_BRIGHTNESS --> ov5640_read_reg(0x5587,&value) --> value = 0, but the return value is zero and argument value is zero.

can any one has idea why the values are turning zero.

NOTE: delay of 100ms is just to read whether register value is resetting or not after writing.




Ganesh Biradar