Hey there,

Hoping someone could point me to a PCB that is using a Blackpill and a ST7789V OLED display. I have the above and am not 100% on which pins to wire up. GND is obvious. VCC I’m pointing to 3.3V, then there is:

  • CS
  • DC
  • Reset
  • SDA
  • SCL

The smaller screens only have SDA & SCL. Can anyone confirm whether the others are optional, mandatory, whether there are specific/preferred pins?

I’m feeling a little lost at the moment, so hoping for some guidance.

FYI this is the specific display: here

  • BOFH666@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 year ago

    SDA/SCL pair is probably i2c, CS chip-select? But that would be more appropriate for spi.

    DC is probably to switch the display controller between command and data modes. So you will have to connect that to a gpio on your blue pill to let software switch between data/command.

    Alrighty… Big fat S P I on the back of the PCB (: facepalm:). So SDA/SCL is data and clock for the spi-bus. Hth.

    • Andy@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      So basically ‘don’t worry about it, just put any pin to any pin and manage it through QMK?’