<?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/1836" />

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2008-11-16T22:55:06+02:00</updated>

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

		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2008-11-16T22:55:06+02:00</updated>

		<published>2008-11-16T22:55:06+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1836&amp;p=6684#p6684</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1836&amp;p=6684#p6684"/>
		<title type="html"><![CDATA[About RC12.8MHz.]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1836&amp;p=6684#p6684"><![CDATA[
You can't use osccal.c anyway, because to code is too big for the ATTiny2313. The 12.8 MHz module is not suitable for the ATTiny2313.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Sun Nov 16, 2008 10:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2008-11-15T05:59:11+02:00</updated>

		<published>2008-11-15T05:59:11+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1836&amp;p=6673#p6673</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1836&amp;p=6673#p6673"/>
		<title type="html"><![CDATA[7bit OSCCAL  products]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1836&amp;p=6673#p6673"><![CDATA[
ATTINY2313 OSCCAL length is 7bit.<br />The initial OSCCAL value is 128 in oeccal.c so ATTINY2313 starts OSCCAL=0 as slow 3.5MHz CPU clock.<br /><br />Is step=64 in osccal.c better for 7bit OSCCAL products ?<p>Statistics: Posted by Guest — Sat Nov 15, 2008 5:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2008-11-05T13:13:09+02:00</updated>

		<published>2008-11-05T13:13:09+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1836&amp;p=6600#p6600</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1836&amp;p=6600#p6600"/>
		<title type="html"><![CDATA[About RC12.8MHz.]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1836&amp;p=6600#p6600"><![CDATA[
Seems to be true: the Tiny2313 may not be able to reach 12.8 MHz...<br /><br />This is not so much of an issue because it's hard to implement something useful in only ~ 300 bytes of code. The 12.8 MHz driver is much bigger than the other modules.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Wed Nov 05, 2008 1:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[apollononnno]]></name></author>
		<updated>2008-11-05T04:23:50+02:00</updated>

		<published>2008-11-05T04:23:50+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1836&amp;p=6589#p6589</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1836&amp;p=6589#p6589"/>
		<title type="html"><![CDATA[About USB2LPT6.]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1836&amp;p=6589#p6589"><![CDATA[
I read it well, but did not come to understand a start. <br /><br />I made a mistake in choice of fuse. <br />I am ATmega168:  SUT[1:0 -10]  You should have chosen CKSEL[3:0-0010]. <br />When I use RC of tn2313 in your sentence and can proofread AVU-USB-HID, I can read, but is the interpretation wrong? <br />Can you let &quot;16.5MHz&quot; or &quot;12.8MHz&quot; act in tn2313-RC when they are possible? <br />I can find it in manual of tn2313, Figure 132 &quot;only to 12MHZ&quot;. <br /><br />I can add one pin, a port of 3pin in total by using inside RC oscillator by assigning reset to Port more. <br />Or I do it whether I connect 16MHz to xtal1 with an outside oscillator and get 2pin.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=1231">apollononnno</a> — Wed Nov 05, 2008 4:23 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[henni]]></name></author>
		<updated>2008-11-04T14:07:32+02:00</updated>

		<published>2008-11-04T14:07:32+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1836&amp;p=6583#p6583</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1836&amp;p=6583#p6583"/>
		<title type="html"><![CDATA[Re: To use RC12.8MHz in mega168?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1836&amp;p=6583#p6583"><![CDATA[
<blockquote><div><cite>apollononnno wrote:</cite>ATtiny2313: SUT[1:0-10] CKSEL[3:0-0100].<br />ATmega168: SUT[1:0-10] CKSEL[3:0-1100].<br />Calibration Byte = 240 &amp;rarr; f = 12.8MHz.<br />How should I use &quot;libs-device&quot; and &quot;usbdrv?&quot;</div></blockquote><br />ATtiny2313: Selects internal 8 MHz RC oscillator with 65 ms start-up time<br />ATmega168: Selects low-power crystal oscillator with 1K clock cycles start-up time<br />That is wrong! For proper 16.8 MHz AVRUSB module, you don't need to change fuse settings, let CKSEL[3:0]=0010 and SUT[1:0]=10.<br />The calibration byte should be tuned by firmware, either after USB RESET (D- not required to route to an INT pin), or permanently (D- required to be routed to an INT pin, less code size). On ATmega168, every pin is interrupt capable, so, if you decide to use the latter version, no change in hardware is necessary.<br />You should use “osccal.h”+“osccal.c” to tune calibration byte after USB RESET, or “osctune.h” to tune permanently.<br />For a working example on ATmega8, see <!-- m --><a class="postlink" href="http://www.tu-chemnitz.de/~heha/bastelecke/Rund%20um%20den%20PC/USB2LPT/usb2lpt.zip">http://www.tu-chemnitz.de/~heha/bastele ... sb2lpt.zip</a><!-- m --> and the directory src/firmware/USB2LPT6 inside.<br /><br />Note that the 16.8 MHz module <strong class="text-strong">does</strong> fit into 2 KB program space of ATtiny2313 if you have good knowledge how to do. See same example for a working HID bootloader.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=1319">henni</a> — Tue Nov 04, 2008 2:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[apollononnno]]></name></author>
		<updated>2008-11-04T13:27:07+02:00</updated>

		<published>2008-11-04T13:27:07+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1836&amp;p=6582#p6582</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1836&amp;p=6582#p6582"/>
		<title type="html"><![CDATA[To use RC12.8MHz in mega168?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1836&amp;p=6582#p6582"><![CDATA[
The setting of ATtiny2313 is next.<br />SUT[1:0-10] CKSEL[3:0-0100].<br />The setting of ATmega168 is next.<br />SUT[1:0-10] CKSEL[3:0-1100].<br />Calibration Byte will become 12.8MHz with a value of the neighborhood of 240(F0).<br />How should I use &quot;libs-device&quot; and &quot;usbdrv?&quot;<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=1231">apollononnno</a> — Tue Nov 04, 2008 1:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[bearing]]></name></author>
		<updated>2008-11-04T06:26:49+02:00</updated>

		<published>2008-11-04T06:26:49+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1836&amp;p=6574#p6574</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1836&amp;p=6574#p6574"/>
		<title type="html"><![CDATA[About RC12.8MHz.]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1836&amp;p=6574#p6574"><![CDATA[
For fuse setting - look in the datasheet for the ATtiny2313. CKSEL[3:0] have to be changed as well as SUT[1:0].<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=1443">bearing</a> — Tue Nov 04, 2008 6:26 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[apollononnno]]></name></author>
		<updated>2008-11-06T12:14:25+02:00 </updated>

		<published>2008-11-03T05:05:04+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1836&amp;p=6567#p6567</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1836&amp;p=6567#p6567"/>
		<title type="html"><![CDATA[There is a device of HID of tn2313.]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1836&amp;p=6567#p6567"><![CDATA[
By the demand of the producer, I deleted URL. <br />The necessary person please search [hidspx].<br /><br />Because this device is tn2313, it is lack in &quot;RC12.8MHZ&quot; and memory of &quot;2 kbytes&quot;. <br />Can you change this in mega48,88,168? <br />What kind of operation is necessary for fuse, proguram to operate this in &quot;RC12.8MHZ?&quot;<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=1231">apollononnno</a> — Mon Nov 03, 2008 5:05 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[bearing]]></name></author>
		<updated>2008-10-31T05:38:26+02:00</updated>

		<published>2008-10-31T05:38:26+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1836&amp;p=6549#p6549</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1836&amp;p=6549#p6549"/>
		<title type="html"><![CDATA[About RC12.8MHz.]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1836&amp;p=6549#p6549"><![CDATA[
I actually tried to see what happened in different temperatures. The code calibrates the frequency by measuring the intervals between marker pulses. When putting a bag of ice on the IC OSCCAL moved from 249 to 250. When putting the IC under a lamp OSCCAL went down to 248.<br /><br />Those were not huge differences. 12.8 MHz will probably work in all temperatures humans tolerate (on 3.3 volts).<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=1443">bearing</a> — Fri Oct 31, 2008 5:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[apollononnno]]></name></author>
		<updated>2008-10-31T05:03:10+02:00</updated>

		<published>2008-10-31T05:03:10+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1836&amp;p=6548#p6548</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1836&amp;p=6548#p6548"/>
		<title type="html"><![CDATA[I thank for a very significant commentary.]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1836&amp;p=6548#p6548"><![CDATA[
I take time and try inspection of the movement.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=1231">apollononnno</a> — Fri Oct 31, 2008 5:03 am</p><hr />
]]></content>
	</entry>
	</feed>
