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
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
__
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