Hi,
I'm trying to config veye_mipi_imx462.
FPGA => IMX462 (via I2C)
I had extracted i2c command list from your script.
This is a part from my command list:
I2C_ADDR ==>> 0x3b
//=========================
read_devid :
read 0x3b 0x01
//=========================
read_releasedate :
write 0x3b 0x10 0xDA
write 0x3b 0x11 0x5C
write 0x3b 0x13 0x01
sleep 0.01
yy= read 0x3b 0x14
write 0x3b 0x10 0xDA
write 0x3b 0x11 0x5D
write 0x3b 0x13 0x01
sleep 0.01
mm= read 0x3b 0x14 );
write 0x3b 0x10 0xDA
write 0x3b 0x11 0x52
write 0x3b 0x13 0x01
sleep 0.01
dd= read 0x3b 0x14
//=========================
read_hardver :
hardver= read 0x3b 0x00
//=========================
read_sensorid :
sensorid_h= read 0x3b 0x20
sensorid_l= read 0x3b 0x21
SENSOR_ID=(((sensorid_h<<8)+sensorid_l))
//=========================
read_wdrmode :
write 0x3b 0x10 0xDB
write 0x3b 0x11 0x32
write 0x3b 0x13 0x01
sleep 0.01
wdrmode= read 0x3b 0x14
write_wdrmode :
write 0x3b 0x10 0xDB
write 0x3b 0x11 0x32
write 0x3b 0x12 $PARAM1
write 0x3b 0x13 0x00
value description
0x00 Back Light Mode OFF
0x01 Back Light Mode ON, LOW
0x02 Back Light Mode ON, HIGH
0x03 DOL WDR Enable
//=========================
But I just can read device ID, and None of the commands work.
Please guide me. Are the commands I wrote above wrong?