Hi,
I started to do a coding for Microcontroller, I have some following doubts,
1) Every Microcontroller has Clock(Which will vary controller by controller). Take it for example,
I am using a Controller which is having 32MhZ. This frequency can be changed for 16MhZ also. But how can i change this.
Is there any Hardware register to achieve this.
2) If my process is multi threading, is it possible to set a different frequency for two running thread.
3) Running RTC
i) I have seen that, RTC will run only on External Crystal. Why it will not run internal(Controller Clock)?
ii) I read some where, if want to take a reference of External Clock, Need to access from a GPIO. Is this Correct,
If Yes, how can i reference through GPIO. If No, then what should i do in program to access External Crystal.
I started to do a coding for Microcontroller, I have some following doubts,
1) Every Microcontroller has Clock(Which will vary controller by controller). Take it for example,
I am using a Controller which is having 32MhZ. This frequency can be changed for 16MhZ also. But how can i change this.
Is there any Hardware register to achieve this.
2) If my process is multi threading, is it possible to set a different frequency for two running thread.
3) Running RTC
i) I have seen that, RTC will run only on External Crystal. Why it will not run internal(Controller Clock)?
ii) I read some where, if want to take a reference of External Clock, Need to access from a GPIO. Is this Correct,
If Yes, how can i reference through GPIO. If No, then what should i do in program to access External Crystal.