Skip to content

Commit

Permalink
debug keypad_i2c #798
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Gardner-Stephen committed Apr 4, 2024
1 parent 6f8b2c2 commit 2bdfdee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/vhdl/keypad_i2c.vhdl
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,8 @@ begin
i2c1_rw <= '1';
i2c1_command_en <= '1';
if busy_count > 1 then
report "Storing I2C_rdata = $" & to_hexstring(i2c1_rdata)
& ", i2c1_error = " & std_logic'image(i2c1_error);
bytes(busy_count - 1 - 1 + 0) <= i2c1_rdata;
end if;
when 10 =>
Expand Down

0 comments on commit 2bdfdee

Please sign in to comment.