Hi experts,
we have mipi video frame unstable probelm with ds940.
the enviroment is that, camera box output camera frame in 1280x720 @30Hz timing to FPDLINK ser chip. and our box receive fpdlink data by ds940, then output mipi data to SOC.
the camera box output video frame without stop, we just use a test app in SOC, to in start capture then stop capture looping.
we will enable ds940 before SOC do capture. and disable ds940 after SOC stop capture.
the ds940 enabling scipt is like this:
1.setup all registers
pull pdb gpio
write 0x03 to reg 0x01
write 0x04 to reg 0x06
write 0x01 to reg 0x34
write 0x20 to reg 0x6a
write 0x50 to reg 0x6b
write 0x20 to reg 0x23
write 0x13 to reg 0x6c
write 0x80 to reg 0x6d
write 0x14 to reg 0x6c
write 0x80 to reg 0x6d
write 0x13 to reg 0x6c
write 0x80 to reg 0x6d
2.force unlock, then let chip check lock
write 0x4B to reg 0x40
sleep 200 ms
write 0x43 to reg 0x40
3.read back, check pass ok
sleep 500 ms
write 0x16 to reg 0x6c
read reg 0x6d : value 0x03
4.enable mipi csi output
sleep 20 ms
write 0x13 to reg 0x6c
write 0xbf to reg 0x6d
the ds940 disable scipt is like this:
1. pulldown pdb gpio
this setup script follows the document < DS90Ux940N Deserializer with Bug Fixes for CSI Issues >.
but the problem still occur 1 or 2 times per 24 hours.
we have confirmed that, when picture is unstable . keep ds940 not touched, just restart SOC capture , the picture keep unstable.
please help us to fixed the unstable video issue.
thanks.