You say that you need to do it and then ask if that would be useful!!Thank you for the reply. Sorry i saw some codes where they were switching from internal clock to external oscillator. So i was little confused i also need to do the same way. Now i understood that i can directly configure for external oscillator. General question is when this clock switching will be useful? can you explain me.