- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
XC3S400 I/O Max Sink Current
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-20-2012 09:42 AM
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!
Solved! Go to Solution.
Re: XC3S400 I/O Max Sink Current
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-20-2012 10:04 AM
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
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.
Re: XC3S400 I/O Max Sink Current
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-20-2012 10:51 AM
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_s
Can you clarify?
Thanks
Re: XC3S400 I/O Max Sink Current
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-20-2012 11:22 AM - edited 06-20-2012 11:23 AM
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_s
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
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.
Re: XC3S400 I/O Max Sink Current
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-20-2012 01:13 PM
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.
Principal Engineer
Xilinx San Jose
Re: XC3S400 I/O Max Sink Current
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-20-2012 03:42 PM
Bob/Austin,
This answers my question.
Thanks for your time!











