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
data width: 16 bits
data dest: IDMAC
BPP: 3 (12 bits per pixel)
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:
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...?