-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
Add support PWM EMIOS for S32Z270 #79532
Conversation
72d347f
to
c8bb6ec
Compare
The following west manifest projects have changed revision in this Pull Request:
✅ All manifest checks OK Note: This message is automatically posted and updated by the Manifest GitHub Action. |
c8bb6ec
to
cff126e
Compare
cff126e
to
101aa44
Compare
Rebased to fix conflict |
101aa44
to
6274839
Compare
Looks good, should be ready to merge when manifest update points to a sha :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs to be sequenced behind #81113
@Dat-NguyenDuy I merged the HAL side. After the gating PR merges, then we can updatr the HAL SHA and I'll clear my CR
Yep, np. Thanks. |
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]>
6274839
to
5a1650c
Compare
Updated to pull in the changes from the HAL. |
@bjarki-andreasen , can you please review one more time. |
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
andtests\drivers\pwm_loopback