NRFX_PWM and Zephyr PWM both used in one project

Hi

I am using several pwm outputs in my project. One of the outputs is used to generate a sound signal and the most convenient way is to use the nrfx_pwm_complex_playback function from the nrfx library. The other outputs are for LEDs control so I can just use the pwm Zephyr driver.
I am getting a conflict (run time error) during nrfx driver initialization, when both CONFIG_PWM and CONFIG_NRFX_PWM0 are enabled.
There is no problem when only one of them are enabled(I connected IRQ to nrfx irq handler)

Can I use both drivers at the same time in a project?
Are there any plans to implement nrfx_pwm_complex_playback equivalent in PWM Zephyr driver?

platform:nRF53, NCS 1.9.1

Parents Reply Children
No Data
Related