Hi,
I got trouble with the I2C stop condition if I try to execute them outside the interrupt with a MSP430f21232 configure as Master. I attached to this post an example to illustrate my trouble. Inside the main.h a define select where the stop condition is apply.
Thank you for your advise.