]>
Commit | Line | Data |
---|---|---|
7efb865f AA |
1 | ------------------------------------------------------------------------------- |
2 | SSD1306 OLED display controller, 4-wire SPI and I2C modes | |
3 | ------------------------------------------------------------------------------- | |
4 | ||
5 | This capture contains a sequence of an SSD1306 display controller which is | |
6 | popular for OLED display modules. The controller supports various protocols. | |
7 | I2C and 4-wire SPI are used most often. | |
8 | ||
9 | ||
10 | Logic analyzer setup | |
11 | -------------------- | |
12 | ||
13 | The 4-wire SPI capture was taken with DreamSourceLab DSLogic logic analyzer, | |
14 | sampling 4 logic channels at a rate of 10MHz: | |
15 | ||
16 | Probe SSD1306 | |
17 | ------------------- | |
18 | 0 CLK (clock) | |
19 | 1 MOSI (master out, slave in) | |
20 | 2 DC (data / command) | |
21 | 3 CS (chip select) | |
22 | ||
23 | The I2C capture was taken with DreamSourceLab DSLogic logic analyzer, | |
24 | sampling 2 logic channels at a rate of 2MHz: | |
25 | ||
26 | Probe SSD1306 | |
27 | ------------------- | |
28 | 0 SCL (clock) | |
29 | 1 SDA (data) | |
30 | ||
31 | ||
32 | Data | |
33 | ---- | |
34 | ||
35 | See SSD1306 datasheet [1] and an STM32 library [2] used to generate recorded | |
36 | signals. | |
37 | ||
38 | [1]: https://cdn-shop.adafruit.com/datasheets/SSD1306.pdf | |
39 | [2]: https://github.com/afiskon/stm32-ssd1306 |