Hi @Senlent
I need PWM code for below channels.
EMIOS 0 | INTERRUPT |
CH0 | EMIOS0_5_IRQn = 66 |
CH1 | EMIOS0_5_IRQn = 66 |
CH2 | EMIOS0_5_IRQn = 66 |
CH3 | EMIOS0_5_IRQn = 66 |
CH4 | EMIOS0_4_IRQn = 65 |
CH5 | EMIOS0_4_IRQn = 65 |
CH6 | EMIOS0_4_IRQn = 65 |
EMIOS 1 | INTERRUPT |
CH7 | EMIOS1_4_IRQn = 73 |
CH14 | EMIOS1_2_IRQn = 71 |
CH15 | EMIOS1_2_IRQn = 71 |
CH19 | EMIOS1_1_IRQn = 70 |
Here I'm configuring 11 channels for PWM output. Can you check whether the interrrupt which I used was correct or not.
I need minimum frequency of 50 Hz and maximum of 16KHz frequency and dutycycle 40% to 70%.
SDK 3.0
Version 3.5
Please send me the code as soon as possible because it will help me to know the mistakes in my code.
Awaiting for your response.
Note: If I configure one channel it was working and we could able to see the correct frequency & duty cycles in the scope, but if I configure more than one channel, the last one only working as expected. The first two channels are not working.
Thank you
Hi@NITHYANANTHVS
Please don't create the same question again.
I already responded to your question yesterday and also provided a demo for your reference.The purpose of our community is to help customers solve the problems they encounter. We cannot directly help you complete your project needs. This is not our original intention.
So I hope you will take the time to read the data sheet and the code we provide you, instead of requiring us to help you understand every step.