Hi mylim,
What's the code you are using now?
Do you mean you use the FRDM-K22 sample code?
If yes, you are wrong, your chip MK22FN1M0VLH12 can't use the FRDM-K22 sample code, you need to refer to the TWR-K21F120M code, you can download the SDK from this link:
Welcome | MCUXpresso SDK Builder
Choose the processor as MK22FN1M0VLH12 , generate the code and download it:

Please note, after you download the code, you also need to change the according chip device file to the K22, please check this folder:
SDK_2.3.1_MK22FN1M0Axxx12\devices\MK22FA12
You can try it on your side.
If you still have question about it, please kindly let me know.
Have a great day,
Kerry
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------