Altera_Forum
Honored Contributor
14 years agoDE2 Expansion Header Mystery
I recently received an Atera DE2 board with a Cyclone II FPGA. I have been experimenting with the expansion headers and I am having trouble understanding why my daughter card is not receiving any power. When I turn the assigned switch to high my DMM reads 3.3 volts at the end of the IDE cable (when it is not connected to the daughter card). This is the correct result.
However, when I connect the IDE cable to my daughter card (with logic code below) the voltage actually drops to something like .6V when it is connected. Obviously, the daughter card doesn't work. BUT, if I disconnect the IDE cable and reassign the pins so that power to the daughter card comes from the constant vcc 3.3 volt pin and gnd it works with no problems. (But I have no control of the vcc pins) I was under the impression that each expansion header pin had an output of 3.3v. Am I missing something? I apologize for my ignorance. I'm learning! Any ideas/guidance would be greatly appreciated. The extremely basic code:
library ieee;
use ieee.std_logic_1164.all;
entity expansion is
port( a : in std_logic; y : out std_logic );
end entity expansion;
architecture when_else of expansion is
begin
y <= a;
end architecture when_else;
--Pin Assignment
a = PIN_N25
y = PIN_D25