Image data is halved with MIPI-CSI

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Image data is halved with MIPI-CSI

1,304 次查看
t-sugiyama
Contributor III

Hello,

I made a program to receive RAW12 format data from the camera by MIPI-CSI with cortex-M4 of i.MX8Mmini.
However, this program has the following problems.
When you refer to the data set by the DMA of CSI Bridge, 1 pixel of data is obtained for every 1 pixel.
It's missing and only half the data is set.
The VGA image size of RAW12 format should be 640x480x1.5=460800, but only 230400 can be received.

I intend to set registers that are likely to be related to data alignment.
・PIXEL_BIT is 1 10-bit data for each pixel
・TWO_8BIT_SENSOR is 1 One 16-bit sensor is connected.

I'm guessing it's due to the pixel clock or byte clock.
Please tell me where to adjust the pixel clk and byte clock of i.MX8Mmini.

Also, if there are other points of concern, please give us a hint.

Thanks.
Tetsuya.

标记 (2)
0 项奖励
回复
1 回复

1,230 次查看
t-sugiyama
Contributor III

After setting MIPI_CSI_ISP_CONFIGn and MIPI_CSI_ISP_RESOLUTIONn, when I set CSI_EN of MIPI_CSI_CSIS_COMMON_CTRL to ENABLE, I set the bit of UPDATE_SHADOW to 1 and solved it.

0 项奖励
回复