WARP Project Forums - Wireless Open-Access Research Platform

You are not logged in.

#1 2010-Aug-09 04:26:27

Christian
Member
Registered: 2010-Feb-26
Posts: 124

DebugIO Pins

Hello,

I want to utilize the DebugIO pins (J16) to connect an external circuit (sensors/actors) with the WARP board. To do this, I have several questions for which I could not find an answer in the Rice and/or Xilinx documents.

1) Electrical considerations:
What are the allowed current limitations for the VirtexIIP/4? I found limitations for the Virtex4 (link) to be 10mA (recomm. p. pin) and 100mA (max. p. pin).

2) FPGA considerations:
Do I have to change anything in the design files (e.g. change Bank0 behavior to be input-and-output), or is it sufficient to configure the xps_gpio core accordingly (bi-directional non-input-only)? Do I have to add information buffers in the FPGA fabric?

3) Code considerations:
Is it sufficient to use the XGpio_mGetDataReg macro to get information from the pins, or do I also have to use XGpio_mSetDataDirection and/or other macros?

Any comments/hints are highly appreciated.

Christian

Last edited by Christian (2010-Aug-09 04:27:15)

Offline

 

#2 2010-Aug-09 10:43:45

sgupta
Administrator
Registered: 2007-Feb-26
Posts: 104

Re: DebugIO Pins

1) 10mA is the maximum. The I/O pins have protection diodes to prevent blowing out the pin and they limit the current to 10mA. The 100mA is the absolute maximum and I don't recommend being that close. Both versions of the FPGA Board connect to a 3.3V I/O bank.

2) All you should need is the gpio core and the entries in the UCF file.

3) XGpio_DiscreteRead is also a good way to read the bits.

Offline

 

#3 2010-Aug-09 11:18:52

murphpo
Administrator
From: Mango Communications
Registered: 2006-Jul-03
Posts: 5159

Re: DebugIO Pins

3) You can also drive/access the pins directly from custom cores. We do this extensively in the OFDM ref design, to monitor when the PHY is transmitting or receiving a packet. These signals are outputs from the PHY sysgen model, connected to top-level ports in the XPS project and constrained to the debug pins in the UCF file.

Offline

 

#4 2010-Aug-12 12:33:21

Christian
Member
Registered: 2010-Feb-26
Posts: 124

Re: DebugIO Pins

Thanks for the information.

Offline

 

Board footer