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

[Backport v3.7.99-ncs1-branch] [nrf fromlist] drivers: pwm: nrfx: adjust PWM driver to fast PWM120 #2240

Merged
merged 2 commits into from
Nov 7, 2024

Conversation

NordicBuilder
Copy link
Contributor

Backport ada0489~2..ada0489 from #2209.

Added hsfll120 clock for fast PWM120 nodes.

Upstream PR #: 80672

Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
(cherry picked from commit 3617ee9)
Fast PWM120 instance works with 320MHz clock, thus
pwm_nrfx_get_cycles_per_sec needs to be adjusted,
applying correct clock frequency.
Also, it uses cachable RAM, thus sys_cache function
needs to be added to flush the cached sequence.

Upstream PR #: 80672

Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
(cherry picked from commit ada0489)
@rlubos rlubos merged commit 88561ad into v3.7.99-ncs1-branch Nov 7, 2024
20 checks passed
@rlubos rlubos deleted the backport-2209-to-v3.7.99-ncs1-branch branch November 7, 2024 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants