I'm trying to drive LEDs using PWM on Thingy:52 and Zephyr OS. It works when I connect external diodes to GPIOs, but built-in LEDs are connected to I/O expander instead.
Can someone point me how to drive I/O expander pin with PWM?
I'm trying to drive LEDs using PWM on Thingy:52 and Zephyr OS. It works when I connect external diodes to GPIOs, but built-in LEDs are connected to I/O expander instead.
Can someone point me how to drive I/O expander pin with PWM?
Hi again
When I started to look into this I realized the sx1509 library currently only allows for setting and clearing pins, not using the PWM functionality built into the sx1509 device.
A pull request has been created to add this functionality, but it is not yet pulled into the Zephyr master branch:
https://github.com/zephyrproject-rtos/zephyr/pull/28060
There is no exact date set for merging this PR, but according to the developer it should not be very far out.
Best regards
Torbjørn
Hi again
When I started to look into this I realized the sx1509 library currently only allows for setting and clearing pins, not using the PWM functionality built into the sx1509 device.
A pull request has been created to add this functionality, but it is not yet pulled into the Zephyr master branch:
https://github.com/zephyrproject-rtos/zephyr/pull/28060
There is no exact date set for merging this PR, but according to the developer it should not be very far out.
Best regards
Torbjørn
That is good news, I will consider this case resolved then