Sign In

Don't have a Xilinx account yet?

  • Choose to receive important news and product information
  • Gain access to special content
  • Personalize your web experience on Xilinx.com

Create Account

Username

Password

Forgot your password?
XClose Panel
Xilinx Home
Reply
Visitor
jess4763
Posts: 3
Registered: ‎06-20-2012
0
Accepted Solution

XC3S400 I/O Max Sink Current

Hello,

 

My circuit drives one LVCMOS33 I/O pin low for each LED cathode in set of 38 LEDs. The anode of each LED is connected through a current limiting resistor to the 3.3V rail. I need to decide how low I can set my current limiting resistor and stay within the limits of the FPGA.

 

How much current can each I/O pin sink?

 

How much total current can all 38 I/O pins sink simultaneously?

 

Thanks!

Expert Contributor
eteam00
Posts: 7,505
Registered: ‎07-21-2009
0

Re: XC3S400 I/O Max Sink Current

Check the IBIS models for V vs. I curves.

 

If you need precise control over LED current, consider using external constant current sources which are turned on/off under FPGA control.  A constant current source can be little more than a transistor and a few resistors.

 

-- Bob Elkind

SIGNATURE:
README for newbies is here: http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369

Summary:
1. Read the manual or user guide. Have you read the manual? Can you find the manual?
2. Search the forums (and search the web) for similar topics.
3. Do not post the same question on multiple forums.
4. Do not post a new topic or question on someone else's thread, start a new thread!
5. Students: Copying code is not the same as learning to design.
6 "It does not work" is not a question which can be answered. Provide useful details (with webpage, datasheet links, please).
7. You are not charged extra fees for comments in your code.
8. I am not paid for forum posts. If I write a good post, then I have been good for nothing.
Visitor
jess4763
Posts: 3
Registered: ‎06-20-2012
0

Re: XC3S400 I/O Max Sink Current

Hello Bob,

 

I'm not using the FPGA I/O to control current, the precision of my limiting resistors is sufficient for that purpose. The I/O pin just pulls the circuit to ground and sinks whatever current the resistor sets it to.

 

My concern is sinking too much current through each I/O pin. There is a clamp current spec of +/- 100mA on page 56 of the ds099 datasheet (http://www.xilinx.com/support/documentation/data_sheets/ds099.pdf), however it seems to me that 100mA sink current through 38 I/Os would be excessive.

 

Can you clarify?

 

Thanks

Expert Contributor
eteam00
Posts: 7,505
Registered: ‎07-21-2009
0

Re: XC3S400 I/O Max Sink Current

[ Edited ]

My concern is sinking too much current through each I/O pin. There is a clamp current spec of +/- 100mA on page 56 of the ds099 datasheet (http://www.xilinx.com/support/documentation/data_sheets/ds099.pdf), however it seems to me that 100mA sink current through 38 I/Os would be excessive.

 

Are you sure the clamp current spec is informative in this application?

 

  • There is an over-riding operating conditions spec of 125 deg C die temperature.
  • Each LVCMOS33/LVTTL output can sink at 24mA @0.4V.  Assuming 38 pins all active simultaneously and persistently, this represents roughly steady state 365mW dissipation internally.

The IBIS model should guide you to I vs. V characteristics beyond 24mA sink level.

How much current (peak/average) are you interested in sinking, per pin?

 

-- Bob Elkind

SIGNATURE:
README for newbies is here: http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369

Summary:
1. Read the manual or user guide. Have you read the manual? Can you find the manual?
2. Search the forums (and search the web) for similar topics.
3. Do not post the same question on multiple forums.
4. Do not post a new topic or question on someone else's thread, start a new thread!
5. Students: Copying code is not the same as learning to design.
6 "It does not work" is not a question which can be answered. Provide useful details (with webpage, datasheet links, please).
7. You are not charged extra fees for comments in your code.
8. I am not paid for forum posts. If I write a good post, then I have been good for nothing.
Xilinx Employee
austin
Posts: 3,651
Registered: ‎02-27-2008

Re: XC3S400 I/O Max Sink Current

Further,


The 100 mA per bank is the source or sink ABOVE Vcco, or BELOW ground, to prevent SRC crowbar, or destructive LATCHUP (200 mA total for the device, no more than 100 mA per IO bank.


It has nothing to do with designing drivers to LEDs.


The IBIS models will show you exactly what a driver will drive, when set for a specific standard.  For example, the 24 mA driver is gauranted for a minimum of 24 mA, sink or source, at valid logic high and low levels, over all process, voltage, and temperature conditions.  Is it able to drive more than 24 mA?  Absolutely:  it may drive as much as 120 mA if you force it to.  So, don't force it to drive any more than what it is gauranteed to do.  So, if you choose a 8 mA driver, do not use it to drive more than 8 mA!  If you choose a 12 mA driver, do not use it to drive more than 12 mA.  And so on, and so forth.

 

 

Austin Lesea
Principal Engineer
Xilinx San Jose
Visitor
jess4763
Posts: 3
Registered: ‎06-20-2012
0

Re: XC3S400 I/O Max Sink Current

Bob/Austin,

 

This answers my question.

 

Thanks for your time!