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

[nrf fromlist] drivers: pwm: nrfx: adjust PWM driver to fast PWM120 #2209

Merged
merged 2 commits into from
Nov 7, 2024

Conversation

mstasiaknordic
Copy link
Contributor

Fast PWM120 instance works with 320MHz clock, thus pwm_nrfx_get_cycles_per_sec needs to be adjusted.
Also, it uses cachable RAM, thus sys_cache function needs to be added to flush the cached sequence.

Upstream PR : zephyrproject-rtos/zephyr#80672

Added hsfll120 clock for fast PWM120 nodes.

Upstream PR #: 80672

Signed-off-by: Michał Stasiak <[email protected]>
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 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport v3.7.99-ncs1-branch Relates to NCS v2.8-branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants