<?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>LR1110 on nRF52840 board</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/121829/lr1110-on-nrf52840-board</link><description>Hello I have a custom board with LR1110 Lora radio I&amp;#39;m getting errors that driver is not supported when I define the spi1 for it 
 
 lora0: lora @ 0 { 
 compatible = &amp;quot;semtech,lr1110&amp;quot; ; &amp;lt;--Unknown node type &amp;quot;nordic,lr1110&amp;quot; 
 And even though there is the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 30 May 2025 14:06:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/121829/lr1110-on-nrf52840-board" /><item><title>RE: LR1110 on nRF52840 board</title><link>https://devzone.nordicsemi.com/thread/537535?ContentTypeID=1</link><pubDate>Fri, 30 May 2025 14:06:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b81ee205-cfb2-48c4-a2cd-efa2b554dfe4</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Thanks for the clarifications.&lt;/p&gt;
&lt;p&gt;Yes, I agree with your first first impression: While there are lr1110 source code to be found in the SDK, this is not linked up against any Zephyr driver, and you can therefore not use it like you try to.&lt;/p&gt;
&lt;p&gt;Instead, you would have to add the driver in a Zephyr way. See DevAcademy on&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-7-device-driver-dev/"&gt;Lesson 7 – Device driver development&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LR1110 on nRF52840 board</title><link>https://devzone.nordicsemi.com/thread/537378?ContentTypeID=1</link><pubDate>Wed, 28 May 2025 13:31:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ccfdade-3b51-47ee-84c5-7f79acfb946d</guid><dc:creator>AndyM</dc:creator><description>&lt;p&gt;Sorry didn&amp;#39;t make myself clear&lt;br /&gt;This is what I&amp;#39;m referring to&lt;br /&gt;&lt;img style="max-height:219px;max-width:219px;" alt=" " height="219" src="https://devzone.nordicsemi.com/resized-image/__size/438x438/__key/communityserver-discussions-components-files/4/pastedimage1748439069577v1.png" width="219" /&gt;&lt;/p&gt;
&lt;p&gt;Here are the errors I get in the bulid&lt;br /&gt;I do have CONFIG_LORA=y&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_SPI&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_SPI_NRFX&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_SPI&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;in the prj.conf&amp;nbsp;&lt;br /&gt;&lt;br /&gt; No SOURCES given to Zephyr library: loramac-node&lt;/p&gt;
&lt;p&gt;Excluding target from build.&lt;br /&gt;-&amp;nbsp;zephyr/drivers/spi/CMakeFiles/drivers__spi.dir/spi_nrfx_spim.c.obj -c C:/ncs/v2.6.2/zephyr/drivers/spi/spi_nrfx_spim.c&lt;br /&gt;In file included from C:/ncs/v2.6.2/zephyr/include/zephyr/toolchain.h:50,&lt;br /&gt; from C:/ncs/v2.6.2/zephyr/include/zephyr/sys/util.h:18,&lt;br /&gt; from C:/ncs/v2.6.2/zephyr/include/zephyr/devicetree.h:26,&lt;br /&gt; from C:/ncs/v2.6.2/zephyr/include/zephyr/device.h:12,&lt;br /&gt; from C:/ncs/v2.6.2/zephyr/include/zephyr/drivers/spi.h:24,&lt;br /&gt; from C:/ncs/v2.6.2/zephyr/drivers/spi/spi_nrfx_spim.c:7:&lt;br /&gt;C:/ncs/v2.6.2/zephyr/include/zephyr/toolchain/gcc.h:87:36: error: static assertion failed: &amp;quot;/soc/spi@40003000 defined without sleep state&amp;quot;&lt;br /&gt; 87 | #define BUILD_ASSERT(EXPR, MSG...) _Static_assert(EXPR, &amp;quot;&amp;quot; MSG)&lt;br /&gt; | ^~~~~~~~~~~~~~&lt;br /&gt;c:\ncs\v2.6.2\zephyr\soc\arm\nordic_nrf\common\soc_nrf_common.h:235:9: note: in expansion of macro &amp;#39;BUILD_ASSERT&amp;#39;&lt;br /&gt; 235 | BUILD_ASSERT(!IS_ENABLED(CONFIG_PM_DEVICE) || \&lt;br /&gt; | ^~~~~~~~~~~~&lt;br /&gt;C:/ncs/v2.6.2/zephyr/drivers/spi/spi_nrfx_spim.c:625:9: note: in expansion of macro &amp;#39;NRF_DT_CHECK_NODE_HAS_PINCTRL_SLEEP&amp;#39;&lt;br /&gt; 625 | NRF_DT_CHECK_NODE_HAS_PINCTRL_SLEEP(SPIM(idx)); \&lt;br /&gt; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;br /&gt;C:/ncs/v2.6.2/zephyr/drivers/spi/spi_nrfx_spim.c:692:1: note: in expansion of macro &amp;#39;SPI_NRFX_SPIM_DEFINE&amp;#39;&lt;br /&gt; 692 | SPI_NRFX_SPIM_DEFINE(0);&lt;br /&gt; | ^~~~~~~~~~~~~~~~~~~~&lt;br /&gt;[218/960] Building C object modules/nrf/subsys/bluetooth/controller/CMakeFiles/..__nrf__subsys__bluetooth__controller.dir/hci_driver.c.obj&lt;br /&gt;ninja: build stopped: subcommand failed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LR1110 on nRF52840 board</title><link>https://devzone.nordicsemi.com/thread/537377?ContentTypeID=1</link><pubDate>Wed, 28 May 2025 13:26:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:861f7446-d2f4-4e5a-8d8d-85405c3bd87b</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;When you say &amp;quot;cannot be selected&amp;quot;, can you share the build logs with the error saying this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LR1110 on nRF52840 board</title><link>https://devzone.nordicsemi.com/thread/537372?ContentTypeID=1</link><pubDate>Wed, 28 May 2025 13:14:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8af6dbca-668d-4b3a-ae75-fda38676f5c5</guid><dc:creator>AndyM</dc:creator><description>&lt;p&gt;Sigurd&lt;/p&gt;
&lt;p&gt;I have the same set of files&amp;nbsp; - see below screenshot&lt;/p&gt;
&lt;p&gt;The problem is that I cannot select &amp;quot;semtech,lr1110&amp;quot; in the &amp;quot;compatible&amp;quot; section when I define the lora0 dts node&lt;br /&gt;The following semtech devices can be selected: sx1272,sx1261,sx1276 but there is no lr1110&lt;br /&gt;How do I get around that?&lt;/p&gt;
&lt;p&gt;Rajeev,&lt;/p&gt;
&lt;p&gt;The &lt;span&gt;SWDR006&amp;nbsp;&amp;nbsp;&lt;/span&gt;driver also does not exist in the SDK, so could you please clarify your instructions&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:42px;max-width:69px;" height="42" src="https://devzone.nordicsemi.com/resized-image/__size/138x84/__key/communityserver-discussions-components-files/4/pastedimage1748437276965v1.png" width="69" alt=" " /&gt;&lt;br /&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LR1110 on nRF52840 board</title><link>https://devzone.nordicsemi.com/thread/537365?ContentTypeID=1</link><pubDate>Wed, 28 May 2025 12:52:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:263df381-20e7-41b8-bada-7b21cabecdf6</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi Andy,&lt;/p&gt;
[quote user=""]there is no driver code there[/quote]
&lt;p&gt;I can see driver code for my SDK install:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1748436722530v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Maybe something went wrong in the installation? &lt;/p&gt;
&lt;p&gt;Try to run &amp;quot;west update&amp;quot; again, and check the folder again.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LR1110 on nRF52840 board</title><link>https://devzone.nordicsemi.com/thread/537326?ContentTypeID=1</link><pubDate>Wed, 28 May 2025 09:01:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3193cc8-2968-4e52-afcc-1f281cd7eee3</guid><dc:creator>Rajeev K R</dc:creator><description>&lt;p&gt;I hope this helps: &lt;a id="" href="https://github.com/Lora-net/SWDR006"&gt;https://github.com/Lora-net/SWDR006&lt;/a&gt;. I don&amp;#39;t see a direct support &lt;a href="https://github.com/zephyrproject-rtos/zephyr/blob/d718b46ddb84b07bcc138c1c33ede164bf49cb15/drivers/lora/sx126x_standalone.c"&gt;here&lt;/a&gt; and also in &lt;a href="https://github.com/zephyrproject-rtos/zephyr/blob/main/modules/loramac-node/CMakeLists.txt"&gt;Cmake&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="bat"&gt;if(${CONFIG_HAS_SEMTECH_RADIO_DRIVERS})

set(ZEPHYR_CURRENT_LIBRARY loramac-node)

zephyr_library_include_directories(
  ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/boards
  ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/system
  ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/radio
)

zephyr_library_sources(
  ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/boards/mcu/utilities.c
  ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/system/systime.c
  ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/system/timer.c
  ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/system/delay.c
)

zephyr_library_sources_ifdef(CONFIG_HAS_SEMTECH_SX1272
  ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/radio/sx1272/sx1272.c
)
zephyr_library_sources_ifdef(CONFIG_HAS_SEMTECH_SX1276
  ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/radio/sx1276/sx1276.c
)
zephyr_library_sources_ifdef(CONFIG_HAS_SEMTECH_SX126X
  ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/radio/sx126x/sx126x.c
  ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/radio/sx126x/radio.c
)

if(${CONFIG_HAS_SEMTECH_LORAMAC})
  zephyr_library_include_directories(
    ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/mac
    ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/mac/region
    # required for FUOTA FragDecoder.h
    ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/apps/LoRaMac/common/LmHandler/packages
  )
endif()

zephyr_library_compile_definitions_ifdef(CONFIG_HAS_SEMTECH_SOFT_SE SOFT_SE)

zephyr_library_sources_ifdef(CONFIG_HAS_SEMTECH_SOFT_SE
  ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/peripherals/soft-se/aes.c
  ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/peripherals/soft-se/cmac.c
  ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/peripherals/soft-se/soft-se.c
  ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/peripherals/soft-se/soft-se-hal.c
)

zephyr_library_sources_ifdef(CONFIG_HAS_SEMTECH_LORAMAC
  ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/mac/LoRaMac.c
  ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/mac/LoRaMacAdr.c
  ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/mac/LoRaMacClassB.c
  ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/mac/LoRaMacCommands.c
  ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/mac/LoRaMacConfirmQueue.c
  ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/mac/LoRaMacCrypto.c
  ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/mac/LoRaMacParser.c
  ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/mac/LoRaMacSerializer.c
)

zephyr_library_sources_ifdef(CONFIG_LORAWAN_FRAG_TRANSPORT_DECODER_SEMTECH
  ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/apps/LoRaMac/common/LmHandler/packages/FragDecoder.c
)

zephyr_library_sources_ifdef(CONFIG_HAS_SEMTECH_LORAMAC
  ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/mac/region/Region.c
  ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/mac/region/RegionCommon.c
)
zephyr_library_sources_ifdef(CONFIG_LORAMAC_REGION_EU868
  ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/mac/region/RegionEU868.c
)
zephyr_library_sources_ifdef(CONFIG_LORAMAC_REGION_US915
  ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/mac/region/RegionBaseUS.c
  ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/mac/region/RegionUS915.c
)
zephyr_library_sources_ifdef(CONFIG_LORAMAC_REGION_CN779
  ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/mac/region/RegionCN779.c
)
zephyr_library_sources_ifdef(CONFIG_LORAMAC_REGION_EU433
  ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/mac/region/RegionEU433.c
)
zephyr_library_sources_ifdef(CONFIG_LORAMAC_REGION_AU915
  ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/mac/region/RegionBaseUS.c
  ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/mac/region/RegionAU915.c
)
zephyr_library_sources_ifdef(CONFIG_LORAMAC_REGION_AS923
  ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/mac/region/RegionAS923.c
)
zephyr_library_sources_ifdef(CONFIG_LORAMAC_REGION_CN470
  ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/mac/region/RegionBaseUS.c
  ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/mac/region/RegionCN470.c
  ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/mac/region/RegionCN470A20.c
  ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/mac/region/RegionCN470A26.c
  ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/mac/region/RegionCN470B20.c
  ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/mac/region/RegionCN470B26.c
)
zephyr_library_sources_ifdef(CONFIG_LORAMAC_REGION_KR920
  ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/mac/region/RegionKR920.c
)
zephyr_library_sources_ifdef(CONFIG_LORAMAC_REGION_IN865
  ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/mac/region/RegionIN865.c
)
zephyr_library_sources_ifdef(CONFIG_LORAMAC_REGION_RU864
  ${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/mac/region/RegionRU864.c
)

endif()
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>