I have a problem with I2C1 the configuration is:
i2c_vyb.VybI2c_Open(hI2c);
i2c_vyb.VybI2c_SetConfigInt(hI2c, "BitRateHz", 100000, TdxCommon.ParamStorageType.StoreVolatile);
i2c_vyb.VybI2c_SetConfigInt(hI2c, "SlaveAddrSize", 7, TdxCommon.ParamStorageType.StoreVolatile);
i2c_vyb.VybI2c_SetConfigInt(hI2c, "RegisterAddr", 0, TdxCommon.ParamStorageType.StoreVolatile);
i2c_vyb.VybI2c_SetConfigInt(hI2c, "RegisterAddrSize", 0, TdxCommon.ParamStorageType.StoreVolatile);
i2c_vyb.VybI2c_SetConfigInt(hI2c, "SlaveAddr", 0x60, TdxCommon.ParamStorageType.StoreVolatile);
IntPtr valuePointer = Marshal.AllocHGlobal(values.Length);
Marshal.Copy(values, 0, valuePointer, values.Length);
i2c_vyb.VybI2c_Write(hI2c, valuePointer, (uint)values.Length);
Marshal.FreeHGlobal(valuePointer);
After a few minutes the I2C1 line is down and I can’t do nothing only reboot help.
Visible on the pictures from oscilloscope :
!