hi Kef
thanks for your response.
But I want to explain the points as you mentioned ,
1. IBIF flags automatically set to zero ,and I m clearing it by writting 1 to it(in the same way as it can be done )
This seems to be fine.
2.As far as RXAK is concerned ,I am just checking it for acknowledgement purpose.To confirm that data has been received.
3.I changed RSTA in the way you said.I set it '1 ' after sending 0xD1.
But,then it does not read data at all.
4.As you mentioned the last point ,I have made those changes .
IIC0_IBCR_MS_SL = 0;
RD_data = IIC0_IBDR;
but its working in the same manner.
But ignoring data first time does not help,it does not read data at all.
So my problem remains the same.
I want to read data again and again from the same address (as I have to read time again & again).
which is not happening.
If you know any other solution ,please let me know.
Thanks
SARY