Hi,
At first, please check that you have connected 4k7 pull-up resistor connected to I2C lines. The pins SDA, SCL should be "high" when no data are transferred from master.
Please check the error code that is returned by MasterSend/ReceiveBlock(). If the lines would not be in correct "IDLE" state, these methods would return ERR_BUSY.
To catch potential errors during communication, please enable the OnError event (in Events tab of the component inspector) and put some code there. To get detailed error information, use the GetError method.
Note: To enable these methods and events, you may need (If you already haven't do so) switch to Advance or Expert view mode (button at top-right in inspector view).
Please also note that the slave device has to be connected to the I2C pins, otherwise the communication always ends with an error, because the slave must send acknowledge after it receives the address etc..
Best regards
Petr Hradsky
Processor Expert Support Team