Dear all,
I've found source of the problem. The code is OK. The issue was caused by low core voltage. My core run on 96MHz, compiler set the medium voltage level. Until I do not run many peripherals everything was wright, but when my program grown up the core needs more power :). I set core voltage on maximum and problem disapeard.