Welcome in the forum.
It is easier for us to help when you post your complete project, so that we all can have a look at all of your settings. To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.
Your code looks ok at first sight, although I wouldn't try in a do-while loop to repeat an action when an error was returned.
Thank you for reply.
I attached the bundled filed.
>> although I wouldn't try in a do-while loop to repeat an action when an error was returned.
I can't understand mean...I'm sorry.
Are you facing any issues in the project. I tested the attached project with Delsig_I2CM_Test01 as slave project and your project is working fine. I could see proper output at slave end.
1. Please make sure that I2C slave address and the I2C clock frequency are slave at both master and slave project.
2. Once master and slave is programmed, please power the slave first and power the master as second. Let me know if this is working.
Thank you very much, I solved the problem.
I2C address was wrong.... I'm so sorry for easy mistake.