Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8082

Interfacing (DSI, CSI, I2C, etc.) • PWM jitter when introducing I2C

$
0
0
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

Statistics: Posted by dannyboi — Wed Jul 16, 2025 10:34 am



Viewing all articles
Browse latest Browse all 8082

Trending Articles