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

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

$
0
0
You don't need to integrate with PIOLib - this overlay (or rather, the driver enabled by this overlay) presents the usual sysfs PWM interface.
Hi PhilE,
I've not been able to have any success with the dtoverlay. From what I understand the PWM-PIO needs arguments passing to it to characterise the duty cycle and pulse width. From Simulink, I'm just toggling the bit on/off using a write command to the pin using gpiod. I can't find any documentation out there or examples to try and hack my way around it.

Looking at it another way, is there an equivalent way of running the I2C element on PIO instead of concentrating on PWM and run the PWM aspects on the main processor in it's current implementation?

Or alternatively, is there a way of configure GPIO pins to accept an analogue input and do the computation in RP1 and avoid the need for I2C (ADS1115 chipset)?

Statistics: Posted by dannyboi — Tue Jul 22, 2025 8:42 am



Viewing all articles
Browse latest Browse all 8041

Trending Articles