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.

Adding a sensor to IPNC RDK

Hello, I have a sensor that outputs 320x240 60fps YUV data. I have modified the existing iss_02_80_00_00/packages/ti/psp/devices/mt9003/src/issdrv_mt9j003Api.c Iss_Mt9j003Create() function to ignore i2c communication and return sucess to the ipnc_mcfw application as my sensor uses a serial interface. This results in a green screen coming out of the standard definition video output instead of the grey screen seen when the sensor fails to create.

I'd like to change the resolution and frame rate now from the default 1080p settings. I've seen pObj->createArgs.scParams[streamId] referenced in terms of setting the inWidth and inHeight for the m3video. But I cannot seem to find where this data is initialized. Am I heading in the right direction? If so where can I find these settings?

  • Hi Alex,

    Which IPNC_RDK release version are you using?

    In ver 2.8.0 we have included hi-resolution support which basically demos different resolution capture from MT9J003.

    Regards

    Rajat

  • I am using PrivateTI_IPNC_RDK_2.8.0.tar.gz

  • The green screen will come if the ISS driver fails to capture from the parallel video port. This could be because you have commented off the sensor settings or you have created different sensor settings but not updated the resolution for the ISS driver.

    I suggest that you look into the 5M,8M implementations for MT9J003 and test the demo at your end, its already available in ver.2.8.0 release. This will give you a reference on what needs to be changed for different resolutions.

    Regards

    Rajat

  • I think I found the correct place to edit the resolution inside:

    ipnc_rdk/ipnc_mcfw/demos/mcfw_api_demos/multich_usecase/ti_mcfw_ipnc_main.c

    in the Void App_runDemo(Void) function.

     

    We bought a MT9P031 Sensor to test with and after reverting my changes and setting the correct sensor type in the Rules.make I got an image full resolution, but at a very low frame rate. After rebooting the board once I am now always getting the green screen with this sensor as well.