cancel
Showing results for 
Search instead for 
Did you mean: 

CPU Frequency. What is it?

ulivo15
Associate II
Posted on July 21, 2004 at 08:38

CPU Frequency. What is it?

3 REPLIES 3
ulivo15
Associate II
Posted on July 19, 2004 at 07:08

Pardon, i'm a beginner.

The CPU Frequency is equal to the RC oscillator? (In the st7lite09 there is an internal RC Oscillator (1 MHz): is the CPU Frequency at 1 MHz?)

I need a baud rate of 31250 with a st7lite09. I can make it with the SPR bits, but how to set the CPU Frequency?

What are the ways to modify the CPU Frequency?

I thank you - Grazie mille - Je vous remercie
anshul
Associate II
Posted on July 20, 2004 at 08:34

Yes, you are perfectly right the CPU frequency is equal to the RC oscillator frequency and it will be 1 MHz in ST7FLite09 when you use the Internal RC oscillator tuned to 1MHz.

In order to get a baud rate of 31250 you can use the Internal RC for 1MHz Fcpu and then select a /32 prescalar.

anshul
Associate II
Posted on July 21, 2004 at 08:38

You can refer section on Internal RC adjustment on page 24 of Lite0 datasheet for a better understanding.