Since you have the Adafruit board, if you look at the schematic you can see that the reset line on the OLED display itself is handled by a power-on reset chip:
https://learn.adafruit.com/adafruit-pio ... /downloads
This means that your OLED reset cycle is independent of your software. It's possible that the reset time is longer than the time it takes for your software to start (unlikely, but possible). You could check the datasheet for the reset chip and find its typical timing. It's also worth noting that once the OLED starts up nothing will reset it again (unless there is a software reset command you could use).
Another thing you could do is attach an additional I/O to the reset pin of the OLED, perhaps by soldering on to the correct side of R2 and asserting RESET yourself. Check the datasheet for the OLED display for how long it takes between resetting and ready to accept commands.
https://learn.adafruit.com/adafruit-pio ... /downloads
This means that your OLED reset cycle is independent of your software. It's possible that the reset time is longer than the time it takes for your software to start (unlikely, but possible). You could check the datasheet for the reset chip and find its typical timing. It's also worth noting that once the OLED starts up nothing will reset it again (unless there is a software reset command you could use).
Another thing you could do is attach an additional I/O to the reset pin of the OLED, perhaps by soldering on to the correct side of R2 and asserting RESET yourself. Check the datasheet for the OLED display for how long it takes between resetting and ready to accept commands.
Statistics: Posted by ame — Mon Aug 12, 2024 8:51 pm