watchy-hardware icon indicating copy to clipboard operation
watchy-hardware copied to clipboard

Missing 32KHz oscillator for Low-Power BLE connectivity

Open LeonMatthes opened this issue 4 years ago • 6 comments

As mentioned in this issue, BLE with light sleep on the ESP32 is currently only supported with the use of an external 32KHz oscillator.

Unfortunately, Watchy currently does not have this, which is going to make it very difficult to maintain a true low power Bluetooth connectivity to a smartphone. For me this is a major use case for a smart watch...

Even more unfortunate is that the RTC can provide the exact waveform needed at its 32KHz output pin, however, it's not connected to the right pin of the ESP (GPIO 32_XP). And the pin is already used for BTN_3. (At least I think, I'm not a Hardware expert).

Maybe this could be fixed in a new revision of the Watchy hardware (perhaps even in the crowd supply campaign :pray: ).

LeonMatthes avatar Feb 02 '21 18:02 LeonMatthes

I also have this problem,我用的的是现成的ESP32-WRROOM-32模块,没法加32k的晶振,这个是个不错的想法,希望得到乐鑫的解答。

m986883511 avatar Feb 08 '21 11:02 m986883511

After looking at the ESP32 Hardware reference manual, I just wanted to add that the input pin for the 32KHz waveform might have to be the 32_XN (IO33) pin, and 32_XP might need to be connected to ground through a capacitor, but I'm not certain on this. It would just be amazing to see the 2mA power consumption with BLE active that can be seen in the prior thread!

LeonMatthes avatar Feb 10 '21 17:02 LeonMatthes

If the devs don't see any problems with the changes, this should fix it: #5

Jan-NiklasB avatar Mar 25 '21 11:03 Jan-NiklasB

NVM, have to do it over again, LeonMatthes is right with the assumption that the source has to be connected to 32K_XN and a capacitor has to be placed between GND and 32K_XP...

Jan-NiklasB avatar Mar 25 '21 11:03 Jan-NiklasB

@Jan-NiklasB also it is recommended the signal amplitude be 0.6 < Vpp < VDD. We actually have a layout we're testing before we publish, so this might save you some time...

sqfmi avatar Mar 25 '21 13:03 sqfmi

From recent discussion on Discord it seems this is now part of the new board design. @sqfmi can you confirm? And has anyone tried it? Can you keep BLE active during light sleep?

This might seriously be a reason for me to get a newer version.

LeonMatthes avatar Dec 16 '21 11:12 LeonMatthes