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

Is there a simple example how to set a PWM driver?

Using SDK13 with nrf52832 , I was looking for hours how to set up a simple PWM signal.

  1. I don't want to use the example, it's a huge mess, it's not clear and you can't find a way to create your own class later, because you don't know what is needed and what's not.

  2. I was trying multiple examples, like this one which have tones of errors and not even compiles.

Is there a simple example, from start to end, how to set up a hardware PWM ? example for humans not machines ?

Thanks!

Parents Reply
  • The simple pwm is not working. Error on compile says : undefined reference to nrf_drv_pwm_init . I have added the nrf_driver_pwm.c file, and enabled the #define in the config file, nothing works. Your project also will not compile, saying : bsp.c no such file or directory . I am not sure why I am the only one in the world who has all these problems, but certainly this awful IDE is missing something important

Children
No Data
Related