What are the changes that has to be done in CSI and capture driver for adding 16 bit bayer support?Tom Zheng
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.
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 configuringPIXEL_BIT bit in CSI Control Register 1 (CSICR1) and TWO_8BIT_SENSOR bit inCSI Control Register3 (CSICR3).
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].
Retrieving data ...