12 mhz vs 20 mhz

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
psc
Rank 1
Rank 1
Posts: 32
Joined: Sat Nov 15, 2008 9:51 pm

12 mhz vs 20 mhz

Post by psc » Sun Mar 22, 2009 6:49 pm

hi,

i searched the forum for an answer, but found nothing. my question is really basic:
if i use a 20 mhz clock instead of 12 mhz, does it means that the rest of the processing will be faster?

pat

horo
Rank 2
Rank 2
Posts: 63
Joined: Tue Mar 04, 2008 2:26 pm
Location: Berlin & Lindau, Germany

Post by horo » Mon Mar 23, 2009 10:55 am

Hi pat,

yes you're right - the proc will run faster over your code.

Ciao Martin

christian
Objective Development
Objective Development
Posts: 1443
Joined: Thu Nov 09, 2006 11:46 am

Re: 12 mhz vs 20 mhz

Post by christian » Sat Apr 11, 2009 6:45 pm

Of course. However, the time spent in the USB interrupt is the same.

Post Reply