Skip to content

RFC LCD160CR hardware/firmware #6663

@peterhinch

Description

@peterhinch

This RFC is intended to create a record of issues I encountered interfacing an LCD160CR module with its official driver to ESP32. This was successful, enabling my GUI to run.

These notes might be of interest if a future hardware update occurs. Item 4 is a docs issue.

  1. I experienced sporadic initial I2C connection problems until I implemented code to assert PWR followed by a delay before instantiating the class. This implies that this delay should be increased. I can't claim this as proven, but I have had no issues since implementing this workround.
  2. The SPI interface appears to have no support for SS/. This precludes SPI bus sharing.
  3. The black connector P2 at the end of the PCB claims to support SPI, however the V1.0 schematic shows it being connected to different pins on the chip compared with the other SPI connections (SPI1_CLK vs SPI0_CLK, similar for MOSI). I don't know the reasoning here, but the SPI interface on the P2 connector doesn't seem to work.
  4. The docs provide links to a datasheet and schematic which are out of date. The current issue of both should be V1.1.

[EDIT]
This is my attempt at documenting how to interface an LCD160CR display to a non-pyboard host. Perhaps it will help flog a few units :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions