Part Number:TDA4VM
Our camera stream is OVX3C—>Gw5200(ISP)—->UB935(SER)——>UB960—–>TDA4 CSI
During Debuging ,I have some problems :
1. When I set one camera work , the camera is working successful,and the dispaly has image.But I try two cameras with UB960 , the dispaly is nothing,and the vx_app_multi_cam is hanged .
=========================
Demo : Camera Demo
=========================
s: Save CSIx, VISS and LDC outputs
p: Print performance statistics
x: Exit
Enter Choice: x
2. In the camera config with one ,I set the Ub960 CSI speed 1600 {0x1F,0x00,}
and the TDA4VM CSI 1600{captureObj->params.instCfg[id].laneBandSpeed = TIVX_CAPTURE_LANE_BAND_SPEED_1500_TO_1750_MBPS; },
they will be not working ,and the vx_app_multi_cam is also hanged .
Here is my config for ub960:
One camera config:
{0x4C,0x01, 0x10}, //for port 0
{0x58,0x5D, 0x10},
{0x5C,0xB0, 0x10},
{0x5D,0x06, 0x10},
{0x65,0xB2, 0x10},
{0x5E,0xDA, 0x10},
{0x66,0xDA, 0x10},
{0x5F,0xD8, 0x10},
{0x67,0xD8, 0x10},
{0x6D,0x7C, 0x10},
{0x6E,0xA8, 0x10}, //BC_GPIO0=0, GC_GPIO1=Fsync
{0x70,0x1E, 0x10}, //vc0,YUV422
{0x72,0xE4, 0x10}, //vc0
{0x7C,0xC1, 0x10},
{0x32,0x01,0x10},
{0x33,0x03,0x10},
//{0x21,0x3C,0x10},
{0x20,0xC0,0x10},
{0x1F,0x00,0x10},
{0x6E,0xA0,0x10},
{0x19,0x0C,0x10},//FS_HIGH_TIME_1
{0x1A,0x81,0x10},//FS_HIGH_TIME_0
{0x1B,0x60,0x10},//FS_LOW_TIME_1
{0x1C,0x00,0x10},//FS_LOW_TIME_0 30hz
{0x18,0x01,0x10},//FrameSync Enable
{0xFFFF, 0x00, 0x0} /*End of script */
Two cameras config:
{0x4C,0x01, 0x10}, //for port 0
{0x58,0x5D, 0x10},
{0x5C,0xB0, 0x10},
{0x5D,0x06, 0x10},
{0x65,0xB2, 0x10},
{0x5E,0xDA, 0x10},
{0x66,0xDA, 0x10},
{0x5F,0xD8, 0x10},
{0x67,0xD8, 0x10},
{0x6D,0x7C, 0x10},
{0x4C,0x12, 0x10}, //for port 1
{0x58,0x5D, 0x10},
{0x5C,0xB4, 0x10},
{0x5E,0xDA, 0x10},
{0x66,0xDA, 0x10},
{0x5F,0xD8, 0x10},
{0x67,0xD8, 0x10},
{0x6D,0x7C, 0x10},
{0x6E,0xA8, 0x10},
{0x70,0x1E, 0x10},
{0x72,0xE4, 0x10},
{0x7C,0xC1, 0x10},
{0x6E,0xA8, 0x10}, //BC_GPIO0=0, GC_GPIO1=Fsync
{0x70,0x1E, 0x10}, //vc0,YUV422
{0x72,0xE4, 0x10}, //vc0
{0x7C,0xC1, 0x10},
{0x32,0x01,0x10},
{0x33,0x03,0x10}, // #CSI OUT ENABLE
{0x21,0x2C,0x10}, // Synchronous forwarding with line concatenation
{0x20,0xC0,0x10}, // #CSI FORWARDING PORT0,1,2,3,4
{0x1F,0x02,0x10}, // #CSI rate 800
//frame sync settings, For 25-Mbps backchannel operation,
//the frame period is 1200 ns (30 bits x 40 ns/bit).
//30fps, 33333333/1200=27777=0x6C81
{0x6E,0xA0,0x10},
{0x19,0x0C,0x10},//FS_HIGH_TIME_1
{0x1A,0x81,0x10},//FS_HIGH_TIME_0
{0x1B,0x60,0x10},//FS_LOW_TIME_1
{0x1C,0x00,0x10},//FS_LOW_TIME_0 30hz
{0x18,0x01,0x10},//FrameSync Enable
{0xFFFF, 0x00, 0x0} /*End of script */
Cherry Zhou:
您好我们已收到您的问题并升级到英文论坛,如有答复将尽快回复您。谢谢!
,
Cherry Zhou:
您好,您的问题在英文论坛已有工程师跟进:
https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1060344/tda4vm-ub960-csi-and-multi-yuv-cameras-issue
如您还需其他帮助请随时联系我们。