|
| 1 | +.. _st7789v_generic: |
| 2 | + |
| 3 | +Generic ST7789V Display Shield |
| 4 | +############################## |
| 5 | + |
| 6 | +Overview |
| 7 | +******** |
| 8 | + |
| 9 | +This is a generic shield for display shields based on ST7789V display |
| 10 | +controller. More information about the controller can be found in |
| 11 | +`ST7789V Datasheet`_. |
| 12 | + |
| 13 | +Pins Assignment of the Generic ST7789V Display Shield |
| 14 | +===================================================== |
| 15 | + |
| 16 | ++-----------------------+---------------------------------------------+ |
| 17 | +| Arduino Connector Pin | Function | |
| 18 | ++=======================+=============================================+ |
| 19 | +| D8 | ST7789V Reset | |
| 20 | ++-----------------------+---------------------------------------------+ |
| 21 | +| D9 | ST7789V DC (Data/Command) | |
| 22 | ++-----------------------+---------------------------------------------+ |
| 23 | +| D10 | SPI SS (Serial Slave Select) | |
| 24 | ++-----------------------+---------------------------------------------+ |
| 25 | +| D11 | SPI MOSI (Serial Data Input) | |
| 26 | ++-----------------------+---------------------------------------------+ |
| 27 | +| D12 | SPI MISO (Serial Data Out) | |
| 28 | ++-----------------------+---------------------------------------------+ |
| 29 | +| D13 | SPI SCK (Serial Clock Input) | |
| 30 | ++-----------------------+---------------------------------------------+ |
| 31 | + |
| 32 | +Requirements |
| 33 | +************ |
| 34 | + |
| 35 | +This shield can only be used with a board that provides a configuration |
| 36 | +for Arduino connectors and defines node aliases for SPI and GPIO interfaces |
| 37 | +(see :ref:`shields` for more details). |
| 38 | + |
| 39 | +Programming |
| 40 | +*********** |
| 41 | + |
| 42 | +Set ``-DSHIELD=st7789v_generic`` when you invoke ``west build``. For example: |
| 43 | + |
| 44 | +.. zephyr-app-commands:: |
| 45 | + :zephyr-app: samples/gui/lvgl |
| 46 | + :board: nrf52840_pca10056 |
| 47 | + :shield: st7789v_generic |
| 48 | + :goals: build |
| 49 | + |
| 50 | +References |
| 51 | +********** |
| 52 | + |
| 53 | +.. target-notes:: |
| 54 | + |
| 55 | +.. _ST7789V Datasheet: |
| 56 | + https://www.newhavendisplay.com/appnotes/datasheets/LCDs/ST7789V.pdf |
| 57 | + |
0 commit comments