Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP32-H2 reading or writing consumption is too high (TZ-306) #108

Closed
diazmanuel opened this issue Sep 22, 2023 · 5 comments
Closed

ESP32-H2 reading or writing consumption is too high (TZ-306) #108

diazmanuel opened this issue Sep 22, 2023 · 5 comments
Labels

Comments

@diazmanuel
Copy link

diazmanuel commented Sep 22, 2023

Hello,

I am analyzing the consumption of the ESP32H2 when reading from an external device and I encounter the following consumption problem as seen in the image

MicrosoftTeams-image (7)

So in this image you can see two problems: on the one hand, the type of replica that is observed and on the other hand, the excessive consumption that is maintained for a long time in 20ma. If we zoom in we see the following

MicrosoftTeams-image (8)

In the zoom, 3 peaks are observed and then an almost constant consumption of approximately 20ma, but the response to the reading ends with those first 3 peaks. That is to say, the response to the data query is carried out with those 3 peaks and for some reason after that it remains at that high consumption for a long time.

Also perform a reading of several attributes with the same command, resulting in the following image.

MicrosoftTeams-image (9)

In this image you can clearly see the 2 queries and you can also see the replica, but this replica is not a replica as was believed, because in this supposed replica you do not see the 2 data consumptions as in the other case.

Also here there is another case in which the chip generates 7 reports and after a moment this 20ma step signal appears as in the rest of the cases

MicrosoftTeams-image (10)

The biggest drawback is not the replicas but the high consumption in each interaction with the zigbee layer, whether reading or writing (the operation of the reports with the low consumption methodology still needs to be verified), in addition, as I mentioned before, the response is received with the initial peaks that are seen in the image, and then it remains stuck at 20ma for some other reason, this for low consumption applications represents a serious problem, I would like to know how to solve it, or if they were able to replicate this problem in their tests

thanks

@github-actions github-actions bot changed the title ESP32-H2 reading or writing consumption is too high ESP32-H2 reading or writing consumption is too high (TZ-306) Sep 22, 2023
@kelin6
Copy link
Contributor

kelin6 commented Sep 26, 2023

@diazmanuel May I inquire about the environment in which you are running the Zigbee sleep example, such as the ESP-IDF commit and ESP-Zigbee-SDK version?

We are currently making modifications to the light sleep code internally, based on our latest internal code, our test results are as follows:
zigbee_sleep
read_attribute

  • Regarding what you mentioned about the type of replica, it pertains to sending a read attribute command, receiving a response, and sending APS ack/ack packets, which align with a transmit current of 110mA.

  • The excessive power consumption issue within 20mA for long-term maintenance has now been resolved. Next, we will update ESP-IDF and ESP-Zigbee-SDK.

@diazmanuel
Copy link
Author

Hello!
Thanks for the response, I'm glad to know the problem was found.

I leave you the data of the environment
ESP-IDF: release v5.1
ESP-ZIGBEE-SDK: 0.9.5

May I know when they estimate that these updates will be uploaded to solve the problem and be able to continue testing?

@kelin6
Copy link
Contributor

kelin6 commented Oct 7, 2023

@diazmanuel The fixed code has already been internally reviewed and merged. It should be visible on GitHub in about 1 to 2 weeks.

@kelin6
Copy link
Contributor

kelin6 commented Oct 11, 2023

@diazmanuel
Please update the ESP-IDF and ESP-Zigbee-SDK using the following environment:

  • ESP-IDF branch: release/v5.1 (commit: 6b1f40b)
  • ESP-Zigbee-SDK branch: main(commit: 41c7f14)

Hope this helps you.

@chshu
Copy link
Collaborator

chshu commented Oct 12, 2023

@diazmanuel Please reopen if any follow up questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants