PWM not working after upgrade to nrf Connect SDK 1.9.1

Since upgrading to nrf Connect SDK 1.9.1, I no longer have PWM output. No errors returned when calling pwm_pin_set_usec, yet no output.

I tried upgrading to the latest nrf Connect SDK (2.2.0), thinking that perhaps a bug was fixed, but the number of changes (include paths, etc) was too daunting.

Parents Reply
  • I'm beginning to suspect that this is a devicetree configuration issue. Some of the macros that worked with 1.6.1 don't seem to work with 1.9.1 (or 2.2.0). Also, I am seeing deprecation warnings for I2C which makes me wonder if I should be refactoring my device tree and source code to match an updated implementation model? Unfortunately, I haven't had much luck finding good examples for defining PWM, SPI, and I2C peripherals in device tree and subsequently using them in my application. I am getting the following warning, but no description about the appriopriate alternate method for defining the actual pin assignment for the PWM signal.

    'ch0-pin' is marked as deprecated in 'properties:' in C:/Nordic/v2.2.0/zephyr/dts/bindings\pwm\nordic,nrf-pwm.yaml for node /soc/pwm@4001c000.

Children
Related