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

Correction of errors in voltage calculation #17491

Open
wants to merge 1 commit into
base: v2.7-branch
Choose a base branch
from

Conversation

Andrew55529
Copy link

In official documentation on st 25r3911 when we measure voltage, one LSB represents 23.438 mV. When calculating, we multiply the fractional part by a three-digit number. When restoring, we divide it by 100, not by 1000. This is an error.

@Andrew55529 Andrew55529 requested a review from grochu as a code owner September 26, 2024 01:24
@CLAassistant
Copy link

CLAassistant commented Sep 26, 2024

CLA assistant check
All committers have signed the CLA.

@github-actions github-actions bot added the changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. label Sep 26, 2024
@NordicBuilder
Copy link
Contributor

Thank you for your contribution!
It seems you are not a member of the nrfconnect GitHub organization. External contributions are handled as follows:
Large contributions, affecting multiple subsystems for example, may be rejected if they are complex, may introduce regressions due to lack of test coverage, or if they are not consistent with the architecture of nRF Connect SDK.
PRs will be run in our continuous integration (CI) test system.
If CI passes, PRs will be tagged for review and merged on successful completion of review. You may be asked to make some modifications to your contribution during review.
If CI fails, PRs may be rejected or may be tagged for review and rework.
PRs that become outdated due to other changes in the repository may be rejected or rework requested.
External contributions will be prioritized for review based on the relevance to current development efforts in nRF Connect SDK. Bug fix PRs will be prioritized.
You may raise issues or ask for help from our Technical Support team by visiting https://devzone.nordicsemi.com/.

Note: This comment is automatically posted and updated by the Contribs GitHub Action.

@NordicBuilder NordicBuilder added the external External contribution label Sep 26, 2024
Copy link

This pull request has been marked as stale because it has been open (more than) 30 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 7 days. Note, that you can always re-open a closed pull request at any time.

@Andrew55529
Copy link
Author

@grochu Renamed

@grochu
Copy link
Contributor

grochu commented Jan 24, 2025

Please add the "Signed-off-by" line and include your full name and email address. As well keep all lines in the message less or equal to 72 characters.

@Andrew55529
Copy link
Author

Why its failed?

@grochu
Copy link
Contributor

grochu commented Jan 29, 2025

Why its failed?

The error log says: author email (Andrew55529 <[email protected]>) needs to match one of the signed-off-by entries. Is the email address in the Signed-off-by: line your email set up in git configuration? I haven't seen this error before to be honest. I don't have other idea what may be wrong. Have you used git commit -s --amend to fix the commit message?
Additionally: you can try rebasing your branch to the top of the current main branch - maybe that helps?

@Andrew55529
Copy link
Author

The documentation states that i do not need to specify a nickname, but a real name. I used git commit -s —amend, but replaced the substituted nickname with a name. My email matches.

In official documentation on st 25r3911 when we measure voltage,
one LSB represents 23.438 mV.
When calculating, we multiply the fractional part by a
three-digit number. When restoring, we divide it by 100, not by 1000.
This is an error.

Signed-off-by: Andrew55529 <[email protected]>
@grochu
Copy link
Contributor

grochu commented Jan 31, 2025

I don't have a clue for now, let me check with someone else.

@grochu grochu added CI-trusted-author The author of the PR is trusted. All future commits will be tested in PR. CI-Requested Approves single commit for CI tests on Internal HW labels Feb 20, 2025
@NordicBuilder
Copy link
Contributor

Test specification

CI/Jenkins/NRF

  • Integration Platforms

CI/Jenkins/integration

Test Module File based changes Manually selected West overwrite
test-fw-nrfconnect-nfc X

Detailed information of selected test modules

Note: This message is automatically posted and updated by the CI

@NordicBuilder
Copy link
Contributor

Memory footprint analysis revealed the following potential issues

