AnsweredAssumed Answered

Correct register value for RAW12 data reception

Question asked by Tetsuya Sugiyama on May 28, 2020
Latest reply on Jun 1, 2020 by Tetsuya Sugiyama

Hello,
I want to receive RAW12 image data with MIPI-CSI and set the data to FB1 and FB2 with DMA of CSI Bridge.
However, I don't know the proper register settings for MIPI-CSI and CSI Bridge for RAW12.

1.TWO_8BIT_SENSOR
When TWO_8BIT_SENSOR is 0, it doesn't look like an image at all, but when TWO_8BIT_SENSOR is 1, it looks like an image.
(debayer is required separately)
Is 1 the right choice for TWO_8BIT_SENSOR in a RAW12 receiving environment?

 

2.BASEADDR_CHHANGE_ERROR
When receiving RAW12 and setting DMA1's FB1 and FB2 to be switched as follows, BASEADDR_CHHANGE_ERROR will occur and the data set will not be completed in FB1 and FB2.
CSI_CSICR18:BASEADDR_SWITCH_EN 1

With the following settings, the data will be set in FB1 and FB2, but the images cannot be synchronized well.
CSI_CSICR18:BASEADDR_SWITCH_EN 0

I would like to know if there is a missing setting for the above problem.

 

Since we are trying to acquire VGA size images with RAW12, we have made the following settings.
CSI_CSIIMAG_PARA:IMAGE_WIDTH 640
CSI_CSIIMAG_PARA:IMAGE_HEIGHT 480
CSI_CSICR18:MIPI_DATA_FORMAT RAW12(0x2C)

 

Thanks.
Tetsuya.

Outcomes