12-01-2025 05:48 AM
Hello everybody,
I am using an MCP4725 DAC with LabVIEW LINX and GPIO on a Raspberry Pi 5. In my program, I am running a timed loop with a 300-microsecond period.
Although the MCP4725 supports an update rate of 200 kHz, my loop consistently overruns, meaning each iteration takes longer than 300 microseconds.
I tried increasing the I²C bus baud rate on the Raspberry Pi to 400 kHz, but this did not improve the results.
You can find the diagram in the attached image.
I would appreciate your kind assistance.
Best regards,
shdkia
12-08-2025 01:40 AM
Hello everyone,
I found the solution. Please check the following link:
https://forums.raspberrypi.com/viewtopic.php?t=146946
It is necessary to modify the Raspberry Pi configuration and increase the baud rate to 1 MHz.