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.

Fail on Porting MT9D131 driver on DM36x



Hello.

I am trying to patch the MT9D131  sensor driver on my DM36x platform.

My DM36x platform has being working well on using MT9P131 sensor. so basically the H/W is the same except

the image sensor.

I follow the direction of  adding a new image driver in AVServer_DesignGuide_IPNC_DM36x.pdf.

So  #define YUV_MODE  and  #define YUV_MODE_PROGRESSIVE has been defined.

My situation is I just can receive  video captured data from VIDEO_captureTskRunDdrIn for just 14 times and then the system happen to an message Error: SemWait: Invalid Semaphore handler for a while.

And the captured data I save into a file and seems not correct. it composed a bundle of 0x00 first and then a bundle of 0xff so far so on.

I try to change  inDataConfig.inDataType in drv_isif.c to different like below.

inDataConfig.inDataType   = CSL_CCDC_IN_DATA_TYPE_YUV16; //CSL_CCDC_IN_DATA_TYPE_YUV8;

and the captured data is different, at least the even byte has data.


Any comment is welcome. I really need

Best regards.