We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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.8052.com/forum/
This is correct: CCLK=fosc/(2*N)