Hello List, I tried to get a signal over the i2c interface but it wasn't sucsessful. Do you have an idea how to enable the i2c interface on the fl2k chip?
Best whishes, Torben
Hi Torben,
On 11.06.2018 22:15, Torben Keil wrote:
I tried to get a signal over the i2c interface but it wasn't sucsessful. Do you have an idea how to enable the i2c interface on the fl2k chip?
I have some code sitting here, but when I wanted to clean it up recently, it didn't work anymore as expected. I'll need to debug it with a logic analyzer. Note that the FL2000 can only do I2C transfers of a fixed length of 4 bytes, it was probably really only meant to read EDID EEPROMs. In the original driver, single register writes to the ITE HDMI interface chip that some devices have are first reading 4 registers, then modifying the desired byte, and then writing them back.
Regards, Steve
Hi Steve,
do you have a git repository for the code so that I could have a try?
Regards, Torben
Am 11.06.2018 22:57, schrieb Steve Markgraf:
Hi Torben,
On 11.06.2018 22:15, Torben Keil wrote:
I tried to get a signal over the i2c interface but it wasn't sucsessful. Do you have an idea how to enable the i2c interface on the fl2k chip?
I have some code sitting here, but when I wanted to clean it up recently, it didn't work anymore as expected. I'll need to debug it with a logic analyzer. Note that the FL2000 can only do I2C transfers of a fixed length of 4 bytes, it was probably really only meant to read EDID EEPROMs. In the original driver, single register writes to the ITE HDMI interface chip that some devices have are first reading 4 registers, then modifying the desired byte, and then writing them back.
Regards, Steve
Hi Torben,
On 16.06.2018 09:40, Torben Keil wrote:
do you have a git repository for the code so that I could have a try?
I've debugged and cleaned up the I2C code and just pushed it. I2C transfers with the FL2000 seem to fail from time to time, so make sure to check the return code of fl2k_i2c_read()/fl2k_i2c_write().
Regards, Steve