[USRP-users] Re: Trouble controlling GPIO on x310

2024-09-30 Thread Martin Braun
It's the latter. As you can see, physical pin 1 for example is +3.3V, and not a data pin (and then you need to shift the rest up). --M On Mon, Sep 30, 2024 at 4:05 PM Will Haftel via USRP-users < usrp-users@lists.ettus.com> wrote: > Yes, I was measuring the pins with an oscilloscope while the

[USRP-users] Re: Trouble controlling GPIO on x310

2024-09-30 Thread Will Haftel via USRP-users
Yes, I was measuring the pins with an oscilloscope while the application was running. Maybe I am misunderstanding how the pin mapping works. Does (1<<2) correspond to Pin 2/Data\[0\] or Pin 4/Data\[2\]? When writing this code, my assumption was the former. Thanks, Will __

[USRP-users] Re: Trouble controlling GPIO on x310

2024-09-30 Thread Martin Braun
This looks fine. Two questions: - Have you double-checked the pin mapping? ( https://uhd.readthedocs.io/en/latest/page_usrp_x3x0.html#x3x0_hw_gpio) - Are you querying this during operation of your app, or do you let the app terminate and then measure voltages? --M On Fri, Sep 27, 2024 at 8:59 PM