2004-07-20 11:38 PM
2004-07-18 10:08 PM
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 remercie2004-07-19 11:34 PM
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.2004-07-20 11:38 PM
You can refer section on Internal RC adjustment on page 24 of Lite0 datasheet for a better understanding.