Hi
Does the nrf-sw-pwm driver work on the nrf54l15. I am porting code form the nrf52840.
My output does not toggel, 0% and 100% does work but noting else.
Hi
Does the nrf-sw-pwm driver work on the nrf54l15. I am porting code form the nrf52840.
My output does not toggel, 0% and 100% does work but noting else.
Hi,
Unfortunately, it is not a supported option for the nRF54L-series devices, as the node is deleted from the boards:
This is because the nrf54l has a GRTC, and not RTC peripheral.
I will make a feature request internally to support the nrf-sw-pwm driver.
Kind regards,
Håkon
Hi
That is why I recreated the node with timer23 like this. The sw pwm does have support for using a timer.
pwm_sw0: pwm_sw0 { compatible = "nordic,nrf-sw-pwm"; status = "okay"; generator = <&timer23>; clock-prescaler = <0>; #pwm-cells = <3>; channel-gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>; };
Hi
That is why I recreated the node with timer23 like this. The sw pwm does have support for using a timer.
pwm_sw0: pwm_sw0 { compatible = "nordic,nrf-sw-pwm"; status = "okay"; generator = <&timer23>; clock-prescaler = <0>; #pwm-cells = <3>; channel-gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>; };