Other Parts Discussed in Thread: ALP
Hi all,
When I open the ALP, it seems that 954and 953 are linked,like this
but there is something wrong when I use I2c,I can't read 953's ID
It returns 0,do you know what could I do ?
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.
Hi all,
When I open the ALP, it seems that 954and 953 are linked,like this
but there is something wrong when I use I2c,I can't read 953's ID
It returns 0,do you know what could I do ?
Hi GY,
-A 954 can linke to two 953s, and we have only one SER_ALIAS_ID, if the SER_ALIAS_ID is for port0 , then what's the id of port1?
The SER_ALIAS_ID register is port specific. You need to first select which RX port you are writing to using register 0x4C. After you select it, then you can set the SER_ALIAS_ID for each serializer.
-I don't have the I2C address of sensor ov10640, I have searched E2E, an answer of a reply is 0x60 , but 0x60 is the address of 954, so I'm so puzzled.
You are correct. The real I2C address of OV10640 is 0x60, and as you mentioned, this conflicts with the 954 I2C address of 0x60 as well. In order to avoid confusion, you need to set SLAVE_ALIAS for the imager as well, just like what you did for the serializer:
- Reg 0x4C: Select the right RX port to write
- Reg 0x5B SER DEVICE ID: Set the real serializer I2C address. This is typically loaded already. Typically 0x30.
- Reg 0x5D SlaveID[0]: Set the real CMOS sensor I2C address. This will be 0x60 in your case.
- Reg 0x5C SER_ALIAS_ID: Set the alias serializer I2C address. You can pick any unused I2C address, leave the last bit 0.
- Reg 0x65 SLAVE_ALIAS_ID[0] (camera alias ID): Set the alias CMOS sensor I2C address. You can pick any unused I2C address, leave the last bit 0.
After you set your camera alias ID, you can talk to the camera using the alias I2C address from register 0x65.
Best,
Jiashow