Computation shield PS2 port 1 issue


foft

Recommended Posts

If I use PS2 port one on the classic computing shield it works, but eventually the lights on my keyboard start flashing. I'm using the port purely as an input from the FPGA.

PS2_CLK1 :  IN  STD_LOGIC;
PS2_DAT1 :  IN  STD_LOGIC;

 

I do not have this issue with PS2_CLK2/PS2_DAT2, so will use them for now.

 

I see the pins are shared with the arduino so I guess that is related. In my vhdl code I'm holding the arduino in reset with:

ARDUINO_RESET <= '0';
 
Is there a workaround for this? I guess I should take the arduino out of reset them upload some code to it to ensure these pins are high impedance?
Link to comment
Share on other sites

Hmmmm,

 

I see that the pins for PS2 port 1 are connected to D4 and D5 which are shared with the AVR pins... But like you say, holding the arduino reset pin in reset should put those pins in High-Z and cause them to not do anything. Maybe let the AVR run and run a sketch to turn the pins into inputs and see if that makes a difference.

 

Jack.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.