diff options
author | Fabrice Gasnier <[email protected]> | 2018-05-16 09:35:59 +0200 |
---|---|---|
committer | Lee Jones <[email protected]> | 2018-05-16 09:11:13 +0100 |
commit | d66ffb91c374fc500fe666645184e278774bad38 (patch) | |
tree | 999aae9d7ca17a10e2614f0cd4b1a518be514bb8 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 53e38fe73f941291fd20794c15c3bb7b104a4a17 (diff) |
pwm: stm32: Improve capture by tuning counter prescaler
Currently, capture is based on timeout window to configure prescaler.
PWM capture framework provides 1s window at the time of writing.
There's place for improvement, after input signal has been captured once:
- Finer tune counter clock prescaler, by using 1st capture result (with
arbitrary margin).
- Do a 2nd capture, with scaled capture window.
This increases accuracy, especially at high rates.
Signed-off-by: Fabrice Gasnier <[email protected]>
Reviewed-by: Benjamin Gaignard <[email protected]>
Acked-by: Thierry Reding <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions