We are interfacing the OV5642 camera module with STM32f4 discovery board.We are read the camera model no using the i2c protocol. When we are put the break point in the I2C stop condition, we can read the data perfectly, other wise we get the wrong data. we are use IAR IDE.
We generated I2C code use of cubeMx software and we are use HAL library. We use HAL_I2C_mem_read_it(); api for the data read.
Please help us to resolve this issues for the same.
Any help would be highly appreciated ?
please let me know if you need more information form the our side.