0
\$\begingroup\$

I am working with a OLED SSD1306 and in the datasheet there is a parameter named "Set the Oscillator Frequency." It is a four bit value to adjust.

I can't understand the purpose of this.

Can anyone help?

Also I am having artifacts/garbage display randomly, so is it related to speed of this frequency or I2C speed?

\$\endgroup\$
2
  • \$\begingroup\$ It is used for the pixel clock and determines frame rate \$\endgroup\$ Apr 19, 2019 at 6:23
  • \$\begingroup\$ Yes I got it. Thanks \$\endgroup\$ Apr 20, 2019 at 7:05

1 Answer 1

0
\$\begingroup\$

Update :

Both issues resolved. 1 - The purpose of those 4 bits are to set the pixel clock and determines frame rate. 2 - artifacts/garbage display removed by adding the critical section while writing i2c in OS.

\$\endgroup\$
1
  • \$\begingroup\$ Welcome to EE.SE. You have posted this as an answer and you can accept it to indicate that the problem is solved. (The answers count will then turn green on the home page.) \$\endgroup\$
    – Transistor
    Apr 20, 2019 at 7:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.