• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Issue with mojo/edid_rom/i2c_slave.

It seems there is a bug in i2c_slave implementation for Mojo/HDMI Shield. I have used rk3328 box as HDMI source in HDMI pass through scenario. On HDMI source I can see error: "failed to get edid".

Inside i2c_slave.luc there is state transition from READ_ACK_WAIT to WRITE_BYTE. It is good idea to check master's ACK/NACK before going to WRITE_BYTE again. Go to IDLE state if master responds NACK. Currently it goes into WRITE_BYTE anyway and continues to write into bidirectional sda line. Such behavior considered incorrect. For more details see please patch in attachment.


Attached Files
.txt   fix_i2c_slave.txt (Size: 354 bytes / Downloads: 7)
Thanks for this! I applied your edit and it'll be in the next release of Alchitry Labs

Forum Jump:

Users browsing this thread: 1 Guest(s)