Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transferring to ESPHome's core qspi-dbi component #18

Open
Hannah-GBS opened this issue Dec 23, 2024 · 0 comments
Open

Transferring to ESPHome's core qspi-dbi component #18

Hannah-GBS opened this issue Dec 23, 2024 · 0 comments

Comments

@Hannah-GBS
Copy link

Hannah-GBS commented Dec 23, 2024

As of a November update ESPHome's native qspi_dbi component should in theory be able to support the AXS15231 driver, however in testing myself and Clyde have been unable to replicate an init sequence that works on the T-Display Long.

The theory is that while the built-in axs15231 model may not work, we should be able to use the custom model if we can find a working init_sequence to add to the config.

Clyde suggested this config after looking at your component, but it does not work:

display:
  - platform: qspi_dbi
    model: custom
    data_rate: 40MHz
    dimensions:
      height: 640
      width: 180
    cs_pin: 12
    auto_clear_enabled: false
    draw_from_origin: false
    update_interval: never
    rotation: 90
    init_sequence:
      - [0x28]  # Dispoff
      - delay 20ms
      - [0x10]  # SLPIN
      - delay 80ms
      - [0x11]  # SLPOUT
      - delay 80ms
      - [0x20]  # INVOFF
      - [0xBB, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x5A, 0xA5]
      - [0xC1, 0x33]
      - [0xBB, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00]
      - [0x13]  # NORON
      - [0x29]  # DISPON

If you could help figure out what init_sequence config we need here then your custom component should be no longer needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant