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

STM32 LPTICKER with LPTIM : reduce clock feature #8778

Merged
merged 1 commit into from
Nov 22, 2018

Conversation

jeromecoutant
Copy link
Collaborator

Description

This fix follows #7156 (comment)
@rohithreddykota-npsc

Default behavior is not changed : Frequency is 32768 Hz with a 16 bits timer
This provides:

  • a 30us precision
  • and a sleep time about 2s

You have now the possibility to divide frequency by 4

  • Precision becomes around 132us
  • Sleep time is now about 8s

Add:

  • in targets.json file:
    "overrides": { "lpticker_lptim_clock": 4 },

  • in your local mbed_app.json file:
    "target_overrides": {
    xxx
    "target.lpticker_lptim_clock": 4

@c1728p9 @LMESTM

Pull request type

[ ] Fix
[x] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change

@cmonr
Copy link
Contributor

cmonr commented Nov 16, 2018

/morph build

@mbed-ci
Copy link

mbed-ci commented Nov 17, 2018

Build : SUCCESS

Build number : 3651
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/8778/

Triggering tests

/morph test
/morph export-build
/morph mbed2-build

@mbed-ci
Copy link

mbed-ci commented Nov 17, 2018

@mbed-ci
Copy link

mbed-ci commented Nov 17, 2018

@0xc0170
Copy link
Contributor

0xc0170 commented Nov 19, 2018

Trying to make this to pass alone rather

/morph export-build

@mbed-ci
Copy link

mbed-ci commented Nov 19, 2018

@deepikabhavnani deepikabhavnani requested review from SenRamakri and removed request for SenRamakri November 21, 2018 16:01
@0xc0170 0xc0170 merged commit 37630b2 into ARMmbed:master Nov 22, 2018
@jeromecoutant jeromecoutant deleted the PR_LPTIM_DIV branch November 22, 2018 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants