/*** Switch Performance level 
 *** from PL0 (Default after reset) to PL2
 ***/ 
    PM->PLCFG.bit.PLSEL = 2;
    while(PM->INTFLAG.bit.PLRDY == 0);