AnsweredAssumed Answered

MX53 CSI/IDMAC config for Aptina 12-bit grayscale camera?

Question asked by Ed Menard on May 28, 2013
Latest reply on Jun 3, 2013 by Ed Menard
Branched to a new discussion

Hi,

 

I'm having a problem configuring the MX53 CSI/IDMAC properly for a 12-bit Aptina camera - the data values are showing up in memory in bits 4-15 rather than 0-11. Here's the scenario:

     MT9P031M 12-bit mono camera

     parallel data connected to data 8-19

 

CSI0_SENS_CONF:

     protocol: gated

     format: generic

     data width: 16 bits

     data dest: IDMAC

 

CPMEM (interleaved):

     BPP: 3 (12 bits per pixel)

     NPB: 31

     PFS: 6 (generic data)

 

Compander is disabled

 

I put the camera into test mode, generating a walking 1's pattern.

Here are the data values that are put in memory, which are shifted left by 4 bits:

     0020

     0040

     0080

     0100

     0200

     0400

     0800

     1000

     2000

     4000

     8000

     0010

     0020

     ...

 

It's my understanding that I should be able to have 12-bit camera data show up in the lower 12 bits of memory - what additional/different settings are needed to do that...?

 

Thanks,

--Ed

Outcomes