Windows CE Blog |

TAG | OMAP 35x Camera

e-con Systems had launched its new 5MP High Definition Camera board support for OMAP EVM. Here are the details:

e-con Systems new camera daughter board,  e-CAM50_OMAP35x having a size of 8.5mm X 8.5mm X 5.75mm with a Omnivision OV5642 camera module can be directly interfaced on the TI TMDXEVM3530 EVM board.

Here is the 5MP High Definition Camera Board web page and you  can as well download the documents.

·

Aug/09

25

OMAP 35x Camera ISP

Recently, we had some queries on how to program the OMAP 35x ISP in Windows CE for a sensor that doesn’t have the ISP inside it. As we know that when there is an ISP inside the camera, we should not use the OMAP 35x’s ISP features and just use the OMAP processor’s camera pipeline to transfer images to the memory.

For more information on OMAP 35x camera driver interface, please see Omap-35x-camera Blog. This blog is more about how to use some of the OMAP 35x ISP’s features to obtain the best performance. This is particularly useful for sensors like OV5630, OV2710 etc.

I will give the overview on the basic register configuration for capturing data from BAYER RAW sensor without using any of Image processing functionalities.

OMAP 35x CAMERA ISP

Following are the register you may need to configure for capturing Bayer RAW data from the sensor.

Camera ISP registers:
For programming interrupt for the End of Frame capture, SYNC and HSYNC detect, PREVIEW done interrupt, RESIZER done interrupt etc. Using ISP registers you would be able control the power state of whole camera ISP

  • ISP_SYSCONFIG
  • ISP_CTRL
  • ISP_IRQ0ENABLE

CCDC:
This unit is responsible for capturing both RAW and YUV data from the sensor.

You may need to program the parameters like Polarity of the VSYNC and HSYNC signals, output format of the sensor (YUV or RAW), Number of Pixels per line, number of lines per frame, number of start line for valid frame, start of valid pixel in each line, number of data bits to sample from the sensor, Bits per pixel, whether output is written to memory or PREVIEW engine. There is also option to pass CCDC output to RESIZER module bypassing PREVIEW, but this configuration is only work for YUV sensors (RESIZER can only work with YUV data).

  • CCDC_PCR
  • CCDC_SYN_MODE
  • CCDC_PIX_LINES
  • CCDC_HORZ_INFO
  • CCDC_VERT_START
  • CCDC_VERT_LINES
  • CCDC_CFG
  • CCDC_FMTCFG
  • CCDC_HSIZE_OFF
  • CCDC_VP_OUT

PREVIEW:

This unit is responsible for doing Color space conversion (Bayer RAW–>YUV), Color Correction (color spectrum of the sensor can be adjusted to the human color spectrum), Gamma Correction, luminance enhancement etc.

You may need to program the parameters like input width and height of the frame to the PREVIEW engine,RGB to YUV conversion coefficients, output data to memory, output data to RESIZER module ,input is from memory or CCDC module, one shot or continuous,YUV data format on the memory, etc.,

  • PRV_PCR
  • PRV_HORZ_INFO
  • PRV_VERT_INFO
  • PRV_CSC0
  • PRV_CSC1
  • PRV_CSC2
  • PRV_DSDR_ADDR

RESIZER:

This unit is straightforward Upsampling and downsampling unit. You may need to program the parameters like input frame width and height, input frame memory address if input is selected as one shot, output frame width and height, output frame memory address, resizing coefficients etc.

  • RSZ_PCR
  • RSZ_OUT_SIZE
  • RSZ_IN_START
  • RSZ_IN_SIZE
  • RSZ_SDR_INADD
  • RSZ_SDR_INOFF
  • RSZ_SDR_OUTADD
  • RSZ_SDR_OUTOFF

Both PREVIEW and RESIZER unit is capable of getting input from the CCDC as well as from memory.

Note:
OMAP35x Camera ISP has internal MMU. If it is enabled then you may need to use virtual address of the image buffer to output data from above units. If MMU is not enabled means then you need to use physical address of the image buffer for programming the output address in the above engines.

For the best quality of the image you may need to make use of all the image processing functionality.

To know more about OMAP35x Camera ISP, refer to the following documentation Texas Instruments – sprufa2b.pdf

· · · ·

Jul/09

21

e-con Systems Exhibits at ESC Bangalore!

