I2C controller in beaglebone black

Hello,
Anyone has good knowledge of i2c controller in BBB. When I am writing data to i2c_data register(offset=9ch) my BBB gets hang. I am not able to debug what is problem with it. Any one can tell me why this would happen? I have checked properly the status register and programmed.