Hello @VIGNESH_BABU
It's hard to spot a problem just by looking at the code.
Recommend you refer to the example Alex Wang mentioned above. Also you can use MCXpresso configure tool for peripherals inside MCUXpresso IDE to config. It will generated code by automatically. 
If there is still issue, recommend debug step by step to check.
BR
Alice