Post Go back to editing

Synchronizing ADALM-Pluto SDRs Using GPIO Pins and TDD Engine in MATLAB

Thread Summary

The user is seeking guidance on configuring GPIO pins for synchronization of four ADALM-Pluto SDRs and CN0566 Phasers in MATLAB. The final answer directs the user to a MathWorks example for TDD engine configuration and GPIO usage. The user's code for enabling the L10P pin as an output trigger is mostly correct, but the 'SyncSoft' attribute should not be used if an external pulse is applied to the L12N pin for synchronization. The TDD engine can be triggered either by an external pulse on L12N or by setting the 'SyncSoft' attribute to start the L10P pulses.
AI Generated Content
Category: Software
Software Version: v0.39 pluto firmware and matlab control with GPIO

I am working on a project involving four ADALM-Pluto SDRs and CN0566 Phasers, and I need to synchronize their receive operations using GPIO pins and the TDD engine. Specifically, I want to configure one Pluto SDR as the master device to trigger itself for reception and output a GPIO signal (e.g., on L10P - PL_GPIO_0) to the remaining three slave devices. The slave devices should use this GPIO signal (e.g., on L12N - PL_GPIO_1) to synchronize their reception.

I am using MATLAB for this setup and have successfully controlled the Phasers and Pluto SDRs for beamforming and data capture. However, I am unsure about the exact commands or attributes required to enable and configure GPIO pins for synchronization in MATLAB. For example, I’ve seen references to adi.one_bit_adc_dac in Python for enabling GPIO functionality, but I don’t know if there’s an equivalent in MATLAB. Additionally, I want to confirm the correct physical wiring (e.g., tying GND2 pins together) and whether the TDD engine can reliably trigger GPIO outputs.

Could anyone provide guidance or share their experience with GPIO-based synchronization for ADALM-Pluto SDRs in MATLAB? Any advice on the proper configuration, commands, or alternative approaches would be greatly appreciated!

Thanks.

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.