espressif / esp-idf

Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Apache License 2.0
13.72k stars 7.3k forks source link

External 32kHz crystal not work on esp-idf branch 4.3 (IDFGH-4822) #6621

Open ubntpeter opened 3 years ago

ubntpeter commented 3 years ago

Environment

Problem Description

I refer : https://github.com/espressif/esp-idf/issues/947#issuecomment-500312453 to enable 32kHz to save more BLE power consumption.

it work on esp-idf (branch 4.2) But it not work on esp-idf (branch 4.3)

I use scope to measure IO32 or IO33. there is no 32KHz on esp-idf (branch 4.3).

32k on branch 4.2 tek00122

no 32k on branch 4.3 tek00123

Expected Behavior

32kHz exteral crystal should work on esp-idf 4.3 .

wolfstrassen commented 3 years ago

I can not confirm that the crystal is not working correctly, but I can confirm that with this branch the BLE on light sleep is not working correctly (it works on 4.2) and everything points out that the problem is the external 32kHz crystal, it also doesn't work with the master branch

MisterScience5 commented 3 years ago

I'm seeing this same issue, with multiple units. I have been using 4.2 until recently, when I upgraded to 4.3, causing most (but not all) units to stop executing code and then crashing, leaving the device stuck as reboot does not seem to function either.

Having downgraded to 4.2, my units again work well with the external 32k crystal.

AxelLin commented 1 year ago

I'm seeing this same issue, with multiple units. I have been using 4.2 until recently, when I upgraded to 4.3, causing most (but not all) units to stop executing code and then crashing, leaving the device stuck as reboot does not seem to function either.

Having downgraded to 4.2, my units again work well with the external 32k crystal.

@MisterScience5 @wolfstrassen @ubntpeter Do you still hit the issue with latest v4.3.4 release?

wolfstrassen commented 1 year ago

I'm seeing this same issue, with multiple units. I have been using 4.2 until recently, when I upgraded to 4.3, causing most (but not all) units to stop executing code and then crashing, leaving the device stuck as reboot does not seem to function either. Having downgraded to 4.2, my units again work well with the external 32k crystal.

@MisterScience5 @wolfstrassen @ubntpeter Do you still hit the issue with latest v4.3.4 release?

I'm sorry, I haven't tried the 4.3.4 release