dear ti expert:
I used dm8148 to capture the 16bit yuv422 data from FPGA in Discrete Sync mode. And the VIP(VIP0,portA) didn't get the right data.
(1)In the HSYNC style line capture :the VIN[0]A_CLK / VIN[0]A_HSYNC /VIN[0]A_VSYNC are connected between DM8148 and fpga and the VIN[0]A_DE pin hang.
The FPGA used the uxga (1600*1200)to test DM8148 vip function,the info of video are belows:
pclk=50MHZ,hsclk=23KHZ,vsclk=18.5HZ Active Pixels:(1600*1200) total Pixels (2160*1250)
I set the vip mode to Discrete Sync mode and other parameters(VIP and ports,vpdma ),after start the vip ,
i get the hight and width of captured video from the VPDMA Outbound data Descriptors(Descriptor Write adds),
are 864*1250.(obviously,the width of captured video is wrong)
here the register value i dump form the 8148 device:
# ./memdev -d 0x48105500  0x50
48105500: 00000001 00402914 00000000 00000000    |.....)@.........| 
48105510: 00000000 003ffe4f 00000000 00000000    |....O.?.........| 
48105520: ffffffff         fffffffc       ffffffff f               fffffff    |................| 
48105530: 036004e2 00000000 00000000 00000000    |..`.............| 
48105540: 00000000 00000000 00000000 00000000    |................| 
48105550: 00000000 00000000 00000000 00000000    |................| 
48105560: 00000000 00000000 00000000 00000000    |................| 
48105570: 00000000 00000000 00000000 00000000    |................| 
48105580: 00000000 00000000 00000000 00000000    |................| 
    (2)In the ACTVID style line capture :the VIN[0]A_CLK / VIN[0]A_DE/VIN[0]A_VSYNC are connected between DM8148 and fpga and the VIN[0]A_HSYNC  PIN is alway LOW.
The test condition like (1)HSYNC style ,i also set the vip register to ACTVID style mode.But The the Outbound data Descriptors Write ,return the wrong width also.
./memdev -d 0x48105500  0x50
48105500: 00000001 0040a114 00000000 00000000    |.....)@.........| 
48105510: 00000000 003ffe4f 00000000 00000000    |....O.?.........| 
48105520: ffffffff ffffffff ffffffff ffffffff    |................| 
48105530: 032004b0 00000000 00000000 00000000    |................| 
48105540: 00000000 00000000 00000000 00000000    |................| 
48105550: 00000000 00000000 00000000 00000000    |................| 
48105560: 00000000 00000000 00000000 00000000    |................| 
48105570: 00000000 00000000 00000000 00000000    |................| 
48105580: 00000000 00000000 00000000 00000000    |................| 
48105590: 00000000 00000000 00000000 00000000    |................|
.any help will be very appreciated!
 
				 
		 
					 
                           
				 
				 
				