Good morning,
Wondering if anyone in the RPi community has come across this with a good workaround. I'm using Simulink with RPi 5 and as PWM isn't currently supported, I've created my own driver to provide the equivalent PWM functionality for a FS90 servo (20ms pulse width with 1-2ms duty cycle). This has been working as expected but as soon as I bolted on the I2C functionality to read a potentiometer via an ADS1115 chipset, the PWM suffers from jitter. If I remove the ADS1115 driver block from Simulink, the PWM returns to stable operation.
Any good advice would be greatly appreciated.
Regards,
Danny
Wondering if anyone in the RPi community has come across this with a good workaround. I'm using Simulink with RPi 5 and as PWM isn't currently supported, I've created my own driver to provide the equivalent PWM functionality for a FS90 servo (20ms pulse width with 1-2ms duty cycle). This has been working as expected but as soon as I bolted on the I2C functionality to read a potentiometer via an ADS1115 chipset, the PWM suffers from jitter. If I remove the ADS1115 driver block from Simulink, the PWM returns to stable operation.
Any good advice would be greatly appreciated.
Regards,
Danny
Statistics: Posted by dannyboi — Wed Jul 16, 2025 10:34 am