Yahoo Groups archive

AVR-Chat

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

Message

Re: [AVR-Chat] Re: How do you change the clk speed?

2006-11-22 by John Samperi

At 10:27 AM 22/11/2006, you wrote:
>But
>as far as I can tell the two writes are occurring one right after the
>other.

It all looks ok, what happens after the last write? I have a feeling
(can't find the thread) that you need 4 clock cycles AFTER of doing
nothing before the clock actually changes. Can you put a few (4??) nops
after the last write? I guess anything that does nothing would do.
Can you have a toggling pin driving a led to see if it actually happens
instead of just relying on the current reading?

I remember once trying to use the prescaler on the Tiny2313 with no results
and then giving up :) I may have another go myself.

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
********************************************************

Attachments

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.