Thanks Andrey,
Le 5 sept. 2013 à 09:36, support-list <support-list@support.elphel.com> a écrit
:
> >In fact for my application, I had to buy (at some Chinese website) longer
> >cables and I just installed only one on one channel, keeping the original
> >medium long on the other: is it a possible cause of the problem ?
>
> Daniel, yes - it can cause problem - those that are visible on the first
> image. Do you see what I mean?
Yes I do: the purple streaks on the bottom image.
> As for the original problem - I think it is very unlikely to be related.
>
> As for the clock-to-data phase adjustment - it should be possible to adjust
> the phase for that particular sensor to fix it. What is the length of the new
> cable and what was the original one?
20 cm, but I bought two and my intention is to change both for the final
application.
>
> Here is why this adjustment is needed:
> In the camera we do not use the output clock from the sensor, because in some
> instances when it is "not happy" it stops the clock, and the FPGA depends on
> continuous sesnor-synchronous clock. So FPGA uses internal clock and adjusts
> the phase of the data strobe to latch the incoming data. and when the length
> of the cable changes, so does the phase of the incoming data.
It looks clear.
Now coming back to the initial problem of scrambled images when WOI_WIDTH is <
2560 .
I changed the first SENSOR_RUN TO 1 and made a few tests : when WOI_WIDTH =
2592 or 2576, the image is correct. When it is 2560 or
below, I get a uniformly grey image even after several <refresh>. I then asked
for the actual frame_rate with a small php script :
echo elphel_get_P_value(51)/1000 ;
and get "normal" values between 2.4 and 5.3 fps.
After the grey image, when I try to come back to a WOI_WIDTH = 2592, the image
is still grey, until I restore SENSOR_RUN TO 2.
Are there other sensor registers that it would be useful to read during those
tests ?
Daniel
_______________________________________________
Support-list mailing list
Support-list@support.elphel.com
http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com