Hi,
I am try to change PWM Duty cycle only for Channel A using MCAL . but the duty cycle update for both channel .Why the Duty cycle update for both channel in PWM. How to fix that.
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.
Hi,
I am try to change PWM Duty cycle only for Channel A using MCAL . but the duty cycle update for both channel .Why the Duty cycle update for both channel in PWM. How to fix that.
Hi Santosh,
As AUTOSAR does not have specific requirements w.r.o PWM outputs per channel, MCAL PWM driver is designed to update duty cycle same for both outputs.
So if duty cycle is changed on OUTPUT A, it will be applicable to OUTPUT B as well. It cannot be changed.
BR,
Sunil