How to add support for 16 bit bayer in iMX8M 

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to add support for 16 bit bayer in iMX8M 

1,141 Views
ashwanthselvam
Contributor III

What are the changes that has to be done in CSI and capture driver for adding 16 bit bayer support?gogoer

Labels (1)
0 Kudos
3 Replies

759 Views
b36401
NXP Employee
NXP Employee

Unfortunately i.MX8M natively does not support more than 8 bits per component on video input.
So you can process debayering only software way in case of 16 bit.
However we have no such examples. Sorry for the inconvenience.

0 Kudos

759 Views
ashwanthselvam
Contributor III

Hi,

I don't need support on the debayering but on the input side.

I am making the changes as per datasheet for bayer 16 bit. But I am facing base address switching Change Err

I just want to know the changes required on the input side, So I can overcome that issue.

The CSI module accepts 8-bit, 10-bit or 16-bit data from the sensor by configuring
PIXEL_BIT bit in CSI Control Register 1 (CSICR1) and TWO_8BIT_SENSOR bit in
CSI Control Register3 (CSICR3).

0 Kudos

759 Views
b36401
NXP Employee
NXP Employee

With unsupported data types and the Rx Controller configured for single pixel mode, the raw packet data (including the header but minus the CRC) is contained on data_out[7:0].

0 Kudos