Tool/software:
Hello Team,
I am trying to generate from MSP432E401Y controller, from PK4 pin.
Could you guide me in for same.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
Hello Team,
I am trying to generate from MSP432E401Y controller, from PK4 pin.
Could you guide me in for same.
Hi,
Please use the Resource Explorer to download the pwm examples. There are a few of them. Start with the pwm_gen0_basic_interrupt. Run and play with it and get a feel on how to configure PWM. You can then modify it to produce PWM on PK4 pin.
You just disable the interrupt. The PWM will keep generating in the example. When it interrupts, it just clears the interrupt flag and then exit. If you don't want to generate interrupt, just disable it. I strongly suggest you read the source code and understand what the example is doing. It is pretty basic. It is just setting up the PWM with period and duty cycle and then enables for PWM generation.