The appropriate C-Code is as follows:
FT_HANDLE ftHandle = NULL;
FT_STATUS ftStatus;
ftStatus = FT_OpenEx((PVOID)g_FT4222DevList[0].LocId, FT_OPEN_BY_LOCATION, &ftHandle);
if (FT_OK != ftStatus)
{
printf("Open a FT4222 device failed!\n");
return 0;
}
printf("\n\n");
printf("Init FT4222 as I2C master\n");
ftStatus = FT4222_I2CMaster_Init(ftHandle, 400);
if (FT_OK != ftStatus)
{
printf("Init FT4222 as I2C master device failed!\n");
return 0;
}
So the problem is related to some pointer arithmetic. I hope anyone can help.
Kind regards Sebastian

