|
| 1 | +.. _st_b_lcd40_dsi1_mb1166_shield: |
| 2 | + |
| 3 | +ST B-LCD40-DSI1 |
| 4 | +############### |
| 5 | + |
| 6 | +Overview |
| 7 | +******** |
| 8 | + |
| 9 | +The B-LCD40-DSI1 shield provides a 4-inch WVGA TFT LCD with MIPI DSI interface |
| 10 | +and capacitive touch screen. |
| 11 | + |
| 12 | + |
| 13 | +.. figure:: image.jpg |
| 14 | + :alt: B-LCD40-DSI1 MB1166 Image |
| 15 | + :align: center |
| 16 | + |
| 17 | + B-LCD40-DSI1 MB1166 Image |
| 18 | + |
| 19 | +.. figure:: connectors.jpg |
| 20 | + :alt: B-LCD40-DSI1 MB1166 Connector |
| 21 | + :align: center |
| 22 | + |
| 23 | + B-LCD40-DSI1 MB1166 Connector |
| 24 | + |
| 25 | ++------+--------------+------------+-------+--------------+-----------------+ |
| 26 | +| CN1 | Description | Interface | CN1 | Description | Interface | |
| 27 | +| odd | | | even | | | |
| 28 | ++======+==============+============+=======+==============+=================+ |
| 29 | +| 1 | GND | - | 2 | - | - | |
| 30 | ++------+--------------+------------+-------+--------------+-----------------+ |
| 31 | +| 3 | DSI_CK_P | DSI | 4 | TOUCH_INT | Interrupt out | |
| 32 | ++------+--------------+------------+-------+--------------+-----------------+ |
| 33 | +| 5 | DSI_CK_N | DSI | 6 | - | - | |
| 34 | ++------+--------------+------------+-------+--------------+-----------------+ |
| 35 | +| 7 | GND | - | 8 | - | - | |
| 36 | ++------+--------------+------------+-------+--------------+-----------------+ |
| 37 | +| 9 | DSI_D0_P | DSI | 10 | - | - | |
| 38 | ++------+--------------+------------+-------+--------------+-----------------+ |
| 39 | +| 11 | DSI_D0_N | DSI | 12 | - | - | |
| 40 | ++------+--------------+------------+-------+--------------+-----------------+ |
| 41 | +| 13 | GND | - | 14 | - | - | |
| 42 | ++------+--------------+------------+-------+--------------+-----------------+ |
| 43 | +| 15 | DSI_D1_P | DSI | 16 | - | - | |
| 44 | ++------+--------------+------------+-------+--------------+-----------------+ |
| 45 | +| 17 | DSI_D1_N | DSI | 18 | - | - | |
| 46 | ++------+--------------+------------+-------+--------------+-----------------+ |
| 47 | +| 19 | GND | - | 20 | - | - | |
| 48 | ++------+--------------+------------+-------+--------------+-----------------+ |
| 49 | +| 21 | BLVDD(+5V) | - | 22 | - | - | |
| 50 | ++------+--------------+------------+-------+--------------+-----------------+ |
| 51 | +| 23 | BLVDD(+5V) | - | 24 | - | - | |
| 52 | ++------+--------------+------------+-------+--------------+-----------------+ |
| 53 | +| 25 | - | - | 26 | - | - | |
| 54 | ++------+--------------+------------+-------+--------------+-----------------+ |
| 55 | +| 27 | BLGND | - | 28 | - | - | |
| 56 | ++------+--------------+------------+-------+--------------+-----------------+ |
| 57 | +| 29 | BLGND | - | 30 | - | - | |
| 58 | ++------+--------------+------------+-------+--------------+-----------------+ |
| 59 | +| 31 | - | - | 32 | - | - | |
| 60 | ++------+--------------+------------+-------+--------------+-----------------+ |
| 61 | +| 33 | - | - | 34 | - | - | |
| 62 | ++------+--------------+------------+-------+--------------+-----------------+ |
| 63 | +| 35 | - | - | 36 | VDD | - | |
| 64 | +| | | | | (2.8V-3.3V) | | |
| 65 | ++------+--------------+------------+-------+--------------+-----------------+ |
| 66 | +| 37 | - | - | 38 | - | - | |
| 67 | ++------+--------------+------------+-------+--------------+-----------------+ |
| 68 | +| 39 | - | - | 40 | I2C_SDA | I2C | |
| 69 | ++------+--------------+------------+-------+--------------+-----------------+ |
| 70 | +| 41 | - | - | 42 | - | - | |
| 71 | ++------+--------------+------------+-------+--------------+-----------------+ |
| 72 | +| 43 | - | - | 44 | I2C_SCL | I2C | |
| 73 | ++------+--------------+------------+-------+--------------+-----------------+ |
| 74 | +| 45 | - | - | 46 | - | - | |
| 75 | ++------+--------------+------------+-------+--------------+-----------------+ |
| 76 | +| 47 | - | - | 48 | - | - | |
| 77 | ++------+--------------+------------+-------+--------------+-----------------+ |
| 78 | +| 49 | DSI_TE | DSI | 50 | - | - | |
| 79 | ++------+--------------+------------+-------+--------------+-----------------+ |
| 80 | +| 51 | - | - | 52 | - | - | |
| 81 | ++------+--------------+------------+-------+--------------+-----------------+ |
| 82 | +| 53 | BL_CTRL | GPIO | 54 | - | - | |
| 83 | ++------+--------------+------------+-------+--------------+-----------------+ |
| 84 | +| 55 | - | - | 56 | - | - | |
| 85 | ++------+--------------+------------+-------+--------------+-----------------+ |
| 86 | +| 57 | RESET | GPIO | 58 | - | - | |
| 87 | ++------+--------------+------------+-------+--------------+-----------------+ |
| 88 | +| 59 | - | - | 60 | - | - | |
| 89 | ++------+--------------+------------+-------+--------------+-----------------+ |
| 90 | + |
| 91 | + |
| 92 | +Requirements |
| 93 | +************ |
| 94 | + |
| 95 | +Your board needs to have a ``mipi_dsi`` device tree label to work with this shield. |
| 96 | + |
| 97 | +Usage |
| 98 | +***** |
| 99 | + |
| 100 | +The shield can be used in any application by setting ``SHIELD`` to |
| 101 | +``st_b_lcd40_dsi1_mb1166`` and adding the necessary device tree properties. |
| 102 | + |
| 103 | +Set ``-DSHIELD="st_b_lcd40_dsi1_mb1166"`` when you invoke ``west build``. For example: |
| 104 | + |
| 105 | +.. zephyr-app-commands:: |
| 106 | + :zephyr-app: samples/drivers/display |
| 107 | + :board: stm32h747i_disco_m7 |
| 108 | + :shield: st_b_lcd40_dsi1_mb1166 |
| 109 | + :goals: build |
| 110 | + |
| 111 | +References |
| 112 | +********** |
| 113 | + |
| 114 | +- `Product page <https://www.st.com/en/evaluation-tools/b-lcd40-dsi1.html>`_ |
| 115 | + |
| 116 | +- `Databrief <https://www.st.com/resource/en/data_brief/b-lcd40-dsi1.pdf>`_ |
| 117 | + |
| 118 | +- `User manual <https://www.st.com/resource/en/user_manual/um2104--4inch-wvga-tft-lcd-board-with-mipi-dsi-interface-and-capacitive-touch-screen-stmicroelectronics.pdf>`_ |
0 commit comments