Download Print this page

I2C-Bus I Nterface - Waveshare 10451 User Manual

1.3inch oled

Advertisement

1.3inch OLED User Manual
The serial interface is initialized when CS is high. In this state, SCL clock pulse or SDI data have no
effect. A falling edge on CS enables the serial interface and indicates the start of data transmission.
The SPI is also able to work properly when the CS always keep low, but it is not recommended.
Figure 2: 4-wire SPI data transfer
(SH1106_V2.3.pdf Chap. 4 Wire Serial Interface)
When the chip is not active, the shift registers and the counter are reset to their initial statuses.
Read is not possible while in serial interface mode.
Caution is required on the SCL signal when it comes to line-end reflections and external noise.
We recommend the operation be rechecked on the actual equipment.

3.2. I2C-bus I nterface

The SH1106 can transfer data via a standard I2C-bus and has slave mode only in communication. The
command or RAM data can be written into the chip and the status and RAM data can be read out of
the chip.
Table 5: I2C-bus Interface
(SH1106_V2.3.pdf Chap. I2C-bus Interface)
Note: "-" pin must always be HIGH or LOW. D7~ D2 is recommended to connect the VDD1 or VSS. It is
also allowed to leave D7~ D2 unconnected.
Software configuration
Open the project file .\IDE\ OLED.uvproj in Keil. After compiling successfully, download the project to
Open103R development board.
CS signal could always pull low in I2C-bus application.
th
Rev 2.4, May 15
2015
share awesome hardware
4

Advertisement

loading