Since the SoftDevice uses Timer0, am I correct in assuming that the maximum number of PWM channels for nRF51-DK with SoftDevice running is 4? (Two each on Timer1 and Timer2.)
Thanks
Since the SoftDevice uses Timer0, am I correct in assuming that the maximum number of PWM channels for nRF51-DK with SoftDevice running is 4? (Two each on Timer1 and Timer2.)
Thanks
TIMER1 and TIMER2 each have 4 capture/compare channels that can be wired up to output pins using the GPIOTE/PPI blocks. That gives a total of 8 potential PWM outputs on the TIMER modules.
The docs for PWM library say "Up to three independent PWM instances. Two PWM output channels per instance." - so if Timer0 is reserved, how can I set up 8 PWM outputs using app_pwm_init()
? Call I call APP_PWM_DEFAULT_CONFIG_2CH
twice each for PWM1
and PWM2
? Thanks
The docs for PWM library say "Up to three independent PWM instances. Two PWM output channels per instance." - so if Timer0 is reserved, how can I set up 8 PWM outputs using app_pwm_init()
? Call I call APP_PWM_DEFAULT_CONFIG_2CH
twice each for PWM1
and PWM2
? Thanks