Sasha_Mishutina
Newbie level 4
- Joined
- Aug 21, 2011
- Messages
- 6
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Location
- St.Petersburg
- Activity points
- 1,320
Hello!
I am trying to make interface PS/2 Keyboard with Altera FPGA on Altera DE1 board.
But all data bits I receive are zeros.
I made another curcuit in FPGA that puts all bits from PS2_DAT line in memory when negative edge of PS2_CLK line:
Every time I press and release any key, I recieve this:
-1 start bit is zero
-8 data bit are zero (WHY??)
-1 parity bit is one
-1 stop bit is one
I recieve 3 11-bit packets when press and release key:
0 00000000 1 1
0 00000000 1 1
0 00000000 1 1
Why make code and break code are zeros?
Keyboard is not broken
Maybe any initialization procedure is needed like in PS/2 mouse?
I am trying to make interface PS/2 Keyboard with Altera FPGA on Altera DE1 board.
But all data bits I receive are zeros.
I made another curcuit in FPGA that puts all bits from PS2_DAT line in memory when negative edge of PS2_CLK line:
Every time I press and release any key, I recieve this:
-1 start bit is zero
-8 data bit are zero (WHY??)
-1 parity bit is one
-1 stop bit is one
I recieve 3 11-bit packets when press and release key:
0 00000000 1 1
0 00000000 1 1
0 00000000 1 1
Why make code and break code are zeros?
Keyboard is not broken
Maybe any initialization procedure is needed like in PS/2 mouse?