Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Thread

stk502 atmega169 clocks

stk502 atmega169 clocks

2008-03-31 by bronzefury

Hi,

I'm using WinAVR, AVR Studio 4, STK502 development board populated with 
an atmega169.  I'm currently trying to understand how to use the UART 
and am reading the ATMEGA169 datasheet (doc2514).  To help me 
understand how to use the UART, I'm trying my best not to look at any 
code to see if I can figure it out by understanding all the gory 
details.

The atmega169 datasheet refers to a variable called fosc in the USART 
secstion and I'm having a tough time figuring out what fosc is for the 
stk502.  Can anyone provide guidance as to what this value is and how 
to figure it out?

Again, referring to the stk502, what are the clock frequencies for clk
(CPU), clk(FLASH), clk(I/O), and clk(ASY)?  And, how are these 
frequencies derived?

Thanks,
bronzefury

Re: [AVR-Chat] stk502 atmega169 clocks

2008-03-31 by John Samperi

At 04:32 PM 31/03/2008, you wrote:
>what fosc is

The oscillator clock frequency

>Again, referring to the stk502, what are the clock frequencies for clk
>(CPU), clk(FLASH), clk(I/O), and clk(ASY)?  And, how are these
>frequencies derived?

These are internal clocks that should not worry you as they are
derived from the main fosc. (ie crystal frequency if used)

Regards

John Samperi

********************************************************
Ampertronics Pty. Ltd.
11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA
Tel. (02) 9674-6495       Fax (02) 9674-8745
Email: john@ampertronics.com.au
Website  http://www.ampertronics.com.au
*Electronic Design * Custom Products * Contract Assembly
********************************************************

Re: stk502 atmega169 clocks

2008-03-31 by bronzefury

Hi,

Does anyone happen to know how I can find out what CLKSEL is driven to 
from within Studio 4?  If not from Studio 4, is there some other means?

Thanks,
bronzefury

RE: [AVR-Chat] Re: stk502 atmega169 clocks

2008-04-01 by Raymond Hurst

________________________________
Show quoted textHide quoted text
From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf
Of bronzefury
Sent: Monday, March 31, 2008 5:40 PM
To: AVR-Chat@yahoogroups.com
Subject: [AVR-Chat] Re: stk502 atmega169 clocks

 

Hi,

Does anyone happen to know how I can find out what CLKSEL is driven to 
from within Studio 4? If not from Studio 4, is there some other means?

Thanks,
bronzefury

 

I believe what you are looking for is located in the programmer AVR button
in the fuses tab.

Ray



[Non-text portions of this message have been removed]

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.