Skip to content

Add a support for TI MSPM0 PWM #90618

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

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

Conversation

ssekar15
Copy link
Collaborator

TI MSPM0 SoC series has General Purpose Timer and Advanced control timers
with Compare block (to generate time expiry, output waveform like PWM).

PR adds the support for PWM output signal generator.

@github-actions github-actions bot added platform: TI SimpleLink Texas Instruments SimpleLink MCU area: PWM Pulse Width Modulation area: Samples Samples platform: Texas Instruments MSPM0 labels May 26, 2025
@parthitce parthitce linked an issue May 26, 2025 that may be closed by this pull request
@ssekar15 ssekar15 force-pushed the upstream/ti/mspm0-pwm branch from 8e8f9b8 to 1801b66 Compare May 27, 2025 04:35
@github-actions github-actions bot added the area: Timer Timer label May 27, 2025
@github-actions github-actions bot requested review from andyross and teburd May 27, 2025 04:36
@ssekar15 ssekar15 force-pushed the upstream/ti/mspm0-pwm branch from 1801b66 to 5a3d88f Compare June 2, 2025 05:23
ssekar15 added 4 commits June 2, 2025 10:54
TI MSPM0 SoC series has General Purpose Timer and Advanced control timers
with Compare block which is used to generate time expiry and output
waveform like PWM. Add driver support for MSPM0 PWM output.

Signed-off-by: Saravanan Sekar <saravanan@linumiz.com>
Add a support for TI MSPM0 advanced Timer as PWM output signal generator.

Signed-off-by: Saravanan Sekar <saravanan@linumiz.com>
Enable PWM output to control a LED1 on lp_mspm03507 board.

Signed-off-by: Saravanan Sekar <saravanan@linumiz.com>
…ples

The lp_mspm0g3507 has a red LED that can be driven by GPIO or PWM TIMA0
CH0, set maximum prescale and divider to arrive lower timer clock from
clock source. Add to the samples.

Signed-off-by: Saravanan Sekar <saravanan@linumiz.com>
@ssekar15 ssekar15 force-pushed the upstream/ti/mspm0-pwm branch from 5a3d88f to a42ec30 Compare June 2, 2025 05:25
Copy link

sonarqubecloud bot commented Jun 2, 2025

@ssekar15
Copy link
Collaborator Author

ssekar15 commented Jun 3, 2025

@anangl please review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: PWM Pulse Width Modulation area: Samples Samples area: Timer Timer platform: Texas Instruments MSPM0 platform: TI SimpleLink Texas Instruments SimpleLink MCU
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Timer: PWM
2 participants