Altera_Forum
Honored Contributor
12 years agoDrive leds with CPLD
Hello, sorry form my little question about currents.
I'm trying to reduce the components usage of an board using a CPLD. I wan't to control buttons, leds and logic with a MAXV, but I'm not sure how many led's can I drive using it. I have read from the device manual that it can drive +-25mA, but it's the absolute ratings, I have found the document "an286.pdf" where they mencion limits based on a table of "Maximum Source Current Per VCCIO Group" and "Maximum Sink Current Per GNDIO Group" but I cannot find this for the MAX V CPLD in the table netither in the dc caracteristic nor the website. I hoped to put the CPLD output, an resistor and the LED to ground, ensuring that it drives 10mA and use like 20 leds, but i'm not sure if I going out of spec or not, and I'm not sure if it best this or connect to +3.3V and sink the current. Hopping that you could give me some points, thanks