We will be exhibiting our product range at ESC Bangalore. We will be part of Microsoft booth there.  Following will be the demonstrations at ESC

  1. E-con’s Spark kit running software for a digital photo frame. The spark kit as you know is for hobbyists and fun lovers who would want to try different things on Windows CE. E-con has come up with a digital photo frame reference software(distributed with full source code) which allows you to handle the spark kit like a picture frame.  The software among other things that allows you to play pictures on a slide show provides different interfaces for uploading the pictures. The pictures can be uploaded through USB, through the internet(via sites like flickr) and also via mobile phones through Bluetooth.  Though this may not be that much useful, we thought of adding a feature like someone with a mobile phone being able to upload pictures via Bluetooth to the picture frame. We will soon publish this entire code on our website for developers to download this and play with it. We will come up with a blog posting exclusively on this.
  2. 3M pixel camera connected to the OMAP 35x EVM kit. Currently, e-con is providing API for most of the ISP features supported by the OMAP processor.
  3. Extended camera up to 5 meters with the regulus development kit. The regulus as you know is a  rapid development kit for the eSOM270 Computer on module. The camera interface of the PXA270 has been brought out on one of the connector of the regulus board and we have been able to extend this up to 5 meters. This has been one requirement which quite a number of customers had asked us since they wanted to have the camera away from the embedded unit at a distance of 4 to 5 meters. There can be applications like home automation where the camera might be remotely plugged from the actual control panel. This can also be used in vehicles where the camera has to track the rear part of the vehicle while the computer to which it is plugged on be near the driver. One unusual query we got was for garbage collection. The driver if he finds a garbage bin broken, he needs to capture a picture of the bin and this has to be tied up with the GPS co-ordinates of the location and then the picture is sent to the central server. Someone at the central server will later come up with a new bin and replace the broken one.  Now, the computer is in front of the driver  whereas the camera can be placed anywhere. This would require a solution where the cable should be as long as 6m.  Also, it can be used in vehicles where it can be used to detect whether the driver has fallen asleep and this would require the camera to be plugged in on the middle of the steering and hence the computer has to be away. A question that might arise here is that, why we cannot use USB cameras for this purpose or IP cameras? USB cameras cannot go in beyond a distance of 5m and the performance drops at these distances. IP cameras are expensive whereas we are talking about a low cost solution. We have the Windows CE drivers for this solution.
  4. We are exhibiting 1D/2D bar code capture using software through our 3.2M pixel autofocus camera. The 1D barcode readers currently cost around USD 70 @ 1K lot whereas the solution which is provided here would cost around 50% of the cost of that. For 2D, this should be the same percentage of gain. Should be interesting to see the customer feedback

Apart from this, our software head, Maharajan is handling two seminars related to Windows CE at the event. Please see www.e-consystems.com/events.asp for more information.

· · · ·

Jun/09

17

OMAP 35x camera

Texas instruments has recently announced the OMAP 35x processor series which has taken the market by storm. Many customers are getting interested in it because it supports

  1. The latest ARM Cortex A8 Superscalar core.
  2. Supports 2D graphics acceleration using PowerVR SGX OpenGL ES 2.0 compliant graphics accelerator. NEON SIMD Engine with fixed and floating point operations
  3. Supports DSP instructions – Powerful TMS320C64x DSP Core
  4. Supports ISP(Image signal processor) for cameras that might be of good use for processors that dont have an ISP inside.
  5. Input pixel clock of 130Mhz.

The support for ISP inside the camera is useful since when we design handhelds, the mechanicals of the camera modules becomes important. The ISP contains lot of stuff to fine tune the images, do auto focusing etc. The ISP from TI supports Histogram engine that can be used for Autofocus, Autoexposure and Autowhitebalance (3A). Any camera module these days come with a ISP inside and the mechanicals for the handheld are good enough to squeeze the ISP also inside the camera module as a single SOC.

OMAP Camera hardware software EVM kit

At resolutions like 5MP or 8MP, the camera modules that are available commercially do not support a ISP since it would be difficult to put the ISP and the 5MP frame in a small form factor. So, these high resolution camera modules have the ISP outside, at least during the initial pilot production. In fact I have seen some of the initial releases of the new sensors often have only Bayer RGB output that is fed to external ISP. It will be a matter of time when they are able to put the ISP in the same form factor but then market requirements would rise to may be 10MP! The demand for external ISP solutions would continue to exist. So, for those camera modules that don’t have a ISP inside, the TI OMAP processor’s ISP pipeline is very useful. It has got features like color correction, gamma correction, dead pixel correction, Sharpen filter, autofocus engine etc. All these are done through hardware.

Now, you might ask a question on whether this will slow down the processor since all these are inside the processor. Valid point. Since, these processors will be used in embedded systems and considering the typical use cases they are used for, this may not be an issue at all. At least it will be much faster than CPU doing these operations in software. When the image resolution increases, say at 5MP, we are talking about 5Mbytes of Bayer data, 10Mbytes of YUV422 data or 15Mbytes RGB888, which is really huge.

Ok, what does it offer for those camera modules that have a ISP inside it? The OMAP 35x processor has DSP capability and VFP which makes it ideal for image processing applications like name plate capture, digital microscopy, facial detection, pupillometer etc. There are MPEG4 and H.264 codecs that are available for C64X DSP (OMAP3530 has TMS320C64x DSP inside), offering complete encoding solution on a chip, in addition to normal embedded processing capabilities. Also, the OMAP 35x supports a pixel clock of 130Mhz with a 8 bit bus which would mean a bandwidth 1.04Gbps. This is somewhat unmatched by USB 2.0 or any standard that is available so far. Since this ties up with a ISP inside, if you are doing a design based on camera and there is good amount of image processing then IMHO, this is the processor of choice.

We recently announced camera support for TI OMAP 35xx EVM board with Windows CE 6.0 directshow drivers on it. We have supported some of the ISP features also in the driver.

Please see www.e-consystems.com/omap3530.asp for more information.

omapcamera230e-CAM32_OMAP35x

· · ·

Theme Design by devolux.nh2.me