Digitial IO pins

Hello.

I have a couple of questions about the digitial IO pins, and if
someone could point me in the right direction I would appreciate it. I
have a DBSRX on side A and a RFX1800 on side B. I wish to output on a
single IO pin. I have tried the following code:

python

from gnuradio import usrp
sink = usrp.sink_c(0, 64)
sink._write_oe(1, 0x0001, 0xffff)
sink._write_io(1,1,0xffff)

I get ‘true’ responses from the above commands, yet never see any
change in the pin status on the dboards? Any suggestions?

Thanks
Jeff

update.

First off, I had a typo in my email. I meant ‘sink.write_io’ instead
of what I wrote. Secondly, I finally was pointed to the schematics of
the rfx900 which helped a lot. I was unaware of the pin layout
before. Got it now!

J101
io_tx_15 —| 1 | 2 | — gnd
io_tx_14 —| 3 | 4 | — gnd
io_tx_13 —| 5 | 6 | — gnd
io_tx_12 —| 7 | 8 | — gnd
io_tx_11 —| 9 | 10 | — gnd
io_tx_10 —| 11 | 12 | — gnd
io_tx_09 —| 13 | 14 | — gnd
io_tx_08 —| 15 | 16 | — gnd

Thanks
Jeff

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs