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

Add support PWM EMIOS for S32Z270 #79532

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Dat-NguyenDuy
Copy link
Contributor

Firstly, this remove period, duty cycle and polarity configuration from emios channel devicetree. PWM signal is produced only when pwm_set* API is called. Then adds support PWM EMIOS for S32Z270 and enables its usage for board s32z270dc2.
Tested on tests\drivers\pwm_api and tests\drivers\pwm_loopback

@zephyrbot
Copy link
Collaborator

zephyrbot commented Oct 8, 2024

The following west manifest projects have been modified in this Pull Request:

Name Old Revision New Revision Diff
hal_nxp zephyrproject-rtos/hal_nxp@6e7d5cf zephyrproject-rtos/hal_nxp#447 zephyrproject-rtos/hal_nxp#447/files

Note: This message is automatically posted and updated by the Manifest GitHub Action.

@zephyrbot zephyrbot added manifest manifest-hal_nxp DNM This PR should not be merged (Do Not Merge) labels Oct 8, 2024
Removing period, duty and polarity configuration from
channel devicetree. At boot time, only minimal setup like
pinctrl, prescaler, etc should be initialized. PWM signal
is produced by using pwm_set* API

Also after this change, PWM period, duty are changed at the
next counter period boundary

Signed-off-by: Dat Nguyen Duy <[email protected]>
This adds support PWM EMIOS for NXP S32Z SoC, both PWM pulse
generate and pulse capture are supported

Signed-off-by: Dat Nguyen Duy <[email protected]>
Add support PWM eMIOS for s32z2xxdc2 board. There is no LED
on-board dedicated for PWM, so no sample is supported. Only
enabling some pwm tests

Signed-off-by: Dat Nguyen Duy <[email protected]>
@Dat-NguyenDuy
Copy link
Contributor Author

Rebased to fix conflict

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: PWM Pulse Width Modulation DNM This PR should not be merged (Do Not Merge) manifest manifest-hal_nxp platform: NXP S32 NXP Semiconductors, S32
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants