# csi_rgb565

## Overview
The CSI RGB565 project shows how to receive the camera data using CSI driver.
In this example, you will see the camera input image shown in the LCD. Please
note that the camera input image resolution might be smaller than the LCD
panel, so part of the LCD panel might be blank.

## Supported Boards

````{container} board-selector

```{container} board-setup
:name: board-evkbimxrt1050

##### EVKB-IMXRT1050

##### Hardware requirements
- Mini/micro USB cable
- EVKB-IMXRT1050 board
- Personal Computer
- RK043FN02H-CT or RK043FN66HS-CT6 LCD board
  (RK043FN02H-CT and RK043FN66HS-CT6 are compatible)
- MT9M114 module
This example supports OV7725 too, if OV7725 is used, then MT9M114 is not necessary.

##### Board settings
1. Connect the RK043FN02H-CT or RK043FN66HS-CT6 to board.
2. Connect the MT9M114 or OV7725 camera module.

##### Prepare the Demo
1.  Connect a USB cable between the host PC and the OpenSDA USB port on the target board.
2.  Open a serial terminal with the following settings:
    - 115200 baud rate
    - 8 data bits
    - No parity
    - One stop bit
    - No flow control
4.  Download the program to the target board.
5.  Launch the debugger in your IDE to begin running the demo.

Note: If OV7725 is used, change the macro DEMO_CAMERA to DEMO_CAMERA_OV7725 in
camera_support.h

##### Running the demo
When the demo runs successfully, the camera received pictures are shown in the LCD.

```

```{container} board-setup
:name: board-evkbmimxrt1060

##### MIMXRT1060-EVKB

##### Hardware requirements
- Mini/micro USB cable
- MIMXRT1060-EVKB board
- Personal Computer
- RK043FN02H-CT or RK043FN66HS-CT6 LCD board
  (RK043FN02H-CT and RK043FN66HS-CT6 are compatible)
- MT9M114 module
This example supports OV7725 too, if OV7725 is used, then MT9M114 is not necessary.

##### Board settings
1. Connect the RK043FN02H-CT or RK043FN66HS-CT6 to board.
2. Connect the MT9M114 or OV7725 camera module.

##### Prepare the Demo
1.  Connect a USB cable between the host PC and the OpenSDA USB port on the target board.
2.  Open a serial terminal with the following settings:
    - 115200 baud rate
    - 8 data bits
    - No parity
    - One stop bit
    - No flow control
4.  Download the program to the target board.
5.  Launch the debugger in your IDE to begin running the demo.

Note: If OV7725 is used, change the macro DEMO_CAMERA to DEMO_CAMERA_OV7725 in
camera_support.h

##### Running the demo
When the demo runs successfully, the camera received pictures are shown in the LCD.

```

```{container} board-setup
:name: board-evkcmimxrt1060

##### MIMXRT1060-EVKC

##### Hardware requirements
- Mini/micro USB cable
- MIMXRT1060-EVKC board
- Personal Computer
- RK043FN02H-CT or RK043FN66HS-CT6 LCD board
  (RK043FN02H-CT and RK043FN66HS-CT6 are compatible)
- MT9M114 module
This example supports OV7725 too, if OV7725 is used, then MT9M114 is not necessary.

##### Board settings
1. Connect the RK043FN02H-CT or RK043FN66HS-CT6 to board.
2. Connect the MT9M114 or OV7725 camera module.

##### Prepare the Demo
1.  Connect a USB cable between the host PC and the OpenSDA USB port on the target board.
2.  Open a serial terminal with the following settings:
    - 115200 baud rate
    - 8 data bits
    - No parity
    - One stop bit
    - No flow control
4.  Download the program to the target board.
5.  Launch the debugger in your IDE to begin running the demo.

Note: If OV7725 is used, change the macro DEMO_CAMERA to DEMO_CAMERA_OV7725 in
camera_support.h

##### Running the demo
When the demo runs successfully, the camera received pictures are shown in the LCD.

```

```{container} board-setup
:name: board-evkmimxrt1064

##### EVK-MIMXRT1064

##### Hardware requirements
- Mini/micro USB cable
- EVK-MIMXRT1064 board
- Personal Computer
- RK043FN02H-CT or RK043FN66HS-CT6 LCD board
  (RK043FN02H-CT and RK043FN66HS-CT6 are compatible)
- MT9M114 module
This example supports OV7725 too, if OV7725 is used, then MT9M114 is not necessary.

##### Board settings
1. Connect the RK043FN02H-CT or RK043FN66HS-CT6 to board.
2. Connect the MT9M114 or OV7725 camera module.

##### Prepare the Demo
1.  Connect a USB cable between the host PC and the OpenSDA USB port on the target board.
2.  Open a serial terminal with the following settings:
    - 115200 baud rate
    - 8 data bits
    - No parity
    - One stop bit
    - No flow control
4.  Download the program to the target board.
5.  Launch the debugger in your IDE to begin running the demo.

Note: If OV7725 is used, change the macro DEMO_CAMERA to DEMO_CAMERA_OV7725 in
camera_support.h

##### Running the demo
When the demo runs successfully, the camera received pictures are shown in the LCD.

```

```{container} board-setup
:name: board-mimxrt2660evk

##### MIMXRT2660-EVK

##### Hardware requirements
- Type-C USB cable
- MIMXRT2660-EVK
- Personal Computer
- RK055MHD091A0 MIPI panel
- OV5640 module

##### Board settings
1. Connect the OV5640 camera module to J95.
2. Connect the RK055MHD091A0 MIPI panel to J19.
3. Rework the board:
    DNP R676.
    Change the following jumpers from 1-2 to 2-3:
    - R422   - R412   - R524   - R507   - R521   - R518   - R436   - R439   - R447   - R450   - R472   - R510.
    DNP R606. Populate R614.
4. Use external power instead of internal.

##### Prepare the Demo
1.  Connect a USB cable between the host PC and the OpenSDA USB port on the target board.
2.  Open a serial terminal with the following settings:
    - 115200 baud rate
    - 8 data bits
    - No parity
    - One stop bit
    - No flow control
4.  Download the program to the target board.
5.  Launch the debugger in your IDE to begin running the demo.

##### Running the demo
When the demo runs successfully, the camera received pictures are shown in the LCD.

```

````

