i have the same problem with an LPC1788 (Cortex M3)
It works with multitasking! i use the i2c master! As long as I do not use the function i2c master The program works fine works But if I use the function i2c master Micro does not work!
Thank you for your help
If you do a task lock (or use a thread with highest priority) and call a function that hangs, then you are expected to get stuck.
Still no indication that you have spent any time trying to figure out where in the I2C code you get stuck. That is still part of the debugging you should do.