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.

IPNC DMVA2 BT656 sensor driver

Hi all,

I am trying to modify the IPNC Aptina 5MP imager driver in order to make IPNC av_server to get frames from a BT656 camera that we have directly connected to the DSP.

I can´t see any frame in any formm, i wan´t it to be able to take something from the DSP but I only get Stream not ready timewaits whe I launch the ./system_server.

I have tryied modifing some ISIF registers but I can´t get any image.

¿ Can someone tell me what should be the key source files to modify and what should be the minimun registers configuration changes to be made to allow IPNC app to take frames from the BT656 interface on the DMVA2 ? As our camera does not have i2c to comunicate I have firstly disabled any i2c comunation into the driver, at this point I don´t want to configure my sensor, just to see something coming from it out of the DSP.....

 

Thank you very much!

  • Hi,

     

    IPNC version 2.6 which is the base for DMVA releases has the YUV input mode support using TVP interface, please check the v2.6 release of IPNC RDK for details.

    You need to look for YUV_INPUT_MODE in the AVSERVER folder, this will help to look for the interface you are looking for.

    If the device is other than TVP, then you migh need to modify as per your requirement.

     

    Regards,

     

    Raghu

     

  • Thank you Raghu,

    The sensor that I am trying to connect is not the TVP, it is a Sensor Core that outputs BT656 interface plus a serial port comunication, as far as i understand I have to modify the APtina 5MP driver to use serial port comunications instead of i2c and then to configure yhe ISIF and IPIPEIF of the DMVA2 correctly, this is the worst part becouse i can´t understand properly where to make the changes for the correct register setups and what should be the correct ones.... :( 

  • Hi Ivan,

     

    I understand that, so what i am suggesting is that please refer to v2.6 code for ISIF and IPIPIF/IPIPE settings needed to interface this.

     

    Regards,

     

    Raghu

     

  • Where can I find this versio? What I do have is APPRO IPNC version 2.00.00.

     

    thank you again !

  • If you had bought it from Appro, you can check with them to share you the v2.6 code and tell them that you need it for YUV input mode support which is not present in DMVA release.

     

    Regards,

     

    Raghu

     

  • Thank you very much!

    So in the end what I will have to do is to make a "mix" between the v2.6 code and the DMVA release to be able to use BT656 YUV inputo together with the video analytics from DMVA2 chip, am I right?

  • yes, you need to look at V2.6 driver and merge the changes to your DMVA setup.

    Let us know the details or any help required after the merge.

     

    Regards,

     

    Raghu

     

  • Hi again Raghu,

     

    I got the v2.6 src code and YUV integration guide, I have done the proper changes and now I am getting some frames from our sensor, I have frames that are onlye like the upper left quarter part of the image (if you divide the image in four parts) and it is almost green. Our sensor has either 320x240 or 640x480 capture resolutions, the main problem is that I can see that the defined capture modes of the av_server are :

     

     

    typedef enum{

    AVSERVER_UI_CAPTURE_MODE_D1 = 0,

    AVSERVER_UI_CAPTURE_MODE_D1_D1,

    AVSERVER_UI_CAPTURE_MODE_720P,

    AVSERVER_UI_CAPTURE_MODE_720P_VGA,

    AVSERVER_UI_CAPTURE_MODE_720P_VGA_30,

    AVSERVER_UI_CAPTURE_MODE_720P_720P,

    AVSERVER_UI_CAPTURE_MODE_720P_720P_30,

    AVSERVER_UI_CAPTURE_MODE_720P_MAX,

    AVSERVER_UI_CAPTURE_MODE_1080P,

    AVSERVER_UI_CAPTURE_MODE_SXVGA,

    AVSERVER_UI_CAPTURE_MODE_2_MEGA,

    AVSERVER_UI_CAPTURE_MODE_3_MEGA,

    AVSERVER_UI_CAPTURE_MODE_5_MEGA

    }AVSERVER_UI_CAPTURE_MODE;

     

    I am wondering if the hole IPNC av_server is not meant for sensors with resolutions for 640x480 or less and if adapting the hole application to this campture modes would be possible for someone who has not done this app from the starting point..... , is it something that should be easy to do??

     

    Thank you very much.