SH 1106 SPI Reset Pin = +3.3V? #2124
Replies: 2 comments 1 reply
-
The datasheet also tells you to hold the reset line low for 10us (page 44). So if you just connect the reset line to +3.3V, then the reset line goes high together with the power supplier. However (of course) the 10us low peak is meant to be there while power is up. So the correct timing during startup would be: Power goes up to +3.3V, then, with a delay of 10us, voltage level for reset goes up to +3.3V. U8g2 will just do this delay and then the reset line will state at +3.3V forever (unless you reexecute .begin()). In order to reduce GPIO count you could connect your reset line to +3.3 volt and it may work, but actually you are violating the datasheet specification. The proper option to avoid the GPIO pin, is to create an analog RC delay for the reset input of the display. For some details see here: https://electronics.stackexchange.com/questions/387523/delayed-active-low-short-pulse-for-reset In the above link, the delay will be 10ms, which is 1000 times more than required (SH1106 requires a 10us pulse), so you can reduce the capacitor value a lot. 0.1uF should be ok instead. |
Beta Was this translation helpful? Give feedback.
-
I think you only have to move that one resistor |
Beta Was this translation helpful? Give feedback.
-
Hi all! I know Oli reads all of these posts so I am hoping he can add some nuance to what I am saying. If you read this:#2116 you will see I had an issue getting the SH1106 SPI oled to work because I thought the reset pin was "optional". It is not. However I went back to a data sheet for the oled and it says the following:
"Power Reset for Controller and Driver This pin is reset signal input. When the pin is low, initialization of the chip is executed. Keep this pin pull high during normal operation." I connected mine to my +3.3V and it seems to be operating normally. I even put it through some sleep/wake cycles and it seems to work fine. I do not claim to know whether the initialization is being handled by the software - which is where Oli can probably shed some light. The reason I am sharing this is because SPI uses a lot of gpio pins and if I can save anybody a pin with this then it's worth it. I'll update this post if I notice any anomalous behavior. Also, I have read a post where this didn't work on a SSD1306 so mileage may vary.
Fish
Beta Was this translation helpful? Give feedback.
All reactions