olikraus / u8g2

U8glib library for monochrome displays, version 2
Other
5.15k stars 1.05k forks source link

SSD1309 3-wire HW SPI possible? #2280

Open mumrah opened 1 year ago

mumrah commented 1 year ago

In the data sheet for SSD1309 driver IC, it seems that 3-wire SPI is possible by tying the D/C pin low. Looking through the u8g2 constructor list, I don't see a 3W HW SPI mode for SSD1309 modules. I tried using U8G2_SSD1309_128X64_NONAME2_F_4W_HW_SPI while pulling D/C low, but it didn't work.

Is it 3-wire HW SPI actually possible?

olikraus commented 1 year ago

According to the datasheet you need to pull up BS0 pin of the display controller