I have to wait at least 1ms for back to back writes, Please suggest. Code Attached
There is no requirement to wait 1ms. I suggest you put the SCL and SDA on the scope or logic analyzer and look at what happens when you don't do your delay. I suspect you will see your I2C dode doing something you don't expect.
Retrieving data ...