This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
Now I develop 8M YUV422 8bit output camera,add driver and want to get frame on TDA4,but after add it's driver can not get frame.Before we have 8M RAW12bit output camera can get frame.
Does TDA4 support the 8M YUV output camera?Does the single camera demo application support it?
the driver config like below,need any other modify?
static IssSensor_CreateParams gw_8bxmaxCreatePrms = {
GW_8BX_MAX9295_UYVY, /*sensor name*/
0x6, /*i2cInstId*/
{0, 0, 0, 0, 0, 0, 0, 0}, /*i2cAddrSensor*/
{0x40, 0, 0, 0, 0, 0, 0, 0}, /*i2cAddrSer*/
/*IssSensor_Info*/
{
{
3840, /*width*/
2160, /*height*/
1, /*num_exposures*/
vx_false_e, /*line_interleaved*/
{
{VX_DF_IMAGE_UYVY, 7}, /*dataFormat and MSB [0]*/
},
0, /*meta_height_before*/
0, /*meta_height_after*/
},
ISS_SENSOR_FEATURE_DCC_SUPPORTED, /*features*/
ALGORITHMS_ISS_AEWB_MODE_NONE, /*aewbMode*/
30, /*fps*/
4, /*numDataLanes*/
{1, 2, 3, 4}, /*dataLanesMap*/
{0, 0, 0, 0}, /*dataLanesPolarity*/
800, /*CSI Clock*/
},
1, /*numChan*/
5233, /*dccId*/
};
Hi xu ji,
Can you please make sure to change the output data format to YUV422 in Deserializer? Any virtual channel id or CSI output lane speed?
Regards,
Brijesh
yes, config to YUV422 8bit output and virtual channel id is 0 lane speed is 1.5Gbps per lane
ok, can you please make sure to start streaming from sensor/deserializer only on streamon callback?
oh ok, can you please below try using below parameters? Btw, which SDK release are you using?
static IssSensor_CreateParams gw_8bxmaxCreatePrms = {
GW_8BX_MAX9295_UYVY, /*sensor name*/
0x6, /*i2cInstId*/
{0, 0, 0, 0, 0, 0, 0, 0}, /*i2cAddrSensor*/
{0x40, 0, 0, 0, 0, 0, 0, 0}, /*i2cAddrSer*/
/*IssSensor_Info*/
{
{
3840, /*width*/
2160, /*height*/
1, /*num_exposures*/
vx_false_e, /*line_interleaved*/
{
{VX_DF_IMAGE_UYVY, 7}, /*dataFormat and MSB [0]*/
},
0, /*meta_height_before*/
0, /*meta_height_after*/
},
ISS_SENSOR_FEATURE_DCC_SUPPORTED, /*features*/
ALGORITHMS_ISS_AEWB_MODE_NONE, /*aewbMode*/
30, /*fps*/
4, /*numDataLanes*/
{1, 2, 3, 4}, /*dataLanesMap*/
{0, 0, 0, 0}, /*dataLanesPolarity*/
TIVX_CAPTURE_LANE_BAND_SPEED_1350_TO_1500_MBPS, /*CSI Clock*/
},
1, /*numChan*/
5233, /*dccId*/
};
Regards,
Brijesh
In SDK7.3, the single camera example uses the default speed, which is already set to 1.5Gbps. So no change required. Are you sure that the sensor/deserializer is configured correctly and is outputting YUV422 data format? Is the output also tagged as UYVY format in deserializer?
yes,the sensor/deserializer config can be frame out in the FPGA des test box,so I use that config on TDA4 driver but can not get frame
single camera example uses the default speed, which is already set to 1.5Gbps.
how to change single camera example speed higher than 1.5Gbps?
when I add this TIVX_CAPTURE_LANE_BAND_SPEED_1350_TO_1500_MBPS
it build error report undefined it
Hi xu ji,
In SDK7.3 release, we cannot directly use it. we need to include capture node's header file in the sensor in order to use this macro.
But i thought you are using 1.5Gbps lane speed, so why do you want to change/increase lane speed?
One possible easy quick way is to change it in the tivx_capture_params_init API, or may be, after you call this tivx_capture_params_init API in application, change tivx_capture_params_t.instCfg[loopCnt].laneBandSpeed variable in the example.
I am still doubting in the starting of the streaming from FPGA. Could you please check and double confirm that streaming is enabled/started only in streamon callback in FPGA?
Regards,
Brijesh
Hi,
I fixed this issue changed des and ser registers setting,it maybe the camera module with TDA4 timing problem