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.

Custom DM385 + ipnc 3.5 + AR0330 parallel

Other Parts Discussed in Thread: DM385

Hi All,

We are using DM385 custom board with AR0330 sensor.We are using capture display usecase to display SD(TV out).We are getting image on display but not proper some color issue.

AR0330 is 12 bit sensor.CFA is RGB bayer.

Below i have attached my AR0330 color pattern.

 

This is my register settings

isif_reg->CCOLP = 0x4B4B;
isif_reg->CGAMMAWD = 0x08;  //Selects MSB position of Input Data (MSB-11)
isif_reg->MODESET = 0;           //for RAW, progressive fields settings
isif_reg->CCDCFG = 0x8000;

ipipe_reg->SRC_COL = 0xE4;

In iss/drivers/capture/src/issdrv_captureApi.c i set color pattern as

gIss_captCommonObj.pIssConfig->eColorPattern = MSP_IPIPE_BAYER_PATTERN_RGGB;

I below attached my camera output.

Regards,

RAJ M

  • Hello,

    I will notify the IPNC team for help.

    Meanwhile you could search in the e2e for similar issue.

    BR
    Margarita
  • Hi Guys,

      Any clue?

    Regards,

    RAJ M


  • Please try "MSP_IPIPE_BAYER_PATTERN_BGGR" color pattern format
    Modify these changes:
    • In iss/drivers/capture/src/issdrv_captureApi.c i set color pattern as
      gIss_captCommonObj.pIssConfig->eColorPattern = MSP_IPIPE_BAYER_PATTERN_BGGR;
     and let us know the status.

  • Dear all,

    I also got the similar issue. I have already tried the suggestion from Darshan Patel7 but image still not correct as attached one.

    Please give me some hints about this problem. does it come from ISIF or sensor driver setting? Which part should I focus on to solve it?

    Thanks alot !

  • Hi Bioz/Raj M,

    As IPNK RDK already supports AR0330, why do we need these register modifications?

    Color Pattern are coming from ISIF_CCOLP..
    These registers (isif_reg->CCOLP & isif_reg->SRC_COL) should match along with eColorPattern.

    Try these value and let me know the status::
    isif_reg->CCOLP = 0x1B1B;

    isif_reg->CGAMMAWD = 0x08;  //Selects MSB position of Input Data (MSB-11)
    isif_reg->MODESET = 0;           //for RAW, progressive fields settings
    isif_reg->CCDCFG = 0x8000;

    ipipe_reg->SRC_COL = 0xE4;

    In iss/drivers/capture/src/issdrv_captureApi.c i set color pattern as
    gIss_captCommonObj.pIssConfig->eColorPattern = MSP_IPIPE_BAYER_PATTERN_RGGB;

    BR
    Kaushal

  • Hi Kaushal Gupta8,

    Firstly, I am really thanks for your quick response. In default, the RDK support MT9J00x sensor with Hispi, in my case, I am using MT9F002 14MP at Parallel mode. Even I am using a different sensor with Raj M but look like we got a same issue. The attached image below is the result when I apply your suggested parameters.

  • Hi bioz,

    1. what about your camera pixel readout mode R-L or L-R? According to that calculate that isif_reg->CCOLP and ipipe_reg->SRC_COL.

    2. check the camera gain values too.

    BR,

    RAJ M 

  • Hi Raj,

    Is that setting working fine for you or what?
    And thanks for pointing out the registers (CCOLP & SRC_COL) how to calculate it.

    BR
    Kaushal
  • Hi Kaushal,

    Yes.

    Check ISS data sheet for calaulation.

    BR
    RAJ M
  • Hi Raj,

    Please click "Verify Answer" if above post has answered your question!

    Hi Bioz,

    Plz check ISS data sheet for calculation.

    BR
    Kaushal

  • Are these absolute values - or just Bit masks?
    I assume that you are suggesting to make these changes in ti_tools\iss_03_80_00_00\packages\ti\psp\iss\hal\iss\isp\isif\src\isif.c

    In which function?
    Thanks,
    Mechi
  • Hi,

    We had designed our IP cameras using the onsemi AR0330  1/3-Inch CMOS digital image sensor. with TI DM368 We are currently facing a strange video behaviour. On long run, the video seems to be getting distorted as follows. Once we start getting this, camera is no longer functional in the normal way. That is, the video issue persists even after the reboot.




     As you can observe from the above image, a split is observed at left side of video and that portion is having a pink tint also. we have tried changing resolution and other settings of the sensor but there was no change. We also tried by heating/reflow the sensor, but issue was resolved only after replacing sensor with another AR0330 image sensor.

      Board details:
               This is a two board solution with a capture card and processor card. Image sensor is within the capture card and processor is within the processor card. Capture card and processor card is connected using a board to board connector. Master clock(MCLK) for sensor is provided from processor.          
        
    Please let us know for the solution

     

    Thanks & Regards,

     

    Mahesh Kumar | +919811637206, 9212175507 / Ext 915 / Skype Id: mahesh.kumar.naraniya / QQ 2448152416

    Manager R & D 

    Product Development