Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/14/03 03:36
Read: times


 
#58619 - P89LPC932 Clock Speed
Hi I need to reduce the clock speed on the P89LPC932. I am using the internal clock oscillator as the clock source. Right now it is configured to run at about 7MHz but I need to reduce it to about 2MHz. The user's manual says by modifying the DVIM register I could get lower clock rate.
This is the formula I have:
CCLKf = Fosc/(N+1) ===> 2MHz = 7.3728MHz/(2+1)
So that my DIVM = 2.
I need to know if I have the right approach. If so where in my program do I need to specify that DIVM = 2 and how do I specify that...I mean is there a SFR name or just DIVM = 0x02;
Thanks
This message was also posted at
http://www.keil.com/discuss/postmsg.asp

List of 6 messages in thread
TopicAuthorDate
P89LPC932 Clock Speed            01/01/70 00:00      
   RE: P89LPC932 Clock Speed            01/01/70 00:00      
      RE: P89LPC932 Clock Speed            01/01/70 00:00      
         RE: P89LPC932 Clock Speed            01/01/70 00:00      
      RE: P89LPC932 Clock Speed            01/01/70 00:00      
      RE: P89LPC932 Clock Speed            01/01/70 00:00      

Back to Subject List