<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forums.obdev.at/app.php/feed/topic/3501" />

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2009-11-10T12:17:54+02:00</updated>

	<author><name><![CDATA[Objective Development Forums]]></name></author>
	<id>https://forums.obdev.at/app.php/feed/topic/3501</id>

		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2009-11-10T12:17:54+02:00</updated>

		<published>2009-11-10T12:17:54+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3501&amp;p=11906#p11906</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3501&amp;p=11906#p11906"/>
		<title type="html"><![CDATA[Re: Changing Clock Speeds]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3501&amp;p=11906#p11906"><![CDATA[
These two defines should be all you need to change. And then you need to do a &quot;make clean&quot; because there are no dependencies on usbconfig.h and Makefile.<br /><br />AVRs can usually be overclocked quite a bit, so I doubt that it's a hardware problem. I've tested the 20 MHz module myself and it worked for me (still works in one of my projects).<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Tue Nov 10, 2009 12:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2009-11-08T00:07:32+02:00</updated>

		<published>2009-11-08T00:07:32+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3501&amp;p=11863#p11863</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3501&amp;p=11863#p11863"/>
		<title type="html"><![CDATA[Re: Changing Clock Speeds]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3501&amp;p=11863#p11863"><![CDATA[
See datashhet to ATmega168. 20 MHz clock rate may be possible at voltage more than 5 V. Try to use self-power device at ~6 V, try to use other MCU, use stable V-USB lib drivers.<br />Best regards, Saimon.<p>Statistics: Posted by Guest — Sun Nov 08, 2009 12:07 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alan Chatham]]></name></author>
		<updated>2009-11-07T10:31:23+02:00</updated>

		<published>2009-11-07T10:31:23+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3501&amp;p=11838#p11838</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3501&amp;p=11838#p11838"/>
		<title type="html"><![CDATA[Changing Clock Speeds]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3501&amp;p=11838#p11838"><![CDATA[
So this is probably a dumb question, but is there something more you have to do to use a different clock speed than just redefine the F_CPU and USB_CFG_CLOCK_KHZ values to reflect your new clock speed?<br /><br />I've been working on a project with a 16mHz external clock chip.  I'm trying to make more of them, but all I have is 20mHz clock chips.  My code works just fine with the 16mHz chips. However, when I plug in a 20mHz clock, make clean, modify the F_CPU and CLOCK_KHZ values in usb-config.h, and recompile, the device is no longer recognized by Windows.  Is there something else I have to change, or should I just order some more 16mHz chips?  I'm currently running on an ATMega168 at 5v, with 3.6v zener diodes dropping the USB line voltage.<br /><br />Thanks,<br />Alan Chatham<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=2888">Alan Chatham</a> — Sat Nov 07, 2009 10:31 am</p><hr />
]]></content>
	</entry>
	</feed>
