<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="pl-pl">
<link rel="self" type="application/atom+xml" href="https://forum.atnel.pl/feed.php?f=30&amp;t=22193&amp;mode" />

<title>ATNEL tech-forum</title>
<link href="https://forum.atnel.pl/index.php" />
<updated>2019-04-27T07:40:17+01:00</updated>

<author><name><![CDATA[ATNEL tech-forum]]></name></author>
<id>https://forum.atnel.pl/feed.php?f=30&amp;t=22193&amp;mode</id>
<entry>
<author><name><![CDATA[Slawek]]></name></author>
<updated>2019-04-27T07:40:17+01:00</updated>
<published>2019-04-27T07:40:17+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=22193&amp;p=218490#p218490</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=22193&amp;p=218490#p218490"/>
<title type="html"><![CDATA[Re: AVR AtMega8 przełączenie pinu z wejscie na wyjście]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=22193&amp;p=218490#p218490"><![CDATA[
czyli chodzi tylko o takie ograniczenie wynikające z instrukcji a nie ograniczeń na jakiś wewnętrznych przerzutnikach portów?<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=69">Slawek</a> — 27 kwi 2019, o 07:40</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Daro69]]></name></author>
<updated>2019-04-27T00:18:26+01:00</updated>
<published>2019-04-27T00:18:26+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=22193&amp;p=218488#p218488</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=22193&amp;p=218488#p218488"/>
<title type="html"><![CDATA[Re: AVR AtMega8 przełączenie pinu z wejscie na wyjście]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=22193&amp;p=218488#p218488"><![CDATA[
@Slawek,<br />To jest tak informacyjnie.<br />bitem PUD w rejestrze SFIOR, można zablokować możliwość stosowania pull-up'a dla wszystkich pinów(wejść).<br />jeżeli nie jest wlączona blokada, to zmieniając pin z wartości<br />wejście bez pull-up. &quot;DDRx ......=0&quot; &quot;PORTx.......=0&quot; (stan wysokiej impedancji).<br />na wartość <br />wyjście stan wysoki. &quot;DDRx.......=1&quot; &quot;PORTx.......=1&quot;<br />musimy uzyskać jeden ze stanów pośrednich.<br />albo <br />&quot;DDRx......=1&quot; &quot;PORTx.......=0&quot;<br />albo<br />&quot;DDRx......=0&quot; &quot;PORTx.......=1&quot;.<br />tak samo przy zmianie z <br />DDR..0, PORT..1<br />na<br />DDR..1, PORT..0<br /><br />bo możemy pojedynczą komendą albo najpierw zmienić DDR..; na przeciwny albo PORT..;<br />nie mamy rejestru zmieniającego oba bity jednocześnie.<br />czyli logiczne, ale opisane.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=11549">Daro69</a> — 27 kwi 2019, o 00:18</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Slawek]]></name></author>
<updated>2019-04-26T19:40:08+01:00</updated>
<published>2019-04-26T19:40:08+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=22193&amp;p=218484#p218484</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=22193&amp;p=218484#p218484"/>
<title type="html"><![CDATA[Re: AVR AtMega8 przełączenie pinu z wejscie na wyjście]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=22193&amp;p=218484#p218484"><![CDATA[
1 Wire to był przykład, że na jednym pinie zmieniamy raz wejście raz wyjście.<br />Pytanie dotyczy tego zapisu z noty nie 1 wire i podciągania.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=69">Slawek</a> — 26 kwi 2019, o 19:40</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[mirekk36]]></name></author>
<updated>2019-04-26T11:52:53+01:00</updated>
<published>2019-04-26T11:52:53+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=22193&amp;p=218471#p218471</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=22193&amp;p=218471#p218471"/>
<title type="html"><![CDATA[Re: AVR AtMega8 przełączenie pinu z wejscie na wyjście]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=22193&amp;p=218471#p218471"><![CDATA[
A co ma być za problem skoro przy 1wire stosuje się zewnętrzne silne podciąganie do VCC<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=54">mirekk36</a> — 26 kwi 2019, o 11:52</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Slawek]]></name></author>
<updated>2019-04-26T11:14:55+01:00</updated>
<published>2019-04-26T11:14:55+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=22193&amp;p=218470#p218470</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=22193&amp;p=218470#p218470"/>
<title type="html"><![CDATA[AVR AtMega8 przełączenie pinu z wejscie na wyjście]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=22193&amp;p=218470#p218470"><![CDATA[
Cześć.<br />Jak do tej pory nie zwróciłem na to szczególnej uwagi, aż do teraz i zaciekawiło mnie to.<br />Może mi ktoś wytłumaczyć taki zapis z noty:<br /><br /><div class="quotetitle"><b>Quote:</b></div><div class="quotecontent"><br />When switching between tri-state ({DDxn, PORTxn} = 0b00) and output high ({DDxn, PORTxn}<br />= 0b11), an intermediate state with either pull-up enabled ({DDxn, PORTxn} = 0b01) or output<br />low ({DDxn, PORTxn} = 0b10) must occur. Normally, the pull-up enabled state is fully acceptable,<br />as a high-impedant environment will not notice the difference between a strong high driver<br />and a pull-up. If this is not the case, the PUD bit in the SFIOR Register can be set to disable all<br />pull-ups in all ports.<br />Switching between input with pull-up and output low generates the same problem. The user<br />must use either the tri-state ({DDxn, PORTxn} = 0b00) or the output high state ({DDxn, PORTxn}<br />= 0b11) as an intermediate step.<br /></div><br /><br /><br /><br />Nie chodzi mi oczywiście za translacji z angielskiego tylko na tym w czym tu jest dokładnie problem ze sprzętem tj. uC.<br />Nie zauważyłem, aby kto ktoś jakieś pośrednie kroki stosował np przy 1-Wire.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=69">Slawek</a> — 26 kwi 2019, o 11:14</p><hr />
]]></content>
</entry>
</feed>