<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.E-MailFormatvorlage18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style></head><body lang=DE-CH link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=DE style='mso-fareast-language:EN-US'>Hi Tomas<o:p></o:p></span></p><p class=MsoNormal><span lang=DE style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>I was wondering why your gateway used RF_CH = 76 as default.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>SCC.Mod does not know nor care whether you use 802.11 WiFi in parallel.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>If there is WiFi in your area, RF_CH = 5 will interfere with WiFi channel 1.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>To not interfere with WiFi you should set your RF_CH frequency to something higher to be beyond the WiFi spectrum.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>In the US, RF_CH=76 is a good choice as it is beyond Wifi channel 11.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>In Europe, it is possible to use up to Wifi channel 13, so RF_CH >= 85 would be a good choice.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>If you want SCC.Mod not to interfere with WiFi, you should set your switches so that n DIV 4 MOD 10H * 10 + 5 >= 85.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>br<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>Jörg<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:12.0pt;color:black'>Von: </span></b><span style='font-size:12.0pt;color:black'>Jörg Straube <joerg.straube@iaeth.ch><br><b>Datum: </b>Samstag, 7. April 2018 um 00:44<br><b>An: </b>ETH Oberon and related systems <oberon@lists.inf.ethz.ch><br><b>Betreff: </b>Re: [Oberon] FPGA - nRF24L01 connection<o:p></o:p></span></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal><a name="_MailOriginalBody">Hi Tomas<o:p></o:p></a></p><div><p class=MsoNormal><span style='mso-bookmark:_MailOriginalBody'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='mso-bookmark:_MailOriginalBody'>You sure find out whats wrong, after you read<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='mso-bookmark:_MailOriginalBody'>1) the nRF’s data sheet<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='mso-bookmark:_MailOriginalBody'></span><a href="http://www.nordicsemi.com/eng/nordic/content_download/2726/34069/file/nRF24L01P_Product_Specification_1_0.pdf"><span style='mso-bookmark:_MailOriginalBody'>http://www.nordicsemi.com/eng/nordic/content_download/2726/34069/file/nRF24L01P_Product_Specification_1_0.pdf</span><span style='mso-bookmark:_MailOriginalBody'></span></a><span style='mso-bookmark:_MailOriginalBody'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='mso-bookmark:_MailOriginalBody'>2) understand what parameters SCC.Start sets to initialize the chip<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='mso-bookmark:_MailOriginalBody'>3) carefully compare these values with the chip initialization your gateway does.<o:p></o:p></span></p><div><p class=MsoNormal><span style='mso-bookmark:_MailOriginalBody'><o:p> </o:p></span></p><div><div><p class=MsoNormal><span style='mso-bookmark:_MailOriginalBody'>Jörg<o:p></o:p></span></p></div></div><div><p class=MsoNormal style='margin-bottom:12.0pt'><span style='mso-bookmark:_MailOriginalBody'><br>Am 06.04.2018 um 20:22 schrieb Tomas Kral <</span><a href="mailto:thomas.kral@email.cz"><span style='mso-bookmark:_MailOriginalBody'>thomas.kral@email.cz</span><span style='mso-bookmark:_MailOriginalBody'></span></a><span style='mso-bookmark:_MailOriginalBody'>>:<o:p></o:p></span></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal><span style='mso-bookmark:_MailOriginalBody'>On Fri, 6 Apr 2018 14:47:20 +0200<br>Jörg <</span><a href="mailto:joerg.straube@iaeth.ch"><span style='mso-bookmark:_MailOriginalBody'>joerg.straube@iaeth.ch</span><span style='mso-bookmark:_MailOriginalBody'></span></a><span style='mso-bookmark:_MailOriginalBody'>> wrote:<br><br><br><o:p></o:p></span></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal><span style='mso-bookmark:_MailOriginalBody'>SCC.Start<o:p></o:p></span></p></blockquote><p class=MsoNormal><span style='mso-bookmark:_MailOriginalBody'>Yes, I see, With my current SW setting I got channel `5'.<br>I changed RF_CH from 76 (default) to 5 and recompiled the gateway.<br>These parameters are now reported.<br><br>================ NRF Configuration ================<br>STATUS = 0x0e RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=7<br>TX_FULL=0 RX_ADDR_P0-1 = 0xa8a8e1fc00 0xa8a8e1fc00<br>RX_ADDR_P2-5 = 0xff 0xc4 0xc5 0xc6<br>TX_ADDR = 0xe7e7e7e7e7<br>RX_PW_P0-6 = 0x20 0x20 0x20 0x00 0x00 0x00<br>EN_AA = 0x3b<br>EN_RXADDR = 0x06<br>RF_CH = 0x05<br>RF_SETUP = 0x23<br>CONFIG = 0x0e<br>DYNPD/FEATURE = 0x3f 0x06<br>Data Rate = 250KBPS<br>Model = nRF24L01+<br>CRC Length = 16 bits<br>PA Power = PA_LOW<br><br>I wonder what other parameters I need to change to match Oberon SCC.Mod?<br><br>Many thanks<br><br>-- <br>Tomas Kral <</span><a href="mailto:thomas.kral@email.cz"><span style='mso-bookmark:_MailOriginalBody'>thomas.kral@email.cz</span><span style='mso-bookmark:_MailOriginalBody'></span></a><span style='mso-bookmark:_MailOriginalBody'>><br>--<br></span><a href="mailto:Oberon@lists.inf.ethz.ch"><span style='mso-bookmark:_MailOriginalBody'>Oberon@lists.inf.ethz.ch</span><span style='mso-bookmark:_MailOriginalBody'></span></a><span style='mso-bookmark:_MailOriginalBody'> mailing list for ETH Oberon and related systems<br></span><a href="https://lists.inf.ethz.ch/mailman/listinfo/oberon"><span style='mso-bookmark:_MailOriginalBody'>https://lists.inf.ethz.ch/mailman/listinfo/oberon</span><span style='mso-bookmark:_MailOriginalBody'></span></a><span style='mso-bookmark:_MailOriginalBody'><o:p></o:p></span></p></div></blockquote></div></div></div></body></html>