logo elektroda
logo elektroda
X
logo elektroda

Handling 8080 Bus Display with ESP32: Setting GPIO Pins for 8-bit Values

TvWidget 513 4
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 20500268
    TvWidget
    Level 38  
    For example, let's assume that a display with parallel access via the so-called 8080 bus is connected to the ESP32. The individual signals of this bus are connected to different GPIOs in the ESP32. How is such a device handled from the software side? If you want to write an 8-bit value, you need to set the appropriate GPIO pins. How to do this effectively?
  • ADVERTISEMENT
  • Helpful post
    #2 20509446
    rb401
    Level 39  
    TvWidget wrote:
    How to do this efficiently ?

    If by efficiently, you mean large and fast transfers (e.g. graphic displays), then in the ESP32 the only actually hardware support of the 8080 parallel bus (to some extent) is the LCD mode of the I2S periphery (in this context the name I2S is misleading). And there you actually select the pins on which you have a display and make writes with single operations or whole blocks e.g. using DMA.
    That's why I suggest looking for a solution just under the heading ESP32 I2S LCD or similar, because there is a bit of a thing.
  • ADVERTISEMENT
  • Helpful post
    #3 20509529
    khoam
    Level 42  
    There is even a fairly well-documented example in ESP-IDF: Link
  • ADVERTISEMENT
  • #4 20510376
    TvWidget
    Level 38  
    Thank you for the valuable information. I didn't know that a parallel bus could be handled this way in the ESP32.
  • #5 20556575
    TvWidget
    Level 38  
    In the ESP32S3, has the 8080 parallel bus support been moved from I2S to LCD_CAM ?
ADVERTISEMENT