summaryrefslogtreecommitdiff
path: root/display/ssd1306/README
blob: 192fcac6d5be7653c26148cbad6ebd3d22ea39a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
-------------------------------------------------------------------------------
SSD1306 OLED display controller, 4-wire SPI and I2C modes
-------------------------------------------------------------------------------

This capture contains a sequence of an SSD1306 display controller which is
popular for OLED display modules. The controller supports various protocols.
I2C and 4-wire SPI are used most often.


Logic analyzer setup
--------------------

The 4-wire SPI capture was taken with DreamSourceLab DSLogic logic analyzer,
sampling 4 logic channels at a rate of 10MHz:

  Probe       SSD1306
  -------------------
  0           CLK  (clock)
  1           MOSI (master out, slave in)
  2           DC   (data / command)
  3           CS   (chip select)

The I2C capture was taken with DreamSourceLab DSLogic logic analyzer,
sampling 2 logic channels at a rate of 2MHz:

  Probe       SSD1306
  -------------------
  0           SCL (clock)
  1           SDA (data)


Data
----

See SSD1306 datasheet [1] and an STM32 library [2] used to generate recorded
signals.

[1]: https://cdn-shop.adafruit.com/datasheets/SSD1306.pdf
[2]: https://github.com/afiskon/stm32-ssd1306