go_away

Author Topic: Checking system clock speed on at atmega88  (Read 1742 times)

0 Members and 1 Guest are viewing this topic.

Offline stopgoTopic starter

  • Full Member
  • ***
  • Posts: 58
  • Helpful? 0
Checking system clock speed on at atmega88
« on: May 10, 2008, 10:39:20 PM »
Any idea how I can use a scope to do this?  I think my fuses are correctly set, but it would be nice to be sure.

Offline benji

  • Supreme Robot
  • *****
  • Posts: 832
  • Helpful? 0
Re: Checking system clock speed on at atmega88
« Reply #1 on: May 11, 2008, 03:21:41 AM »
download a program which set a pin on and of ,somthing like this

define xtal 8mhz
[
Code: [Select]
while(1)
{ portd.0 = 0;
 delay_ms(20);
portd.0=1;
delay_ms(20);
}
check with osci if the timing is right then its running under 8 mhz
good ol' BeNNy

 

Related Topics

  Subject / Started by Replies Last post
2 Replies
2256 Views
Last post October 08, 2010, 06:56:46 PM
by macdad-
6 Replies
837 Views
Last post February 15, 2011, 08:59:44 AM
by waltr
2 Replies
514 Views
Last post April 29, 2012, 01:10:01 AM
by Eithman
5 Replies
246 Views
Last post March 26, 2013, 10:16:17 AM
by SUTO the G


Get Your Ad Here

data_list