<?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=8&amp;t=22127&amp;mode" />

<title>ATNEL tech-forum</title>
<link href="https://forum.atnel.pl/index.php" />
<updated>2019-08-15T09:36:16+01:00</updated>

<author><name><![CDATA[ATNEL tech-forum]]></name></author>
<id>https://forum.atnel.pl/feed.php?f=8&amp;t=22127&amp;mode</id>
<entry>
<author><name><![CDATA[radek3035]]></name></author>
<updated>2019-08-15T09:36:16+01:00</updated>
<published>2019-08-15T09:36:16+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=22127&amp;p=221287#p221287</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=22127&amp;p=221287#p221287"/>
<title type="html"><![CDATA[Re: RDA5807M]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=22127&amp;p=221287#p221287"><![CDATA[
Nie wiem czy poprawną konfigurację bitów masz w tablicy żeby je zainicjować ale powinno być na pewno:<br />[syntax=c]TWI_write_buf(0x22, 2, 12, bufor);[/syntax]<br />Najpierw adres Slave register addres 0x22 potem adres rejestru który chcesz zapisac a potem dwa bity danych zaczynając od MSB<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=14189">radek3035</a> — 15 sie 2019, o 09:36</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[mczarny]]></name></author>
<updated>2019-03-30T19:47:11+01:00</updated>
<published>2019-03-30T19:47:11+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=22127&amp;p=217819#p217819</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=22127&amp;p=217819#p217819"/>
<title type="html"><![CDATA[Re: RDA5807M]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=22127&amp;p=217819#p217819"><![CDATA[
Kawałek schematu mógłbyś pokazać to po pierwsze.<br />Jaki adres I2C masz w programie?<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=4651">mczarny</a> — 30 mar 2019, o 19:47</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[BARVX]]></name></author>
<updated>2019-03-30T17:59:38+01:00</updated>
<published>2019-03-30T17:59:38+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=22127&amp;p=217818#p217818</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=22127&amp;p=217818#p217818"/>
<title type="html"><![CDATA[RDA5807M]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=22127&amp;p=217818#p217818"><![CDATA[
Mam problem z uruchomieniem modułu Rda5807, napisałem taki program<br />[syntax=c]#include &lt;avr/io.h&gt;<br />#include &lt;util/delay.h&gt;<br />#include &lt;avr/interrupt.h&gt;<br /><br /><br />#include &quot;I2C_TWI/i2c_twi.h&quot;<br /><br /><br />int main(void)<br />{<br /><br />uint8_t bufor&#91;12&#93;;<br /><br />i2cSetBitrate(100);<br /><br />//02H<br />bufor&#91;0&#93; = 0b11000000;<br />bufor&#91;1&#93; = 0b00000011;<br /><br />//03H<br />bufor&#91;2&#93; = 0b00011000;    //CHAN = frequ * 10 - 870<br />bufor&#91;3&#93; = 0b11000000;<br /><br />//04H<br />bufor&#91;4&#93; = 0b00001010;<br />bufor&#91;5&#93; = 0b00000000;<br /><br />//05H<br />bufor&#91;6&#93; = 0b10001000;<br />bufor&#91;7&#93; = 0b00001111;<br /><br />//06H<br />bufor&#91;8&#93; = 0b00000000;<br />bufor&#91;9&#93; = 0b00000000;<br /><br />//07H<br />bufor&#91;10&#93; = 0b01000010;<br />bufor&#91;11&#93; = 0b00000010;<br /><br /><br />TWI_write_buf(0x10, 2, 12, bufor);<br /><br /><br />//sei();<br /><br />while(1)<br />{<br /><br />}<br />}[/syntax]<br /><br />który sprawdza czy odbiera jedna stacja. Niestety po wgraniu programu nic nie słychać nawet nie ma szumu.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=15944">BARVX</a> — 30 mar 2019, o 17:59</p><hr />
]]></content>
</entry>
</feed>