Hello priyanka v,
Please tell us the full name of your KL17 chip, KL17 chip flash larger than 128K and the chip flash smaller than 128K is not the same.
Actually, about the interrupt code, you can refer to our according KSDK code at first.
If you are using MKL17Z64VLH4( or flash size is 64K,32K), you can refer to KSDK code for FRDM-KL27.
If you are using MKL17Z128VLH4(or flash size is 128K,256K), you can refer to KSDK code for FRDM-KL43.
You can download the KSDK code from this link:
Welcome to MCUXpresso | MCUXpresso Config Tools
SDK builder, then choose the according board, generate the KSDK code and download it.
You can find the uart interrupt code in folder:SDK_2.2_FRDM-KL27Z\boards\frdmkl27z\driver_examples\uart\interrupt
Please refer to official code at first.
If your problem still exist, please let me know!
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------