Hello!
I am working on a project based on NRF52832 MCU and NRC connect SDK in VS Code.
I have a custom PCB and I use GPIO pins to switch on the power of the OLED display.
When I was developing the code I was not able to get the display working for a long time before discovering
that SDK's ssd1306 driver does not make any use of the SUPPLY pin regardless that it can be specified in the devicetree
for the ssd1306 device.
I was able to add the functionality to switch the supply on using the SUPPLY by modifying the driver.
The problem that I am still facing is that I want to turn off the display completely when I put the device to sleep since the display consumes a lot of power.
When I switch the supply of the display off, then I would need to re-initialize it when the device needs to become active, but the initialization of the ssd1306 is done somewhere under the hood of zephyr and not like in good programming environments.
Could anyone help me understanding how I could properly re-init the display when I need to turn it on again?
I am using v2.6.2. Is this problem solved in more recent SDK's?
With best wishes,
Marek