Hi I'm starting to work on a device in which I want to use the nrf52840.
I would like to create 6 PWM signals with different duty cycles and the same frequency (20kHz)
Is this possible on nrf52840 using the PWM driver?
Hi I'm starting to work on a device in which I want to use the nrf52840.
I would like to create 6 PWM signals with different duty cycles and the same frequency (20kHz)
Is this possible on nrf52840 using the PWM driver?
Hello,
I would like to create 6 PWM signals with different duty cycles and the same frequency (20kHz)
Is this possible on nrf52840 using the PWM driver?
Yes, this is possible, but you will have to use two PWM instances, since each PWM instance only has 4 channels.
To use the PWM peripheral you can either use the PWM driver, or the PWM library for a higher level of abstraction.
You can see them demonstrated in the PWM Driver example, or the PWM Library example.
Please do not hesitate to ask if you should encounter any other issues or questions in the future!
Best regards,
Karl
Hello,
I would like to create 6 PWM signals with different duty cycles and the same frequency (20kHz)
Is this possible on nrf52840 using the PWM driver?
Yes, this is possible, but you will have to use two PWM instances, since each PWM instance only has 4 channels.
To use the PWM peripheral you can either use the PWM driver, or the PWM library for a higher level of abstraction.
You can see them demonstrated in the PWM Driver example, or the PWM Library example.
Please do not hesitate to ask if you should encounter any other issues or questions in the future!
Best regards,
Karl