This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to have 3 PWMs by using app_pwm.c ?

Hi All,

I want to have 3 PWMs by using app_pwm.c lib (in SDK 9.0.0). But from doc each instance takes 2 ppi plus 2 plus per channel.

Means 3 PWMS needs 2 instances.

first instance: 2 + 2 x 2 = 6 2nd instacne: 2+ 2 x 1 = 4

so when i init 2nd PWM instance I got NO_MEM error.

Any good idea about this ?

Related