Hi team,
I have a hardware having the above hardware layout.
I run the below sequence of steps for an iteration of 300 times
to execute a test-case.
1. Stream enable
2. Deserializer switch to port 0,
0x32 = 0x00,
0x4C = 0x01,
0x20 = 0xE0,
0x32 = 0x01
3. Capture image from port 0 using v4l2-ctl.
4. Deserializer switch to port 1,
0x32 = 0x00,
0x4C = 0x12,
0x20 = 0xD0,
0x32 = 0x01
5. Reset port 1 image sensor using GPIO3.
6. Configure port 1 image sensor registers.
7. Capture image from port 1 using v4l2-ctl
8. Continue step 1.
As you see, I reset the port 1 image sensor and reconfigure it all the time when I switch to port 1. This is part of our use-case.
Issue – After running the above steps for an iteration of about 90 times,
I stop getting captures from port 1 from then on.
Recovery step – Digital reset of port 1 serializer helps in recovering from this issue.
Debugging step – Tried generating test pattern from port 1 serializer in the issue state and we are able to capture images using v4l2-ctl.
If I stop the test pattern, again no images are available in v4l2-ctl. Only digital reset of port 1 serializer resolves the issue.
Do you know what would be the cause for this issue?
NOTE:
All image sensors are in streaming mode.
Serializer is configured only once i.e during boot-up.