index.rst 2.6 KB

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