applications.nrf_desktop.zdebug.usb_next[nrf52840dongle/nrf52840]: RAM size increased by 1856[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug[nrf52833dongle/nrf52833]: RAM size increased by 1856[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug[nrf52840dk/nrf52840]: RAM size increased by 2052[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug[nrf52840dk/nrf52840]: ROM size increased by 2064[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug[nrf5340dk/nrf5340/cpuapp]: RAM size increased by 1340[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug_mcuboot_smp[nrf52840dk/nrf52840]: RAM size increased by 2052[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug_mcuboot_smp[nrf52840dk/nrf52840]: ROM size increased by 1996[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zrelease[nrf5340dk/nrf5340/cpuapp]: RAM size increased by 1364[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug_nrf21540ek_multicore[nrf5340dk/nrf5340/cpuapp]: RAM size increased by 1340[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
sample.matter.template.release[nrf7002dk/nrf5340/cpuapp]: RAM size increased by 912[B] in comparison to the main[3940f0e] branch. - link (cc: @kkasperczyk-no @ArekBalysNordic @markaj-nordic)
applications.nrf_desktop.zdebug.usb_next[nrf52840dk/nrf52840]: RAM size increased by 2052[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug.usb_next[nrf52840dk/nrf52840]: ROM size increased by 1848[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug[nrf52840dongle/nrf52840]: RAM size increased by 1856[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug[nrf52840gmouse/nrf52840]: RAM size increased by 2052[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug[nrf52840gmouse/nrf52840]: ROM size increased by 1968[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zrelease[nrf52833dk/nrf52820]: RAM size increased by 1368[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zrelease[nrf54h20dk/nrf54h20/cpuapp]: RAM size increased by 1426[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug.usb_next[nrf52840gmouse/nrf52840]: RAM size increased by 2052[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug.usb_next[nrf52840gmouse/nrf52840]: ROM size increased by 1752[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug[nrf52833dk/nrf52833]: RAM size increased by 1856[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug_fast_pair.gmouse[nrf52840gmouse/nrf52840]: RAM size increased by 2173[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug_fast_pair.gmouse[nrf52840gmouse/nrf52840]: ROM size increased by 2216[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zrelease[nrf52840dongle/nrf52840]: RAM size increased by 1816[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zrelease[nrf52840dongle/nrf52840]: ROM size increased by 3072[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug[nrf52kbd/nrf52832]: RAM size increased by 2040[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug[nrf52kbd/nrf52832]: ROM size increased by 3240[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug_mcuboot_qspi[nrf52840dk/nrf52840]: RAM size increased by 2052[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug_mcuboot_qspi[nrf52840dk/nrf52840]: ROM size increased by 2044[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug_nrf21540ek[nrf52840dk/nrf52840]: RAM size increased by 2060[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug_nrf21540ek[nrf52840dk/nrf52840]: ROM size increased by 2092[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zrelease[nrf52820dongle/nrf52820]: RAM size increased by 1368[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zrelease[nrf52kbd/nrf52832]: RAM size increased by 1988[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zrelease[nrf52kbd/nrf52832]: ROM size increased by 4316[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
sample.matter.template.debug[nrf52840dk/nrf52840]: RAM size increased by 1067[B] in comparison to the main[3940f0e] branch. - link (cc: @kkasperczyk-no @ArekBalysNordic @markaj-nordic)
applications.nrf_desktop.zdebug_dongle.usb_next[nrf52840dk/nrf52840]: RAM size increased by 1856[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug[nrf52810dmouse/nrf52810]: RAM size increased by 908[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug[nrf52833dk/nrf52820]: RAM size increased by 1408[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug_keyboard.usb_next[nrf52840dk/nrf52840]: RAM size increased by 2032[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug_keyboard.usb_next[nrf52840dk/nrf52840]: ROM size increased by 2168[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebugwithshell[nrf52840dk/nrf52840]: RAM size increased by 2108[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebugwithshell[nrf52840dk/nrf52840]: ROM size increased by 1792[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zrelease[nrf54l15pdk/nrf54l15/cpuapp]: RAM size increased by 1960[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zrelease[nrf54l15pdk/nrf54l15/cpuapp]: ROM size increased by 5012[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
sample.matter.template.release[nrf52840dk/nrf52840]: RAM size increased by 1555[B] in comparison to the main[3940f0e] branch. - link (cc: @kkasperczyk-no @ArekBalysNordic @markaj-nordic)
applications.nrf_desktop.zdebug_dongle[nrf52840dk/nrf52840]: RAM size increased by 1856[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zrelease[nrf52840gmouse/nrf52840]: RAM size increased by 2000[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zrelease[nrf52840gmouse/nrf52840]: ROM size increased by 4264[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug[nrf52820dongle/nrf52820]: RAM size increased by 1408[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug[nrf52dmouse/nrf52832]: RAM size increased by 2076[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug[nrf52dmouse/nrf52832]: ROM size increased by 1332[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug_4llpmconn[nrf52840dongle/nrf52840]: RAM size increased by 1664[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug_keyboard[nrf52840dk/nrf52840]: RAM size increased by 2032[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug_keyboard[nrf52840dk/nrf52840]: ROM size increased by 2224[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug_wwcb[nrf52840dk/nrf52840]: RAM size increased by 2052[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug_wwcb[nrf52840dk/nrf52840]: ROM size increased by 2064[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zrelease_fast_pair.keyboard[nrf52kbd/nrf52832]: RAM size increased by 2107[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zrelease_fast_pair.keyboard[nrf52kbd/nrf52832]: ROM size increased by 4478[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
sample.matter.template.release[nrf5340dk/nrf5340/cpuapp]: RAM size increased by 576[B] in comparison to the main[3940f0e] branch. - link (cc: @kkasperczyk-no @ArekBalysNordic @markaj-nordic)

Note: This message is automatically posted and updated by the CI (latest/sdk-nrf/PR-17491/2)

@grochu
Copy link
Contributor

grochu commented Feb 20, 2025

Hi @Andrew55529 could you please rebase your PR on top of ncs/main again? Maybe CI is failing due to the code being outdated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. CI-Requested Approves single commit for CI tests on Internal HW CI-trusted-author The author of the PR is trusted. All future commits will be tested in PR. external External contribution
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants