2134800_en-US

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

2134800_en-US

2134800_en-US

RT1166/RT1170 MIPI-CSI data convert between RGB888/RGB565

Hi


We want to use RT1166/RT1170 to process MIPI-CSI RGB565 16-bit data, we want to receive the RGB56 data to RAM.


Reference data:  AN13573 

kensu_0-1752654080600.png


Reference thread:



Method1:

Sensor RGB565(A) output --> MIPI RGB565 --> RGB888

MIPI controller will save RGB888 to XRGB8888

PXP can convert XRGB8888 to RGB565(B).


I think RGB565(B) should be same as RGB565(A) if we don't modify it between format converts.

These conversions will not cause any difference between RGB565(A) and RGB565(B).

Is it correct?


Methold2:

Can RT1166/RT1170 bypass the MIPI-CSI RGB565 data to RAM directly without RGB888 format convert?


Regards

Ken

Re: RT1166/RT1170 MIPI-CSI data convert between RGB888/RGB565

@kensu 

  • Method1: Sensor RGB565(A) output --> MIPI RGB565 --> RGB888 MIPI controller will save RGB888 to XRGB8888 PXP can convert XRGB8888 to RGB565(B). I think RGB565(B) should be same as RGB565(A) if we don't modify it between format converts. These conversions will not cause any difference between RGB565(A) and RGB565(B). Is it correct?

A: Good question, I assume it should be correct. I don't have the hardware enviroment, but I suggest that you can refer to this example to setup and print them out.  https://github.com/nxp-mcuxpresso/mcux-sdk-examples/tree/main/evkbmimxrt1170/driver_examples/csi/mip... 


  • Methold2: Can RT1166/RT1170 bypass the MIPI-CSI RGB565 data to RAM directly without RGB888 format convert?

A: No, it can't. Please see Errata(116x), Erra(117x) to find below info, 'Due to an issue in the Video Mux Controller (VIDEO_MUX), raw data and YUV422 (10 bit) formats to the MIPI_CSI2 block are not supported ', it means: if the input data format is  RGB565, the MIPI_CSI converts it to RGB888 internally and sends to CSI. In other words, the CSI input data bus width is 24-bit. The CSI saves the frame as 32-bit format XRGB8888.' 

Sam_Gao_0-1752749337724.png


Tags (1)
No ratings
Version history
Last update:
‎11-21-2025 11:49 PM
Updated by: