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.

Sensor data from memory

Other Parts Discussed in Thread: OMAP3530

Hello,

We have a sensor that outputs RAW 16-bit pixel data.  Our board splits the 16-bit data into two sets of 8-bit pixel data with the intention of utilizing the bridge-lane shifter to route the data to the correct CCDC inputs.  The sensor ultimately interfaces with the OMAP 3530 chip via the CAM_D[7:0], CAM_WEN, CAM_HS, CAM_VS, CAM_XCLKA, and CAM_PCLK signals.  Also, our configuration is running the v2.6.32_OMAPPSP_03.00.00.05 kernel.  I was wondering if someone could point me toward a resource that describes the basic steps required to configure the interface to store the sensor data in memory, and to retrieve the stored data from memory.

Thanks in advance.

  • Dan,

    Could you ellaborate on how you have 2 sets of 8-bit raw data from your board interfaced to OMAP3530.

  • Dan,

    I reviewed your camera data interface and I now understand your basic concept...you are multiplexing 16 bit data at 2x pixel clock onto 8 parallel data lanes (capture port 0-7) of OMAP35xx using bridge lane shifter to shift data accordingly.   I have one question...Are you using 16 bit YCbCr (8 bit Luma/8 bit Chroma) or Raw RGB data with discrete syncs? 

     

  • James,

    The sensor outputs RAW 16-bit grayscale values.  The sensor's Data Valid, Line Valid, and Frame Valid signals interface with the OMAP's CAM_WEN, CAM_HS, and CAM_VS respectively.

    Thanks.

  • Dan,

    Since you are inputting raw camera sensor data into CCDC and sending to memory, please review Section 12.5.4.1.2 of SPRUF98F regarding CCDC Register Setup.   Please also reference section 12.5.4.6.2.6.6 of SPRUF98F regarding Output to Memory register configuration.  Since you are writing CCDC module output directly to memory, CCDC_SYC_MOD.WEN bit should be set to 1.  I have noted a few other considerations below.  Keep in mind that we do not have application code for software processing of muxed 16 bit raw camera sensor data but I believe you should be able to output data into a contiguous buffer and process.  

    ·    In RAW input mode, resizer path should be disabled.

    ·    When camera module input bus has fewer than 12 data lines, ISP requires pins to be connected to LSB lanes [cam(d7:d0)].  This connectivity looked correct based on your schematic.

    Note: Keep in mind that bridge for packing of bytes into 16 bit words at input of CCDC is not available in Raw data mode.

     

       

     

       

     

     

  • James,

    Thanks for your helpful reply.

    In your opinion, what is the most straightforward method of configuring these registers from user space?  Is there an example that you would recommend?

    Thanks again,

    Dan

  • Dan,

    The capture driver user guide would be a good resource.  Also, sample applications are shipped as a part of PSP release. Please look for an examples folder in your release package.