<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>How to configure Lora as TCXO in Sidewalk</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/119018/how-to-configure-lora-as-tcxo-in-sidewalk</link><description>Hi all, 
 In Sidewalk, the Lora we are using is connected to DIO3 through TCXO, which does not match the XTAL of sx1262 recommended by the official sid_end_device demo. Do you have any suggestions?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 20 Feb 2025 16:24:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/119018/how-to-configure-lora-as-tcxo-in-sidewalk" /><item><title>RE: How to configure Lora as TCXO in Sidewalk</title><link>https://devzone.nordicsemi.com/thread/523947?ContentTypeID=1</link><pubDate>Thu, 20 Feb 2025 16:24:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4f7e49c-c585-4de6-a4e5-7e344838ee9f</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user="666"]Are you saying that the Lora driver for Sidewalk also uses the same Lora driver from Zephyr?[/quote]
&lt;p&gt;Sidewalk is not using the LoRa driver from Zephyr. Sorry for the confusion caused by pointing to the Zephyr driver. However, the Sidewalk driver behaves similarly to the Zephyr driver when it comes to DI02. &lt;a href="https://github.com/Lora-net/SWSD006/blob/v2.6.1/lib/sid_pal_sx126x/sx126x_radio.c#L1319"&gt;See the details here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The RF switch is controlled via a GPIO pin. &lt;a href="https://github.com/Lora-net/SWSD006/blob/4b56dff46ef42a8c2498eb5ae4a7eb7c44cb98be/lib/sid_pal_sx126x/sx126x_radio.c#L89"&gt;See this part &lt;/a&gt;of the driver implementation, and&lt;a href="https://github.com/nrfconnect/sdk-sidewalk/blob/899d3aa5387b86fd4f5c81fde49124097bc59a67/subsys/sal/sid_pal/src/sid_gpio.c#L79"&gt; this part sets &lt;/a&gt;the GPIO direction. The antenna switch diagram you shared looks correct.&lt;/p&gt;
[quote user="666"]In this case, when I run Sidewalk, can I configure CONFIG_LORA_LOG_LEVEL=4 to debug the running status of Lora in Sidewalk？[/quote]
&lt;p&gt;It&amp;#39;s not possible to use Zephyr LoRa driver logs with Sidewalk. However, it is possible to get more control over Semtech by using&lt;a href="https://github.com/nrfconnect/sdk-sidewalk/blob/714d2267e8dafd8dfc68d3e1932926e141850517/Kconfig#L174"&gt; &lt;code&gt;SIDEWALK_PAL_RADIO_SOURCE&lt;/code&gt;&lt;/a&gt;. You can enable this configuration, but you will need to add the Semtech sources from the &lt;a href="https://github.com/Lora-net/SWSD006/tree/v2.6.1"&gt;Semtech addon&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configure Lora as TCXO in Sidewalk</title><link>https://devzone.nordicsemi.com/thread/523795?ContentTypeID=1</link><pubDate>Thu, 20 Feb 2025 02:09:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a4afb2e-5b7f-497b-a312-c7b4f060167c</guid><dc:creator>666</dc:creator><description>&lt;p&gt;Hi ,&lt;/p&gt;
[quote userid="115767" url="~/f/nordic-q-a/119018/how-to-configure-lora-as-tcxo-in-sidewalk/523722"]If you look into the LoRA driver, you will see that&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/80cc5318ea91317d25fdeffb70e59507d68a1966/drivers/lora/sx126x.c#L343"&gt; &lt;code&gt;SX126xIoRfSwitchInit()&lt;/code&gt;&lt;/a&gt; does indeed configure DIO2 to control the RF switch, specifically setting it up for TX enable mode[/quote]
&lt;p&gt;Are you saying that the Lora driver for Sidewalk also uses the same Lora driver from Zephyr? In this case, when I run Sidewalk, can I configure CONFIG_LORA_LOG_LEVEL=4 to debug the running status of Lora in Sidewalk？&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configure Lora as TCXO in Sidewalk</title><link>https://devzone.nordicsemi.com/thread/523722?ContentTypeID=1</link><pubDate>Wed, 19 Feb 2025 13:39:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3313b695-51a5-4d5d-bbca-c290ec2e8ede</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;If you look into the LoRA driver, you will see that&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/80cc5318ea91317d25fdeffb70e59507d68a1966/drivers/lora/sx126x.c#L343"&gt; &lt;code&gt;SX126xIoRfSwitchInit()&lt;/code&gt;&lt;/a&gt; does indeed configure DIO2 to control the RF switch, specifically setting it up for TX enable mode. Take a look at this old &lt;a href="https://devzone.nordicsemi.com/support-private/support/321219"&gt;DevZone case &lt;/a&gt;and also refer to the section on &lt;a href="https://docs.nordicsemi.com/bundle/sidewalk_latest/page/setting_up_sidewalk_environment/setting_up_hardware.html"&gt;setting up the hardware.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configure Lora as TCXO in Sidewalk</title><link>https://devzone.nordicsemi.com/thread/523404?ContentTypeID=1</link><pubDate>Tue, 18 Feb 2025 07:38:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7305be1-1c43-454d-8a10-5d7d624b97ca</guid><dc:creator>666</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I also want to ask, in the Lora driver of Sidewalk, is ANT_SW pulled up and the lora driver controls the RF transmission and reception through DIO2?&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1739864290327v1.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configure Lora as TCXO in Sidewalk</title><link>https://devzone.nordicsemi.com/thread/523396?ContentTypeID=1</link><pubDate>Tue, 18 Feb 2025 07:10:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36a71b59-207b-439c-98df-6610a4612d21</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;We haven&amp;#39;t tested it, so all we can suggest is that if your configuration works well, using it might not be an issue. If you wish, you can send us the configuration code(in zip or via Git) for the Nordic DK with the SX126 shield, and we will review it.&lt;/p&gt;
&lt;p&gt;You might find a &lt;a href="https://github.com/RAKWireless/RAK4630-Amazon-Sidewalk-Example/blob/main/patches/west-sidewalk/sidewalk/0001-sidewalk-rak4631-tcxo-settings.patch"&gt;similar implementation on the RAK board&lt;/a&gt;. Therefore, we recommend testing it yourself to see if this design causes any issues. Please let us know the results.&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;br /&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>