I´m from Czech Republic (so, I´m Dmitry´s neighbour, almost :-)). By the way, and as You can see my English is very poor...
So, my next advice is very simple, too - download ZigBee application examples and templates (which will really help with your coding) from
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=BEEKIT_WIRELESS_CONNECTIVITY_TOOLKITCorrect code sequence is in most of examples:
MCUInit();
MC13192Init();
MLMEMC13192PAOutputAdjust(MAX_POWER);
MLMESetMC13192ClockRate(0);
UseExternalClock();
As I said, there are many SMAC examples that allow write simple application by your changing of MAIN function only.
Perhaps, it will help a bit of...
Have a nice day,
Iggy