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

imxrt: add support for PWM synchronization #7096

Merged
merged 1 commit into from Sep 14, 2022

Conversation

michallenc
Copy link
Contributor

Summary

This commit allows the PWM modules to be synchronized by an external signal (other PWM module for example). The sync source can be selected from configuration.

PWM module can also now generate a trigger when its timer reaches the duty cycle. This trigger is used for the synchronization of other modules. It can also be used for triggering ADC for example in the future.

Thanks to Rastislav Pavlanin and Jan Spurek from NXP support for suggestion which helped to solve the inter-module PWM synchronization task.

Impact

iMXRT PWM driver only.

Testing

Tested on Teensy 4.1 board.

This commit allows the PWM modules to be synchronized by an external
signal (other PWM module for example). The sync source can be selected
from configuration.

PWM module can also now generate a trigger when its timer reaches the duty
cycle. This trigger is used for the synchronization of other modules. It
can also be used for triggering ADC for example in the future.

Thanks to Rastislav Pavlanin and  Jan Spurek from NXP support for
suggestion which helped to solve the inter-module PWM synchronization
task.

Signed-off-by: Michal Lenc <michallenc@seznam.cz>
@masayuki2009 masayuki2009 merged commit 7d877fb into apache:master Sep 14, 2022
@jerpelea jerpelea added this to To-Add in Release Notes - 12.0.0 Dec 29, 2022
@jerpelea jerpelea moved this from To-Add to Added in Release Notes - 12.0.0 Jan 9, 2023
@michallenc michallenc deleted the imxrt_pwm_sync branch March 6, 2023 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants