Other Parts Discussed in Thread: DLPC2607
Dear TI,
I've been trying to synchronize BBB and DLPDLCR2000EVM for a while now but I always get tearing issue. Our objective is to display alternate White/Black frame @ 60 Hz but I experience black and white strips due to lack of sync.
I've followed the instruction in the quick start post : https://e2e.ti.com/support/dlp/f/94/t/621466
After, here is what I've done :
Change BBB timing (default is 23.5 Hz ? I don't understand because the datasheet of the DLPC2607 cleary state that it is expectiong a 60Hz Vsync)
-Changed DLPDLCR2000-00A0.dts with the following settings. Calculated from : https://tomverbeure.github.io/video_timings_calculator
display-timings {
native-mode = <&timing0>;
timing0: 640x360 {
clock-frequency = <18000000>;
hactive = <640>;
vactive = <360>;
hfront-porch = <16>;
hback-porch = <80>;
hsync-len = <64>;
vback-porch = <8>;
vfront-porch = <3>;
vsync-len = <5>;
hsync-active = <0>;
vsync-active = <0>;
};
then, ./nstall.sh in the bb.org-overlays directory.
When probing my Vsync, I get a clean 60 Hz.
Then I send these comamnds to the DMD :
export DISPLAY=:0
i2cset -y 2 0x1b 0x0b 0x00 0x00 0x00 0x00 i
i2cset -y 2 0x1b 0x0c 0x00 0x00 0x00 0x1b i
i2cset -y 2 0x1b 0x1E 0x00 0x00 0x00 0x01 i #lock to Vsync
mplayer -fs -vo x11 B_W_60Hz.mp4 #where B_W_60HZ.mp4 is a black and white alternance video generated with matlab.
I tried lowering the fps of the video 60, 30, 20, 10. I still get the strips issue. The video is displaying fine on my desktop machine.
I also tried to change many register, almost all of them, but the number of possibility is ....
What am I doing wrong ? Could Ti lead me in the right direction.
I can send the video I'm trying to display if you want to test on your side, if you have acess to matlab, here is the code :
A=uint8(zeros(360,640));
B=uint8(ones(360,640))*255;
v=VideoWriter("B_W_30HZ.mp4",'MPEG-4');
v.FrameRate=30;
open(v)
for i=1:100
writeVideo(v,A)
writeVideo(v,B)
end
close(v)
Thank you,
Christophe