Hi Alexey,
MKM33Z128ACLH5 and PMKM34Z128CLL5 have some differences.
You can find it from this picture:


So, please check your code, change the header file to KM33, and check the code, whether you operate the PIN and module which KM33 don't have?
Besides, check the clock system, whether the code clock system configuration is the same as your board? Eg, if use the external crystal, the code configuration should meet your board demand, or use the internal IRC.
You can comment the code in your main function, modify it as the simplest, then it will help you to check the root problem.
Have a great day,
Jingjing
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------