1.. _nxp_btb44_ov5640: 2 3NXP BTB-44 OV5640 Camera Module 4############################### 5 6Overview 7******** 8 9This shield supports ov5640 camera modules which use a 44-pin board-to-board connector and 10a MIPI CSI or DVP (parallel) interface. These camera modules are made specifically for and 11provided together with NXP's i.MX RT1160 and RT1170 EVK boards. 12 13More information about this OV5640 camera module can be found at `Camera iMXRT`_. 14 15Pins assignment of the NXP board-to-board 44-pin OV5640 camera module 16====================================================================== 17 18+----------------------+--------------------+ 19| Camera Connector Pin | Function | 20+======================+====================+ 21| 1 | AGND | 22+----------------------+--------------------+ 23| 2 | AF_GND | 24+----------------------+--------------------+ 25| 3 | STROBE | 26+----------------------+--------------------+ 27| 4 | AF_VCC | 28+----------------------+--------------------+ 29| 5 | SDA | 30+----------------------+--------------------+ 31| 6 | VCMSINK | 32+----------------------+--------------------+ 33| 7 | SCL | 34+----------------------+--------------------+ 35| 8 | AVDD | 36+----------------------+--------------------+ 37| 9 | RESETB | 38+----------------------+--------------------+ 39| 10 | GPIO1 | 40+----------------------+--------------------+ 41| 11 | PCLK | 42+----------------------+--------------------+ 43| 12 | GPIO0 | 44+----------------------+--------------------+ 45| 13 | VSYNC | 46+----------------------+--------------------+ 47| 14 | FREX | 48+----------------------+--------------------+ 49| 15 | HREF | 50+----------------------+--------------------+ 51| 16 | MIPI_CSI_DP1 / D9 | 52+----------------------+--------------------+ 53| 17 | PWDN | 54+----------------------+--------------------+ 55| 18 | MIPI_CSI_DN1 / D8 | 56+----------------------+--------------------+ 57| 19 | MIPI_CSI_DP1 / D9 | 58+----------------------+--------------------+ 59| 20 | DGND | 60+----------------------+--------------------+ 61| 21 | MIPI_CSI_DN1 / D8 | 62+----------------------+--------------------+ 63| 22 | MIPI_CSI_CLKP / D7 | 64+----------------------+--------------------+ 65| 23 | MIPI_CSI_CLKP / D7 | 66+----------------------+--------------------+ 67| 24 | MIPI_CSI_CLKN / D6 | 68+----------------------+--------------------+ 69| 25 | MIPI_CSI_CLKN / D6 | 70+----------------------+--------------------+ 71| 26 | DGND | 72+----------------------+--------------------+ 73| 27 | MIPI_CSI_DP0 / D5 | 74+----------------------+--------------------+ 75| 28 | MIPI_CSI_DP0 / D5 | 76+----------------------+--------------------+ 77| 29 | MIPI_CSI_DN0 / D4 | 78+----------------------+--------------------+ 79| 30 | MIPI_CSI_DN0 / D4 | 80+----------------------+--------------------+ 81| 31 | D3 | 82+----------------------+--------------------+ 83| 32 | DGND | 84+----------------------+--------------------+ 85| 33 | D2 | 86+----------------------+--------------------+ 87| 34 | XCLK | 88+----------------------+--------------------+ 89| 35 | D1 | 90+----------------------+--------------------+ 91| 36 | DVDD | 92+----------------------+--------------------+ 93| 37 | D0 | 94+----------------------+--------------------+ 95| 38 | DOVDD | 96+----------------------+--------------------+ 97| 39 | DGND | 98+----------------------+--------------------+ 99| 40 | DGND | 100+----------------------+--------------------+ 101| 41 | GND | 102+----------------------+--------------------+ 103| 42 | GND | 104+----------------------+--------------------+ 105| 43 | GND | 106+----------------------+--------------------+ 107| 44 | AF_GND | 108+----------------------+--------------------+ 109 110Requirements 111************ 112 113This shield can only be used with a board which provides a 44-pin board-to-board 114connector with MIPI CSI or DVP (parallel) interface where the pinouts are defined 115as above, such as i.MX RT1160 and RT1170 EVK boards. 116 117Programming 118*********** 119 120Set ``--shield nxp_btb44_ov5640`` when you invoke ``west build``. For example: 121 122.. zephyr-app-commands:: 123 :zephyr-app: samples/drivers/video/capture 124 :board: mimxrt1170_evk/mimxrt1176/cm7 125 :shield: nxp_btb44_ov5640 126 :goals: build 127 128References 129********** 130 131.. target-notes:: 132 133.. _Camera iMXRT: 134 https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/Connecting-camera-and-LCD-to-i-MX-RT-EVKs/ta-p/1122183 135