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

NRF51822 - Use 4 PWM Servo and SoftDevice Bluetooth Simulatenously

Is it possible to get commands from Bluetooth softdevice in NRF51822 to control 4 PWM servos at the same time?

Parents
  • Hi Joseph

    You can run 4 PWM channels simultaneously in the nRF51822, but since there is no dedicated PWM module in the chip it will consume a lot of resources (2 timers, 4 GPIOTE channels, 12 PPI channels).

    The nRF52832 is a much better choice if you need PWM. It has 12 hardware PWM channels with DMA, and allows 8 GPIOTE based PWM channels, for a total of 20.

    Best regards
    Torbjørn

Reply
  • Hi Joseph

    You can run 4 PWM channels simultaneously in the nRF51822, but since there is no dedicated PWM module in the chip it will consume a lot of resources (2 timers, 4 GPIOTE channels, 12 PPI channels).

    The nRF52832 is a much better choice if you need PWM. It has 12 hardware PWM channels with DMA, and allows 8 GPIOTE based PWM channels, for a total of 20.

    Best regards
    Torbjørn

Children
Related