[USRP-users] Toggling GPIO's from USRP FPGA
ianb at ionconcepts.com
Tue Oct 28 02:13:15 EDT 2014
OK first off…STOP!
You can not reuse GPIO that are already being used by a daughter board, both io_tx and io_tx are used by the WBX and are not available for your free use.
Re-purposing GPIO pins that are already in use without careful consideration risks effects on the spectrum between: unexplained behavior, through board destruction.
If you need a bus of 6 bits then, as shown on page 5 of the WBX schematic bits [13:8] of io_tx are UNUSED. Leave bits of GPIO used by the daughter board connected to the GPIO_ATR modules.
(Note also that there is an error on page4 of the current WBX schematic - io_rx is unused, io_rx controls RX1/RX2 selection.)
Now if what you mean by:
> but i see a strange fix pattern of sin wave.
is that you examine a single bit of GPIO and do not see clean digital edges but instead see large rise and fall times w.r.t the expected toggle frequency then it's likely you are toggling that signal too fast…remember these are not signal traces optimized for the transfer of high speed bussed data.
What clock is driving your counter? Does the MSB of your counter look better than the LSB?
The Mictor connector on the N210 motherboard is a far better choice if you need to add a user designed high speed data interface to N210.
On Oct 27, 2014, at 9:47 PM, Anum Sheraz via USRP-users <usrp-users at lists.ettus.com> wrote:
> Hi there,
> I have configured a new custom block inside the FPGA of USRP N210. This block contains a simple 6 bit up Counter. and i've connected the these 6bits output to the io_tx[15:10] line on the FPGA. instead of io_tx[15:0] going directaly to the GPIO_atr module, now its 6 bits [15:10] are connected to the counter's output and the remaining 10 bits are not used.
> I've tested the output of these Pins on oscilloscope, but i see a strange fix pattern of sin wave. i am expecting to see a square pulse.
> My daughter board is WBX and a Simple Granddaughterboard , GPIO pins that are available are brought out to J15 on the GDB for WBX. I was reading the schematic of this GDB and i found out some conditions of using these GPIO. do i need to keep the io_rx=0 ?
> its all going above my head. Does anyone has any idea about this ?
> Any help will be highly appreciated.
> USRP-users mailing list
> USRP-users at lists.ettus.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the USRP-users