Skip to main content
ulivo15
Associate II
July 21, 2004
Question

CPU Frequency. What is it?

  • July 21, 2004
  • 3 replies
  • 891 views
Posted on July 21, 2004 at 08:38

CPU Frequency. What is it?

This topic has been closed for replies.

3 replies

ulivo15
ulivo15Author
Associate II
July 19, 2004
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
July 20, 2004
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
July 21, 2004
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.