Hi there, our institute recently obtained a Sekonix SF3325-100 camera as part of an automotive research project. Unfortunately, we are experiencing some problems operating the camera, and hope that someone can help us.
Our situation looks like this: with low lighting (simple ceiling light in a larger room) the received camera images look apparently good (see top image with a simple testboard). But as soon as we increase the lighting with the help of a lamp, the camera will very quickly start clipping and outshine (picture in the middle).
From the data sheet of the camera we can see that the camera has a 14 bit sensor (ONSEMI CMOS Image Sensor AR0231) that outputs the pixel values in Bayer-12 format through a 12 bit serializer (MAX96705). The individual pixel values should therefore have the structure illustrated in the image at the bottom.
However, a closer analysis of the received raw data shows us that every second byte in the byte stream is always 0x00, even when the camera looks directly into a light source. Our assumption is that the camera is not properly initialized. Solectrix provided us with the attached INI file (changed ini extension to txt for upload purpose), which we load into the proFrame grabber card to initialize the camera. Is it possible that line 396 (“ADR_SENSOR 4 0x31 0xAC 0x0C 0x08 # DATA_FORMAT_BITS bayer-8bit”) in this INI file instructs the camera to provide clipped 8bit values?
GSML-CAM-SF332x.txt (24.1 KB)
Furthermore we are surprised that in the INI file many sensor commands like “ANALOG_GAIN” and “RED_GAIN” are set several times with different values. Unfortunately we don’t have any documentation about the structure of the INI file, especially which commands are possible, which registers have to be written and which value ranges are allowed in each case to initialize the sensor in a proper way.
We were suggested to ask Luke Harvey here at the Developer Forum. Hopefully someone can help us.